]> 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 a05546584022d1a913fcc3cb7df4baef453c06b7..7b0f0ea4c13fb07c8a06bd5aa8b45803c8c69c79 100644 (file)
@@ -1,54 +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.
-#
-
-NAME = arch
-
-PROJECTVERSION = 2.8
-PROJECT_TYPE = Tool
+Project = arch
+Install_Dir = /usr/bin
 
 MFILES = arch.m
-FRAMEWORKS = -framework Foundation
-
-OTHERSRCS = Makefile PB.project Makefile.postamble arch.1 machine.1 arch_helper.pl
-
-
-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
+Extra_Frameworks = -framework Foundation
 
-include $(MAKEFILEDIR)/platform.make
+MANPAGES = arch.1 machine.1
 
--include Makefile.preamble
+Extra_CC_Flags = -Wall -Werror -mdynamic-no-pic
+Extra_LD_Flags = -dead_strip
 
-include $(MAKEFILEDIR)/$(MAKEFILE)
+Extra_CC_Flags += -DARCH_PROG=\"arch\" -DMACHINE_PROG=\"machine\"
 
--include Makefile.postamble
+include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
 
--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)