1997-02-22 14:22:49 +00:00
|
|
|
# $Id$
|
1995-04-12 03:52:21 +01:00
|
|
|
|
|
|
|
MAINSRC= ${.CURDIR}/../../usr.bin/at
|
|
|
|
|
|
|
|
.include "$(MAINSRC)/Makefile.inc"
|
1994-01-05 01:03:02 +00:00
|
|
|
|
|
|
|
PROG= atrun
|
|
|
|
MAN8= atrun.8
|
1995-08-21 13:34:18 +01:00
|
|
|
SRCS= atrun.c gloadavg.c
|
1994-01-05 01:03:02 +00:00
|
|
|
|
1995-04-12 03:52:21 +01:00
|
|
|
BINDIR= $(ATLIB_DIR)
|
|
|
|
MANSRC= .
|
|
|
|
CLEANFILES += ${MAN8}
|
|
|
|
MANDEPEND = ${MAN8}
|
|
|
|
|
1995-08-29 14:42:52 +01:00
|
|
|
CFLAGS+= -I$(MAINSRC) -I${.CURDIR}
|
1994-01-05 01:03:02 +00:00
|
|
|
|
1995-04-12 03:52:21 +01:00
|
|
|
${MAN8}: atrun.man
|
|
|
|
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;" \
|
|
|
|
< $? > $@
|
1994-01-05 01:03:02 +00:00
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|