NetBSD/distrib/utils/init_s/Makefile
wrstuden fec34c3630 Tell make not to look for init in its path. This prevents make from
replacing the init in src/sbin/init with the small init we make here.
2000-09-19 20:40:19 +00:00

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}