.ifdef SMALLPROG, compile without ALTSHELL and SECURE support

This commit is contained in:
lukem 2002-02-03 02:40:14 +00:00
parent ecf26eb9de
commit b7677f4e0e

View File

@ -1,11 +1,20 @@
# $NetBSD: Makefile,v 1.26 2002/01/21 15:57:40 abs Exp $
# $NetBSD: Makefile,v 1.27 2002/02/03 02:40:14 lukem Exp $
# @(#)Makefile 8.1 (Berkeley) 7/19/93
PROG= init
MAN= init.8
DPADD= ${LIBUTIL} ${LIBCRYPT}
LDADD= -lutil -lcrypt
CPPFLAGS+=-DALTSHELL -DSECURE -DMFS_DEV_IF_NO_CONSOLE
DPADD= ${LIBUTIL}
LDADD= -lutil
CPPFLAGS+= -DMFS_DEV_IF_NO_CONSOLE
.ifdef SMALLPROG
CPPFLAGS+= -DLETS_GET_SMALL
.else
CPPFLAGS+= -DALTSHELL -DSECURE
DPADD+= ${LIBCRYPT}
LDADD+= -lcrypt
.endif
.include <bsd.prog.mk>