xref: /freebsd/usr.bin/at/Makefile (revision 5ca8e32633c4ffbbcd6762e5888b6a4ba0708c6c)
1
2.include "${.CURDIR}/Makefile.inc"
3
4CONFS=	atrun
5CONFSDIR=	/etc/cron.d
6CONFSNAME=	at
7PROG=	at
8SRCS=	at.c panic.c parsetime.c perm.c
9LINKS=	${BINDIR}/at ${BINDIR}/atq \
10	${BINDIR}/at ${BINDIR}/atrm \
11	${BINDIR}/at ${BINDIR}/batch
12MLINKS=	at.1 batch.1 \
13	at.1 atq.1 \
14	at.1 atrm.1
15
16NO_WFORMAT=
17
18BINOWN=	root
19BINMODE= 4555
20CLEANFILES+= at.1
21
22at.1: at.man
23	@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
24	sed -e \
25		"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
26		s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
27		s@_DEFAULT_BATCH_QUEUE@$(DEFAULT_BATCH_QUEUE)@g; \
28		s@_DEFAULT_AT_QUEUE@$(DEFAULT_AT_QUEUE)@g; \
29		s@_LOADAVG_MX@$(LOADAVG_MX)@g; \
30		s@_PERM_PATH@$(PERM_PATH)@g; \
31		s@_LOCKFILE@$(LOCKFILE)@g" \
32		< ${.ALLSRC} > ${.TARGET}
33
34.include <bsd.prog.mk>
35