freebsd-skq/libexec/atrun/Makefile
kris c60495e0de Lock down with WFORMAT?=1, with overrides in the subdirectories which
are not yet warning-clean.  Tested on i386 and alpha.
2002-02-04 02:33:51 +00:00

27 lines
495 B
Makefile

# $FreeBSD$
MAINSRC=${.CURDIR}/../../usr.bin/at
.include "${MAINSRC}/Makefile.inc"
PROG= atrun
SRCS= atrun.c gloadavg.c
MAN= atrun.8
BINDIR= ${ATLIB_DIR}
CLEANFILES= ${MAN}
CFLAGS+=-I${MAINSRC} -I${.CURDIR}
WFORMAT=0
atrun.8: atrun.man
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
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}
.include <bsd.prog.mk>