mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-11-15 14:56:13 +01:00
27 lines
497 B
Makefile
27 lines
497 B
Makefile
# $Id: Makefile,v 1.3 1995/08/21 12:34:16 ache Exp $
|
|
|
|
MAINSRC= ${.CURDIR}/../../usr.bin/at
|
|
|
|
.include "$(MAINSRC)/Makefile.inc"
|
|
|
|
PROG= atrun
|
|
MAN8= atrun.8
|
|
SRCS= atrun.c gloadavg.c
|
|
|
|
BINDIR= $(ATLIB_DIR)
|
|
MANSRC= .
|
|
CLEANFILES += ${MAN8}
|
|
MANDEPEND = ${MAN8}
|
|
|
|
CFLAGS+= -I$(MAINSRC) -I${.CURDIR}
|
|
|
|
${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;" \
|
|
< $? > $@
|
|
|
|
.include <bsd.prog.mk>
|