freebsd-src/release/picobsd/tinyware/oinit/Makefile
Alexander Langer 5a86d4eafc Make the name of the init script and the interpreter compile time options.
If not defined, default to the old values (with _PATH_BSHELL instead
of "/bin/sh", though).

Reviewed by:	markm
2001-01-20 09:12:55 +00:00

23 lines
312 B
Makefile

# $FreeBSD$
#
PROG= oinit
SH_PATH?= /bin/sh
SH_NAME?= -sh
SH_ARG?= /etc/rc
CFLAGS= -DSH_PATH=\"${SH_PATH}\" -DSH_NAME=\"${SH_NAME}\" \
-DSH_ARG=\"${SH_ARG}\"
#CFLAGS+= -DUSE_HISTORY
#CFLAGS+= -DOINIT_RC=\"/etc/oinit.rc\"
#LDADD= -lutil -ledit -ltermcap
LDADD=-lutil
NOMAN=yes
.include <bsd.prog.mk>