1999-06-21 05:19:36 +04:00
|
|
|
# $NetBSD: Makefile,v 1.8 1999/06/21 01:19:36 cgd Exp $
|
1995-10-09 02:08:46 +03:00
|
|
|
# Build a "small init" (i.e. for boot media)
|
|
|
|
|
|
|
|
PROG= init
|
1999-02-13 05:54:17 +03:00
|
|
|
MKMAN= no
|
1995-10-09 02:08:46 +03:00
|
|
|
|
|
|
|
# Need -lutil for: logout, logwtmp, login_tty
|
|
|
|
DPADD= ${LIBUTIL}
|
|
|
|
LDADD= -lutil
|
|
|
|
|
1999-06-21 05:19:36 +04: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}
|