X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/1815bff58803503e37009deeb85cfa8c22acf9d9..8459d7254751dbe55e98bb49dd51e1796df2bb0d:/getty.tproj/Makefile diff --git a/getty.tproj/Makefile b/getty.tproj/Makefile index f7c2acc..e48d4aa 100644 --- a/getty.tproj/Makefile +++ b/getty.tproj/Makefile @@ -1,51 +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 = getty - -PROJECTVERSION = 2.8 -PROJECT_TYPE = Tool +Project = getty +Install_Dir = /usr/libexec HFILES = extern.h gettytab.h pathnames.h +CFILES = chat.c init.c main.c subr.c +MANPAGES = getty.8 gettytab.5 ttys.5 -CFILES = init.c main.c subr.c - -OTHERSRCS = Makefile.preamble Makefile Makefile.postamble getty.8\ - gettytab.5 ttys.5 - - -MAKEFILEDIR = $(MAKEFILEPATH)/pb_makefiles -CODE_GEN_STYLE = DYNAMIC -MAKEFILE = tool.make -NEXTSTEP_INSTALLDIR = /usr/libexec -WINDOWS_INSTALLDIR = /usr/libexec -PDO_UNIX_INSTALLDIR = /usr/libexec -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),YES) +LAUNCHD_PLISTS = com.apple.getty.plist +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 +ifeq ($(Embedded),YES) +after_install: + plutil -convert binary1 "$(DSTROOT)/System/Library/LaunchDaemons/$(LAUNCHD_PLISTS)" +endif