1999-08-28 01:08:13 +00:00
|
|
|
# $FreeBSD$
|
1995-04-12 02:42:39 +00:00
|
|
|
|
|
|
|
.include "${.CURDIR}/Makefile.inc"
|
1994-01-05 01:09:14 +00:00
|
|
|
|
|
|
|
PROG= at
|
1998-12-06 07:42:09 +00:00
|
|
|
CFLAGS+=-Wall
|
2001-03-26 07:28:26 +00:00
|
|
|
SRCS= at.c panic.c parsetime.c perm.c
|
1994-01-05 01:09:14 +00:00
|
|
|
LINKS= ${BINDIR}/at ${BINDIR}/atq \
|
|
|
|
${BINDIR}/at ${BINDIR}/atrm \
|
|
|
|
${BINDIR}/at ${BINDIR}/batch
|
|
|
|
MLINKS= at.1 batch.1 \
|
|
|
|
at.1 atq.1 \
|
|
|
|
at.1 atrm.1
|
|
|
|
|
|
|
|
BINMODE= 4555
|
1995-04-12 02:42:39 +00:00
|
|
|
CLEANFILES += ${MAN1}
|
1994-01-05 01:09:14 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1995-04-12 02:42:39 +00:00
|
|
|
|
|
|
|
${MAN1}: at.man
|
1996-02-25 20:25:05 +00:00
|
|
|
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
|
1995-04-12 02:42:39 +00:00
|
|
|
sed -e \
|
|
|
|
"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
|
|
|
|
s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
|
|
|
|
s@_DEFAULT_BATCH_QUEUE@$(DEFAULT_BATCH_QUEUE)@g; \
|
|
|
|
s@_DEFAULT_AT_QUEUE@$(DEFAULT_AT_QUEUE)@g; \
|
|
|
|
s@_LOADAVG_MX@$(LOADAVG_MX)@g; \
|
|
|
|
s@_PERM_PATH@$(PERM_PATH)@g; \
|
|
|
|
s@_LOCKFILE@$(LOCKFILE)@g" \
|
2001-03-26 07:28:26 +00:00
|
|
|
< ${.ALLSRC} > ${.TARGET}
|