summaryrefslogtreecommitdiff
path: root/distrib/utils/init_s
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1995-10-18 08:53:40 +0000
commitd6583bb2a13f329cf0332ef2570eb8bb8fc0e39c (patch)
treeece253b876159b39c620e62b6c9b1174642e070e /distrib/utils/init_s
initial import of NetBSD tree
Diffstat (limited to 'distrib/utils/init_s')
-rw-r--r--distrib/utils/init_s/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/distrib/utils/init_s/Makefile b/distrib/utils/init_s/Makefile
new file mode 100644
index 00000000000..60a638bab4f
--- /dev/null
+++ b/distrib/utils/init_s/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.3 1995/10/13 18:35:17 gwr Exp $
+# Build a "small init" (i.e. for boot media)
+
+PROG= init
+NOMAN=
+
+# Need -lutil for: logout, logwtmp, login_tty
+DPADD= ${LIBUTIL}
+LDADD= -lutil
+
+SRCDIR= ${BSDSRCDIR}/sbin/init
+CFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
+
+all: ${PROG}
+
+.include <bsd.prog.mk>
+
+.PATH: ${SRCDIR}