diff options
| author | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-11-14 15:48:29 +0000 |
|---|---|---|
| committer | Marcel Moolenaar <marcel@FreeBSD.org> | 1999-11-14 15:48:29 +0000 |
| commit | ee98eb8e1380d0987d847bfc2d8f278dfb18929e (patch) | |
| tree | 50ae947726d423d3bc93dbaa6af6823fb4a15bf4 /lib | |
| parent | 0917704bd4360ecc5c28d8961534fab7228dd1ff (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libpam/libpam/Makefile | 4 | ||||
| -rw-r--r-- | lib/libpam/modules/Makefile | 2 | ||||
| -rw-r--r-- | lib/libpam/modules/pam_kerberosIV/Makefile | 10 |
3 files changed, 11 insertions, 5 deletions
diff --git a/lib/libpam/libpam/Makefile b/lib/libpam/libpam/Makefile index 0e87162ec8f8..f8143a5ff83b 100644 --- a/lib/libpam/libpam/Makefile +++ b/lib/libpam/libpam/Makefile @@ -62,10 +62,10 @@ HDRS3= pam_mod_misc.h # Static PAM modules: STATIC_MODULES+= ${MODOBJDIR}/pam_cleartext_pass_ok/libpam_cleartext_pass_ok.a STATIC_MODULES+= ${MODOBJDIR}/pam_deny/libpam_deny.a -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && !defined(NOCRYPT) STATIC_MODULES+= ${MODOBJDIR}/pam_kerberosIV/libpam_kerberosIV.a .endif -.if defined(MAKE_KERBEROS5) +.if defined(MAKE_KERBEROS5) && !defined(NOCRYPT) STATIC_MODULES+= ${MODOBJDIR}/pam_kerberos5/libpam_kerberos5.a .endif STATIC_MODULES+= ${MODOBJDIR}/pam_permit/libpam_permit.a diff --git a/lib/libpam/modules/Makefile b/lib/libpam/modules/Makefile index 74136ba4604e..8018dbdae50d 100644 --- a/lib/libpam/modules/Makefile +++ b/lib/libpam/modules/Makefile @@ -26,7 +26,7 @@ SUBDIR+= pam_cleartext_pass_ok SUBDIR+= pam_deny -.if defined(MAKE_KERBEROS4) +.if defined(MAKE_KERBEROS4) && !defined(NOCRYPT) SUBDIR+= pam_kerberosIV .endif SUBDIR+= pam_permit diff --git a/lib/libpam/modules/pam_kerberosIV/Makefile b/lib/libpam/modules/pam_kerberosIV/Makefile index fea324780ecc..ee4e6a6215e9 100644 --- a/lib/libpam/modules/pam_kerberosIV/Makefile +++ b/lib/libpam/modules/pam_kerberosIV/Makefile @@ -33,8 +33,14 @@ CFLAGS+= -Wall CFLAGS+= -I${PAMDIR}/libpam/include CFLAGS+= -I${.CURDIR}/../../libpam CFLAGS+= -DKERBEROS -DPADD+= ${LIBKRB} ${LIBDES} ${LIBGCC_PIC} ${LIBCOM_ERR} -LDADD+= -lkrb -ldes -lgcc_pic -lcom_err +DPADD+= ${LIBKRB} +LDADD+= -lkrb +.if !defined(NOSECURE) +DPADD+= ${LIBDES} +LDADD+= -ldes +.endif +DPADD+= ${LIBGCC_PIC} ${LIBCOM_ERR} +LDADD+= -lgcc_pic -lcom_err INTERNALLIB= yes INTERNALSTATICLIB=yes |
