1999-08-28 02:22:10 +02:00
|
|
|
# $FreeBSD$
|
1995-04-12 04:52:21 +02:00
|
|
|
|
2000-05-15 17:01:13 +02:00
|
|
|
MAINSRC=${.CURDIR}/../../usr.bin/at
|
1995-04-12 04:52:21 +02:00
|
|
|
|
2000-05-15 17:01:13 +02:00
|
|
|
.include "${MAINSRC}/Makefile.inc"
|
1994-01-05 02:03:02 +01:00
|
|
|
|
|
|
|
PROG= atrun
|
|
|
|
MAN8= atrun.8
|
2000-05-15 17:01:13 +02:00
|
|
|
SRCS= atrun.c gloadavg.c
|
1994-01-05 02:03:02 +01:00
|
|
|
|
2000-05-15 17:01:13 +02:00
|
|
|
BINDIR= ${ATLIB_DIR}
|
|
|
|
CLEANFILES= ${MAN8}
|
1995-04-12 04:52:21 +02:00
|
|
|
|
2000-05-15 17:01:13 +02:00
|
|
|
CFLAGS+=-I${MAINSRC} -I${.CURDIR}
|
1994-01-05 02:03:02 +01:00
|
|
|
|
1995-04-12 04:52:21 +02:00
|
|
|
${MAN8}: atrun.man
|
|
|
|
sed -e \
|
|
|
|
"s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
|
|
|
|
s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
|
|
|
|
s@_ATLIB_DIR@$(ATLIB_DIR)@g; \
|
|
|
|
s@_LOADAVG_MX@$(LOADAVG_MX)@g;" \
|
2000-05-15 17:01:13 +02:00
|
|
|
< ${.ALLSRC} > ${.TARGET}
|
1994-01-05 02:03:02 +01:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|