mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-02 19:22:47 +00:00
a251f9dcf8
This simplifies make logic/output MFC after: 1 month Sponsored by: Dell EMC Isilon
33 lines
554 B
Makefile
33 lines
554 B
Makefile
# $FreeBSD$
|
|
|
|
PACKAGE=at
|
|
MAINSRC=${SRCTOP}/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}
|
|
CFLAGS+=-DLOGIN_CAP -DPAM
|
|
|
|
WARNS?= 2
|
|
WFORMAT=0
|
|
|
|
LIBADD= pam util
|
|
|
|
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>
|