1999-08-28 00:22:10 +00:00
|
|
|
# $FreeBSD$
|
1995-04-12 02:52:21 +00:00
|
|
|
|
2000-05-15 15:01:13 +00:00
|
|
|
MAINSRC=${.CURDIR}/../../usr.bin/at
|
1995-04-12 02:52:21 +00:00
|
|
|
|
2000-05-15 15:01:13 +00:00
|
|
|
.include "${MAINSRC}/Makefile.inc"
|
1994-01-05 01:03:02 +00:00
|
|
|
|
|
|
|
PROG= atrun
|
2000-05-15 15:01:13 +00:00
|
|
|
SRCS= atrun.c gloadavg.c
|
2001-03-26 14:22:12 +00:00
|
|
|
MAN= atrun.8
|
1994-01-05 01:03:02 +00:00
|
|
|
|
2000-05-15 15:01:13 +00:00
|
|
|
BINDIR= ${ATLIB_DIR}
|
2001-03-26 14:22:12 +00:00
|
|
|
CLEANFILES= ${MAN}
|
1995-04-12 02:52:21 +00:00
|
|
|
|
2000-05-15 15:01:13 +00:00
|
|
|
CFLAGS+=-I${MAINSRC} -I${.CURDIR}
|
2007-06-15 12:02:16 +00:00
|
|
|
CFLAGS+=-DLOGIN_CAP -DPAM
|
2010-01-02 09:50:19 +00:00
|
|
|
|
|
|
|
WARNS?= 2
|
2002-02-04 02:33:51 +00:00
|
|
|
WFORMAT=0
|
1994-01-05 01:03:02 +00:00
|
|
|
|
2007-06-15 12:02:16 +00:00
|
|
|
DPADD= ${LIBPAM} ${LIBUTIL}
|
2007-10-01 18:17:24 +00:00
|
|
|
LDADD= ${MINUSLPAM} -lutil
|
2007-06-14 22:16:21 +00:00
|
|
|
|
2001-03-26 14:22:12 +00:00
|
|
|
atrun.8: atrun.man
|
2001-03-26 07:28:26 +00:00
|
|
|
@${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
|
1995-04-12 02:52:21 +00:00
|
|
|
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 15:01:13 +00:00
|
|
|
< ${.ALLSRC} > ${.TARGET}
|
2001-03-26 14:22:12 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|