xref: /freebsd/usr.bin/at/Makefile (revision 205a8ea824a04474bbfb000018904cd856cee4f3)
1205a8ea8SWarner Losh#	$Id: Makefile,v 1.6 1997/02/22 19:54:03 peter Exp $
2b89321a5SAndrey A. Chernov
3b89321a5SAndrey A. Chernov.include "${.CURDIR}/Makefile.inc"
4d78e98d2SNate Williams
5d78e98d2SNate WilliamsPROG=	at
6b89321a5SAndrey A. ChernovSRCS=   at.c panic.c parsetime.c perm.c
7d78e98d2SNate WilliamsLINKS=	${BINDIR}/at ${BINDIR}/atq \
8d78e98d2SNate Williams	${BINDIR}/at ${BINDIR}/atrm \
9d78e98d2SNate Williams	${BINDIR}/at ${BINDIR}/batch
10d78e98d2SNate WilliamsMLINKS=	at.1 batch.1 \
11d78e98d2SNate Williams	at.1 atq.1 \
12d78e98d2SNate Williams	at.1 atrm.1
13d78e98d2SNate Williams
14d78e98d2SNate WilliamsBINOWN=	root
15d78e98d2SNate WilliamsBINMODE= 4555
16b89321a5SAndrey A. ChernovMANSRC= .
17b89321a5SAndrey A. ChernovCLEANFILES += ${MAN1}
18b89321a5SAndrey A. ChernovMANDEPEND = ${MAN1}
19d78e98d2SNate Williams
20d78e98d2SNate Williams.include <bsd.prog.mk>
21b89321a5SAndrey A. Chernov
22b89321a5SAndrey A. Chernov${MAN1}: at.man
23463c7e7aSBruce Evans	@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
24b89321a5SAndrey A. Chernov	sed -e \
25b89321a5SAndrey A. Chernov		"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
26b89321a5SAndrey A. Chernov		s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
27b89321a5SAndrey A. Chernov		s@_DEFAULT_BATCH_QUEUE@$(DEFAULT_BATCH_QUEUE)@g; \
28b89321a5SAndrey A. Chernov		s@_DEFAULT_AT_QUEUE@$(DEFAULT_AT_QUEUE)@g; \
29b89321a5SAndrey A. Chernov		s@_LOADAVG_MX@$(LOADAVG_MX)@g; \
30b89321a5SAndrey A. Chernov		s@_PERM_PATH@$(PERM_PATH)@g; \
31b89321a5SAndrey A. Chernov		s@_LOCKFILE@$(LOCKFILE)@g" \
32205a8ea8SWarner Losh		< ${.OODATE} > ${.TARGET}
33b89321a5SAndrey A. Chernov
34