From c44da00be162b0da77c2e3c73c8685df82adc40a Mon Sep 17 00:00:00 2001 From: peter Date: Mon, 1 Jan 2001 21:39:00 +0000 Subject: Further tidy up the sbin/init and release builds. --- sbin/init/Makefile | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) (limited to 'sbin/init/Makefile') diff --git a/sbin/init/Makefile b/sbin/init/Makefile index 7b9547d..83488c1 100644 --- a/sbin/init/Makefile +++ b/sbin/init/Makefile @@ -7,34 +7,8 @@ MLINKS= init.8 securelevel.8 BINMODE=500 INSTALLFLAGS=-fschg CFLAGS+=-DDEBUGSHELL -DSECURE -DLOGIN_CAP -DCOMPAT_SYSV_INIT - -#.if exists(${.CURDIR}/../../secure) && !defined(NOCRYPT) && !defined(NOSECURE) -#DISTRIBUTION=crypto -#DPADD= ${LIBUTIL} ${DESCRYPTOBJDIR}/libdescrypt.a -#LDADD= -lutil -L${DESCRYPTOBJDIR} -ldescrypt -#.else -#DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libscrypt.a -#LDADD= -lutil -L${SCRYPTOBJDIR} -lscrypt -#.endif - -DPADD= ${LIBUTIL} ${SCRYPTOBJDIR}/libcrypt.a -LDADD= -lutil -L${SCRYPTOBJDIR} -lcrypt - -.if exists(${.OBJDIR}/../../lib/libcrypt) -SCRYPTOBJDIR= ${.OBJDIR}/../../lib/libcrypt -.else -SCRYPTOBJDIR= ${.CURDIR}/../../lib/libcrypt -.endif - -.if exists (${.CURDIR}/../../secure) - -.if exists(${.OBJDIR}/../../secure/lib/libcrypt) -DESCRYPTOBJDIR= ${.OBJDIR}/../../secure/lib/libcrypt -.else -DESCRYPTOBJDIR= ${.CURDIR}/../../secure/lib/libcrypt -.endif - -.endif +DPADD= ${LIBUTIL} ${LIBCRYPT} +LDADD= -lutil -lcrypt beforeinstall: .if exists(${DESTDIR}${BINDIR}/${PROG}) -- cgit v1.1