]> git.saurik.com Git - apple/system_cmds.git/blob - at.tproj/Makefile
system_cmds-496.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 = -Wall -Werror -mdynamic-no-pic
11 Extra_CC_Flags += -D__FBSDID=__RCSID -DDAEMON_UID=1 -DDAEMON_GID=1 \
12 -DDEFAULT_AT_QUEUE='a' -DDEFAULT_BATCH_QUEUE='b' \
13 -DPERM_PATH=\"/usr/lib/cron/\" \
14 -I/System/Library/Frameworks/System.framework/PrivateHeaders
15 Extra_LD_Flags = -dead_strip
16
17 include $(MAKEFILEPATH)/CoreOS/ReleaseControl/BSDCommon.make
18
19 Install_Program_Mode = 04555
20
21 after_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"