fec34c3630
replacing the init in src/sbin/init with the small init we make here.
22 lines
391 B
Makefile
22 lines
391 B
Makefile
# $NetBSD: Makefile,v 1.11 2000/09/19 20:40:19 wrstuden Exp $
|
|
# Build a "small init" (i.e. for boot media)
|
|
|
|
PROG= init
|
|
MKMAN= no
|
|
|
|
# Need -lutil for: logout, logwtmp, login_tty
|
|
DPADD= ${LIBUTIL}
|
|
LDADD= -lutil
|
|
LDSTATIC?=-static
|
|
|
|
SRCDIR= ${.CURDIR}/../../../sbin/init
|
|
CPPFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
|
|
COPTS+= -Os
|
|
|
|
all: ${PROG}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${SRCDIR}
|
|
.NOPATH: ${PROG}
|