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