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