]> git.saurik.com Git - apple/system_cmds.git/blame - at.tproj/Makefile
system_cmds-541.tar.gz
[apple/system_cmds.git] / at.tproj / Makefile
CommitLineData
916eb79e
A
1Project = at
2Install_Dir = /usr/bin
1815bff5
A
3
4HFILES = at.h panic.h parsetime.h pathnames.h privs.h perm.h
1815bff5 5CFILES = at.c panic.c parsetime.c perm.c
916eb79e 6MANPAGES = at.1
1815bff5
A
7
8PROJECT_HEADERS = privs.h pathnames.h
9
8459d725 10Extra_CC_Flags = -Wall -Werror
ef8ad44b 11Extra_CC_Flags += -D__FBSDID=__RCSID -DDAEMON_UID=1 -DDAEMON_GID=1 \
e34d6a2f 12 -DDEFAULT_AT_QUEUE='a' -DDEFAULT_BATCH_QUEUE='b' \
34d340d7
A
13 -DPERM_PATH=\"/usr/lib/cron/\" \
14 -I/System/Library/Frameworks/System.framework/PrivateHeaders
ef8ad44b 15Extra_LD_Flags = -dead_strip
1815bff5 16
916eb79e
A
17include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
18
19Install_Program_Mode = 04555
20
21after_install:
22 $(LN) -f $(DSTROOT)/$(Install_Dir)/at $(DSTROOT)$(Install_Dir)/atq
23 $(LN) -f $(DSTROOT)/$(Install_Dir)/at $(DSTROOT)$(Install_Dir)/atrm
24 $(LN) -f $(DSTROOT)/$(Install_Dir)/at $(DSTROOT)$(Install_Dir)/batch
25 install -o daemon -d "$(DSTROOT)/private/var/at/spool"
26 touch "$(DSTROOT)/private/var/at/at.deny"
27 $(MKDIR) "$(DSTROOT)/usr/lib"
28 $(LN) -sf ../../var/at "$(DSTROOT)/usr/lib/cron"
29 $(LN) -sf at.1 "$(DSTROOT)/usr/share/man/man1/atrm.1"
30 $(LN) -sf at.1 "$(DSTROOT)/usr/share/man/man1/atq.1"
31 $(LN) -sf at.1 "$(DSTROOT)/usr/share/man/man1/batch.1"