40587021a6
paths relative to ${.CURDIR} instead. Using BSDSRCDIR here means that it's impossible to compile these programs out of the source tree they're a part of, unless that sort tree happens to be the one at BSDSRCDIR.
19 lines
338 B
Makefile
19 lines
338 B
Makefile
# $NetBSD: Makefile,v 1.8 1999/06/21 01:19:36 cgd 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
|
|
|
|
SRCDIR= ${.CURDIR}/../../../sbin/init
|
|
CPPFLAGS+= -DLETS_GET_SMALL -I${SRCDIR}
|
|
|
|
all: ${PROG}
|
|
|
|
.include <bsd.prog.mk>
|
|
|
|
.PATH: ${SRCDIR}
|