xref: /freebsd/usr.bin/at/Makefile (revision 5f618f92e3faa8602b892b6674983e261f5672af)
1#	$Id: Makefile,v 1.8 1998/09/19 22:42:03 obrien Exp $
2
3.include "${.CURDIR}/Makefile.inc"
4
5PROG=	at
6CFLAGS+=-Wall
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
15BINMODE= 4555
16MANSRC= .
17CLEANFILES += ${MAN1}
18MANDEPEND = ${MAN1}
19
20.include <bsd.prog.mk>
21
22${MAN1}: at.man
23	@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
24	sed -e \
25		"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
26		s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
27		s@_DEFAULT_BATCH_QUEUE@$(DEFAULT_BATCH_QUEUE)@g; \
28		s@_DEFAULT_AT_QUEUE@$(DEFAULT_AT_QUEUE)@g; \
29		s@_LOADAVG_MX@$(LOADAVG_MX)@g; \
30		s@_PERM_PATH@$(PERM_PATH)@g; \
31		s@_LOCKFILE@$(LOCKFILE)@g" \
32		< ${.OODATE} > ${.TARGET}
33
34