diff options
| author | Peter Wemm <peter@FreeBSD.org> | 2001-07-16 03:31:55 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 2001-07-16 03:31:55 +0000 |
| commit | cd693f2b4cd1d8b8efb89df4b2ef04253ecccb2c (patch) | |
| tree | 5c78042c7ebe38e02a8c4ff0cfb9e9fa50c604c4 /sbin/init | |
| parent | 785940074db347bfe6d0b4c31a74f2c1188c0ac6 (diff) | |
Notes
Diffstat (limited to 'sbin/init')
| -rw-r--r-- | sbin/init/Makefile | 27 |
1 files changed, 2 insertions, 25 deletions
diff --git a/sbin/init/Makefile b/sbin/init/Makefile index ddf2f50f4edf..a48e90c64c27 100644 --- a/sbin/init/Makefile +++ b/sbin/init/Makefile @@ -7,31 +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 - -.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}) |
