X-Git-Url: https://git.saurik.com/apple/system_cmds.git/blobdiff_plain/83f6dbe8135dc38ce4ac497ebea7f0ebc87d9199..8459d7254751dbe55e98bb49dd51e1796df2bb0d:/at.tproj/Makefile diff --git a/at.tproj/Makefile b/at.tproj/Makefile index c2335bf..460fd57 100644 --- a/at.tproj/Makefile +++ b/at.tproj/Makefile @@ -1,55 +1,31 @@ -# -# 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 = at - -PROJECTVERSION = 2.8 -PROJECT_TYPE = Tool +Project = at +Install_Dir = /usr/bin HFILES = at.h panic.h parsetime.h pathnames.h privs.h perm.h - CFILES = at.c panic.c parsetime.c perm.c - -OTHERSRCS = Makefile.preamble Makefile Makefile.postamble Makefile.dist\ - at.1 - - -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) - +MANPAGES = at.1 PROJECT_HEADERS = privs.h pathnames.h - - -NEXTSTEP_BUILD_OUTPUT_DIR = /$(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 +Extra_CC_Flags = -Wall -Werror +Extra_CC_Flags += -D__FBSDID=__RCSID -DDAEMON_UID=1 -DDAEMON_GID=1 \ + -DDEFAULT_AT_QUEUE='a' -DDEFAULT_BATCH_QUEUE='b' \ + -DPERM_PATH=\"/usr/lib/cron/\" \ + -I/System/Library/Frameworks/System.framework/PrivateHeaders +Extra_LD_Flags = -dead_strip + +include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make + +Install_Program_Mode = 04555 + +after_install: + $(LN) -f $(DSTROOT)/$(Install_Dir)/at $(DSTROOT)$(Install_Dir)/atq + $(LN) -f $(DSTROOT)/$(Install_Dir)/at $(DSTROOT)$(Install_Dir)/atrm + $(LN) -f $(DSTROOT)/$(Install_Dir)/at $(DSTROOT)$(Install_Dir)/batch + install -o daemon -d "$(DSTROOT)/private/var/at/spool" + touch "$(DSTROOT)/private/var/at/at.deny" + $(MKDIR) "$(DSTROOT)/usr/lib" + $(LN) -sf ../../var/at "$(DSTROOT)/usr/lib/cron" + $(LN) -sf at.1 "$(DSTROOT)/usr/share/man/man1/atrm.1" + $(LN) -sf at.1 "$(DSTROOT)/usr/share/man/man1/atq.1" + $(LN) -sf at.1 "$(DSTROOT)/usr/share/man/man1/batch.1"