Adjust for amd64 boot.
[dragonfly.git] / libexec / atrun / Makefile
blob33037ec1a22ba34aeddc12d945a0e54bf36e00ce
1 # $FreeBSD: src/libexec/atrun/Makefile,v 1.15 2007/10/01 18:17:23 ru Exp $
2 # $DragonFly: src/libexec/atrun/Makefile,v 1.3 2004/09/20 19:32:19 joerg Exp $
4 MAINSRC=${.CURDIR}/../../usr.bin/at
6 .include "${MAINSRC}/Makefile.inc"
8 PROG= atrun
9 SRCS= atrun.c gloadavg.c
10 MAN= atrun.8
11 WARNS?= 6
13 BINDIR= ${ATLIB_DIR}
14 CLEANFILES= ${MAN}
16 CFLAGS+=-I${MAINSRC} -I${.CURDIR}
17 CFLAGS+=-DLOGIN_CAP -DPAM
18 WFORMAT=0
20 DPADD= ${LIBPAM} ${LIBUTIL}
21 LDADD= ${MINUSLPAM} -lutil
23 atrun.8: atrun.man
24 @${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \
25 sed -e \
26 "s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \
27 s@_ATJOB_DIR@$(ATJOB_DIR)@g; \
28 s@_ATLIB_DIR@$(ATLIB_DIR)@g; \
29 s@_LOADAVG_MX@$(LOADAVG_MX)@g;" \
30 < ${.ALLSRC} > ${.TARGET}
32 .include <bsd.prog.mk>