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