X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/34d340d711a2b033f5da480ed7b5eb147679a588..ef8ad44b9b5d9c6d8c0fa5b5494f449fb6717387:/arch.tproj/Makefile diff --git a/arch.tproj/Makefile b/arch.tproj/Makefile index a055465..7b0f0ea 100644 --- a/arch.tproj/Makefile +++ b/arch.tproj/Makefile @@ -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)