]> git.saurik.com Git - apple/system_cmds.git/blobdiff - arch.tproj/Makefile
system_cmds-496.tar.gz
[apple/system_cmds.git] / arch.tproj / Makefile
index c490a16e887beb71b8378e41cc1dbaa7b93aa957..7b0f0ea4c13fb07c8a06bd5aa8b45803c8c69c79 100644 (file)
@@ -1,53 +1,21 @@
-#
-# Generated by the NeXT Project Builder.
-#
-# NOTE: Do NOT change this file -- Project Builder maintains it.
-#
-# Put all of your customizations in files called Makefile.preamble
-# and Makefile.postamble (both optional), and Makefile will include them.
-#
+Project = arch
+Install_Dir = /usr/bin
 
-NAME = arch
+MFILES = arch.m
+Extra_Frameworks = -framework Foundation
 
-PROJECTVERSION = 2.8
-PROJECT_TYPE = Tool
+MANPAGES = arch.1 machine.1
 
-CFILES = arch.c
+Extra_CC_Flags = -Wall -Werror -mdynamic-no-pic
+Extra_LD_Flags = -dead_strip
 
-OTHERSRCS = Makefile PB.project Makefile.postamble arch.1 machine.1
+Extra_CC_Flags += -DARCH_PROG=\"arch\" -DMACHINE_PROG=\"machine\"
 
+include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
 
-MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles
-CODE_GEN_STYLE = DYNAMIC
-MAKEFILE = tool.make
-NEXTSTEP_INSTALLDIR = /usr/bin
-WINDOWS_INSTALLDIR = /usr/bin
-PDO_UNIX_INSTALLDIR = /usr/bin
-LIBS = 
-DEBUG_LIBS = $(LIBS)
-PROF_LIBS = $(LIBS)
-
-
-NEXTSTEP_PB_CFLAGS = -DARCH_PROG=\"arch\" -DMACHINE_PROG=\"machine\"
-WINDOWS_PB_CFLAGS = -DARCH_PROG=\"arch\" -DMACHINE_PROG=\"machine\"
-PDO_UNIX_PB_CFLAGS = -DARCH_PROG=\"arch\" -DMACHINE_PROG=\"machine\"
-
-
-NEXTSTEP_BUILD_OUTPUT_DIR = /tmp/$(USER)/BUILD
-
-NEXTSTEP_OBJCPLUS_COMPILER = /usr/bin/cc
-WINDOWS_OBJCPLUS_COMPILER = $(DEVDIR)/gcc
-PDO_UNIX_OBJCPLUS_COMPILER = $(NEXTDEV_BIN)/gcc
-NEXTSTEP_JAVA_COMPILER = /usr/bin/javac
-WINDOWS_JAVA_COMPILER = $(JDKBINDIR)/javac.exe
-PDO_UNIX_JAVA_COMPILER = $(NEXTDEV_BIN)/javac
-
-include $(MAKEFILEDIR)/platform.make
-
--include Makefile.preamble
-
-include $(MAKEFILEDIR)/$(MAKEFILE)
-
--include Makefile.postamble
-
--include Makefile.dependencies
+HELPERDIR = /AppleInternal/Developer/Tools
+after_install:
+       @-$(RM) -f $(DSTROOT)$(INSTALLDIR)/machine
+       $(LN) -fh $(DSTROOT)$(Install_Dir)/arch $(DSTROOT)$(Install_Dir)/machine
+       $(INSTALL_DIRECTORY) -d $(DSTROOT)$(HELPERDIR)
+       $(INSTALL_SCRIPT) arch_helper.pl $(DSTROOT)$(HELPERDIR)