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