1# $FreeBSD$ 2 3.include "${.CURDIR}/Makefile.inc" 4 5PROG= at 6SRCS= at.c panic.c parsetime.c perm.c 7WARNS?= 2 8LINKS= ${BINDIR}/at ${BINDIR}/atq \ 9 ${BINDIR}/at ${BINDIR}/atrm \ 10 ${BINDIR}/at ${BINDIR}/batch 11MLINKS= at.1 batch.1 \ 12 at.1 atq.1 \ 13 at.1 atrm.1 14 15BINOWN= root 16BINMODE= 4555 17CLEANFILES+= at.1 18 19at.1: at.man 20 @${ECHO} Making ${.TARGET:T} from ${.ALLSRC:T}; \ 21 sed -e \ 22 "s@_ATSPOOL_DIR@$(ATSPOOL_DIR)@g; \ 23 s@_ATJOB_DIR@$(ATJOB_DIR)@g; \ 24 s@_DEFAULT_BATCH_QUEUE@$(DEFAULT_BATCH_QUEUE)@g; \ 25 s@_DEFAULT_AT_QUEUE@$(DEFAULT_AT_QUEUE)@g; \ 26 s@_LOADAVG_MX@$(LOADAVG_MX)@g; \ 27 s@_PERM_PATH@$(PERM_PATH)@g; \ 28 s@_LOCKFILE@$(LOCKFILE)@g" \ 29 < ${.ALLSRC} > ${.TARGET} 30 31.include <bsd.prog.mk> 32