1997-10-22 05:42:36 +04:00
|
|
|
# $NetBSD: Makefile,v 1.5 1997/10/22 01:42:36 lukem Exp $
|
1995-10-09 02:08:46 +03:00
|
|
|
# Build a "small init" (i.e. for boot media)
|
|
|
|
|
|
|
|
PROG= init
|
|
|
|
NOMAN=
|
|
|
|
|
|
|
|
# Need -lutil for: logout, logwtmp, login_tty
|
|
|
|
DPADD= ${LIBUTIL}
|
|
|
|
LDADD= -lutil
|
|
|
|
|
1996-03-27 07:48:28 +03:00
|
|
|
SRCDIR= ${.CURDIR}/../../../sbin/init
|
1997-10-22 05:42:36 +04:00
|
|
|
CPPFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
|
1995-10-09 02:08:46 +03:00
|
|
|
|
|
|
|
all: ${PROG}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1995-10-13 21:35:17 +03:00
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|