freebsd-nq/libexec/atrun/Makefile

24 lines
422 B
Makefile
Raw Normal View History

1999-08-28 00:22:10 +00:00
# $FreeBSD$
MAINSRC=${.CURDIR}/../../usr.bin/at
.include "${MAINSRC}/Makefile.inc"
PROG= atrun
SRCS= atrun.c gloadavg.c
BINDIR= ${ATLIB_DIR}
CLEANFILES= ${MAN8}
CFLAGS+=-I${MAINSRC} -I${.CURDIR}
.include <bsd.prog.mk>
${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;" \
< ${.ALLSRC} > ${.TARGET}