xref: /freebsd/usr.bin/at/Makefile (revision be0cde6f10dc8f3b82982c7912af93d61d828d75)
1#	$Id: Makefile,v 1.7 1998/06/09 04:07:08 imp Exp $
2
3.include "${.CURDIR}/Makefile.inc"
4
5PROG=	at
6SRCS=   at.c panic.c parsetime.c perm.c
7LINKS=	${BINDIR}/at ${BINDIR}/atq \
8	${BINDIR}/at ${BINDIR}/atrm \
9	${BINDIR}/at ${BINDIR}/batch
10MLINKS=	at.1 batch.1 \
11	at.1 atq.1 \
12	at.1 atrm.1
13
14BINMODE= 4555
15MANSRC= .
16CLEANFILES += ${MAN1}
17MANDEPEND = ${MAN1}
18
19.include <bsd.prog.mk>
20
21${MAN1}: 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		< ${.OODATE} > ${.TARGET}
32
33