X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/1815bff58803503e37009deeb85cfa8c22acf9d9..8459d7254751dbe55e98bb49dd51e1796df2bb0d:/reboot.tproj/Makefile diff --git a/reboot.tproj/Makefile b/reboot.tproj/Makefile index 74f27bc..47332e7 100644 --- a/reboot.tproj/Makefile +++ b/reboot.tproj/Makefile @@ -1,50 +1,19 @@ -# -# 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 = reboot - -PROJECTVERSION = 2.8 -PROJECT_TYPE = Tool +Project = reboot +Install_Dir = /sbin CFILES = reboot.c +MANPAGES = reboot.8 -OTHERSRCS = Makefile.preamble Makefile Makefile.postamble Makefile.dist\ - boot_hp300.8 boot_i386.8 boot_sparc.8 boot_tahoe.8\ - boot_vax.8 reboot.8 - - -MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles -CODE_GEN_STYLE = DYNAMIC -MAKEFILE = tool.make -NEXTSTEP_INSTALLDIR = /sbin -WINDOWS_INSTALLDIR = /sbin -PDO_UNIX_INSTALLDIR = /sbin -LIBS = -DEBUG_LIBS = $(LIBS) -PROF_LIBS = $(LIBS) - - - - -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 +Embedded = $(shell tconf --test TARGET_OS_EMBEDDED) +ifeq ($(Embedded),NO) +USERDEFS = kextmanager.defs +endif -include $(MAKEFILEDIR)/$(MAKEFILE) +Extra_CC_Flags = -Wall -Werror +Extra_LD_Flags = -dead_strip --include Makefile.postamble +include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make --include Makefile.dependencies +after_install: + $(LN) -f $(DSTROOT)/$(Install_Dir)/reboot $(DSTROOT)$(Install_Dir)/halt + $(LN) -fs reboot.8 $(DSTROOT)/usr/share/man/man8/halt.8