]> git.saurik.com Git - apple/system_cmds.git/blame - arch.tproj/Makefile
system_cmds-541.tar.gz
[apple/system_cmds.git] / arch.tproj / Makefile
CommitLineData
916eb79e
A
1Project = arch
2Install_Dir = /usr/bin
1815bff5 3
34d340d7 4MFILES = arch.m
916eb79e 5Extra_Frameworks = -framework Foundation
1815bff5 6
916eb79e 7MANPAGES = arch.1 machine.1
1815bff5 8
8459d725 9Extra_CC_Flags = -Wall -Werror
ef8ad44b
A
10Extra_LD_Flags = -dead_strip
11
12Extra_CC_Flags += -DARCH_PROG=\"arch\" -DMACHINE_PROG=\"machine\"
1815bff5 13
916eb79e 14include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
1815bff5 15
916eb79e
A
16HELPERDIR = /AppleInternal/Developer/Tools
17after_install:
18 @-$(RM) -f $(DSTROOT)$(INSTALLDIR)/machine
ef8ad44b 19 $(LN) -fh $(DSTROOT)$(Install_Dir)/arch $(DSTROOT)$(Install_Dir)/machine
916eb79e
A
20 $(INSTALL_DIRECTORY) -d $(DSTROOT)$(HELPERDIR)
21 $(INSTALL_SCRIPT) arch_helper.pl $(DSTROOT)$(HELPERDIR)