21 lines
370 B
Makefile
21 lines
370 B
Makefile
# $NetBSD: Makefile,v 1.10 2000/05/18 01:10:22 matt 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}
|