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