1995-10-13 21:35:17 +03:00
|
|
|
# $NetBSD: Makefile,v 1.3 1995/10/13 18:35:17 gwr 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
|
|
|
|
|
1995-10-13 21:10:06 +03:00
|
|
|
SRCDIR= ${BSDSRCDIR}/sbin/init
|
1995-10-09 02:08:46 +03:00
|
|
|
CFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
|
|
|
|
|
|
|
|
all: ${PROG}
|
|
|
|
|
|
|
|
.include <bsd.prog.mk>
|
1995-10-13 21:35:17 +03:00
|
|
|
|
|
|
|
.PATH: ${SRCDIR}
|