aboutsummaryrefslogtreecommitdiff
path: root/release/picobsd/tinyware/oinit/Makefile
diff options
context:
space:
mode:
authorAlexander Langer <alex@FreeBSD.org>2001-01-20 09:12:55 +0000
committerAlexander Langer <alex@FreeBSD.org>2001-01-20 09:12:55 +0000
commit5a86d4eafc1c9d171f285eefb107eecd7a5ef03f (patch)
treec37f789e689a7a9e2ca04be6b4e4bf70b8482834 /release/picobsd/tinyware/oinit/Makefile
parent7dd2de5bc24aeb5eb9273cb8d45bc78c25efa2d6 (diff)
downloadsrc-5a86d4eafc1c9d171f285eefb107eecd7a5ef03f.tar.gz
src-5a86d4eafc1c9d171f285eefb107eecd7a5ef03f.zip
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
Notes
Notes: svn path=/head/; revision=71295
Diffstat (limited to 'release/picobsd/tinyware/oinit/Makefile')
-rw-r--r--release/picobsd/tinyware/oinit/Makefile18
1 files changed, 14 insertions, 4 deletions
diff --git a/release/picobsd/tinyware/oinit/Makefile b/release/picobsd/tinyware/oinit/Makefile
index 1fb9b2dcbba8..c655bb7bb7de 100644
--- a/release/picobsd/tinyware/oinit/Makefile
+++ b/release/picobsd/tinyware/oinit/Makefile
@@ -1,9 +1,19 @@
# $FreeBSD$
#
-PROG=oinit
-#CFLAGS+=-DUSE_HISTORY
-CFLAGS+=-DOINIT_RC=\"/etc/oinit.rc\"
-#LDADD=-lutil -ledit -ltermcap
+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