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"
9 SRCS
= atrun.c gloadavg.c
16 CFLAGS
+=-I
${MAINSRC} -I
${.CURDIR
}
17 CFLAGS
+=-DLOGIN_CAP
-DPAM
20 DPADD
= ${LIBPAM} ${LIBUTIL}
21 LDADD
= ${MINUSLPAM} -lutil
24 @
${ECHO} Making
${.TARGET
:T
} from
${.ALLSRC
:T
}; \
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
>