]> git.saurik.com Git - apple/system_cmds.git/blob - sadc.tproj/Makefile
system_cmds-541.tar.gz
[apple/system_cmds.git] / sadc.tproj / Makefile
1 Project = sadc
2 Install_Dir = /usr/lib/sa
3
4 HFILES = sadc.h
5 CFILES = sadc.c
6 MANPAGES = sa1.8 sa2.8 sadc.8
7
8 OTHERSRCS = Makefile.preamble Makefile Makefile.postamble sa1.8 sa1.sh\
9 sa2.8 sa2.sh sadc.8
10
11 Extra_CC_Flags = -Wall -Werror
12 Extra_LD_Flags = -dead_strip
13
14 Extra_CC_Flags += -I.
15 Extra_Frameworks = -framework CoreFoundation -framework IOKit
16
17 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
18
19 Install_Program_Mode = 04555
20
21 after_install:
22 $(INSTALL_DIRECTORY) $(DSTROOT)/private/var/log/sa
23 $(INSTALL_DIRECTORY) $(DSTROOT)/$(Install_Dir)
24 $(INSTALL_FILE) sa1.sh $(DSTROOT)$(Install_Dir)/sa1
25 $(CHMOD) 0555 $(DSTROOT)$(Install_Dir)/sa1
26 $(INSTALL_FILE) sa2.sh $(DSTROOT)$(Install_Dir)/sa2
27 $(CHMOD) 0555 $(DSTROOT)$(Install_Dir)/sa2