diff options
| author | Mark Murray <markm@FreeBSD.org> | 1997-02-10 17:44:34 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 1997-02-10 17:44:34 +0000 |
| commit | 35c6fcd43b6f1446141294521d33b5a7e794b2db (patch) | |
| tree | 5413662d40dd3b4c6810adc506bc977abc8d32e7 | |
| parent | 77ffbc1aad66ad00eb1116c9478d5c8b87a4b477 (diff) | |
Notes
| -rw-r--r-- | sbin/init/Makefile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/sbin/init/Makefile b/sbin/init/Makefile index f566f888bfbb..1d8c89c63101 100644 --- a/sbin/init/Makefile +++ b/sbin/init/Makefile @@ -17,3 +17,19 @@ LDADD= -lutil -L${SCRYPTOBJDIR} -lscrypt .endif .include <bsd.prog.mk> + +.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 |
