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