xref: /freebsd/usr.bin/at/Makefile (revision bf8a86cd148750ce577f389cb3799189d83c7ee9)
1c3aac50fSPeter Wemm# $FreeBSD$
2b89321a5SAndrey A. Chernov
3b89321a5SAndrey A. Chernov.include "${.CURDIR}/Makefile.inc"
4d78e98d2SNate Williams
5*bf8a86cdSBrad DavisCONFS=	atrun
6*bf8a86cdSBrad DavisCONFSDIR=	/etc/cron.d
7*bf8a86cdSBrad DavisCONFSNAME=	at
8d78e98d2SNate WilliamsPROG=	at
9b89321a5SAndrey A. ChernovSRCS=	at.c panic.c parsetime.c perm.c
10d78e98d2SNate WilliamsLINKS=	${BINDIR}/at ${BINDIR}/atq \
11d78e98d2SNate Williams	${BINDIR}/at ${BINDIR}/atrm \
12d78e98d2SNate Williams	${BINDIR}/at ${BINDIR}/batch
13d78e98d2SNate WilliamsMLINKS=	at.1 batch.1 \
14d78e98d2SNate Williams	at.1 atq.1 \
15d78e98d2SNate Williams	at.1 atrm.1
16d78e98d2SNate Williams
17196769eeSEd SchoutenNO_WFORMAT=
18b7946da9SEd Schouten
19cda2a9b2SRuslan ErmilovBINOWN=	root
20d78e98d2SNate WilliamsBINMODE= 4555
21dc12be52SRuslan ErmilovCLEANFILES+= at.1
22d78e98d2SNate Williams
23dc12be52SRuslan Ermilovat.1: at.man
24463c7e7aSBruce Evans	@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
25b89321a5SAndrey A. Chernov	sed -e \
26b89321a5SAndrey A. Chernov		"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
27b89321a5SAndrey A. Chernov		s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
28b89321a5SAndrey A. Chernov		s@_DEFAULT_BATCH_QUEUE@$(DEFAULT_BATCH_QUEUE)@g; \
29b89321a5SAndrey A. Chernov		s@_DEFAULT_AT_QUEUE@$(DEFAULT_AT_QUEUE)@g; \
30b89321a5SAndrey A. Chernov		s@_LOADAVG_MX@$(LOADAVG_MX)@g; \
31b89321a5SAndrey A. Chernov		s@_PERM_PATH@$(PERM_PATH)@g; \
32b89321a5SAndrey A. Chernov		s@_LOCKFILE@$(LOCKFILE)@g" \
330414fc4dSRuslan Ermilov		< ${.ALLSRC} > ${.TARGET}
34dc12be52SRuslan Ermilov
35dc12be52SRuslan Ermilov.include <bsd.prog.mk>
36