summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2001-08-04 21:51:14 +0000
committermarkm <markm@FreeBSD.org>2001-08-04 21:51:14 +0000
commit3b252213206c869afbe8814f5c5cc2490484e58a (patch)
tree66e6d984cfd17a2869e9b125dca5af7bad0cf1db /lib
parent1f44b5f4e942490571e496b36e49a658f360c0a6 (diff)
downloadFreeBSD-src-3b252213206c869afbe8814f5c5cc2490484e58a.zip
FreeBSD-src-3b252213206c869afbe8814f5c5cc2490484e58a.tar.gz
Fix style/consistency in Makefile and repair static module building.
Submitted by: bde(partially)
Diffstat (limited to 'lib')
-rw-r--r--lib/libpam/modules/pam_ssh/Makefile6
-rw-r--r--lib/libpam/modules/pam_ssh/pam_ssh.c3
2 files changed, 4 insertions, 5 deletions
diff --git a/lib/libpam/modules/pam_ssh/Makefile b/lib/libpam/modules/pam_ssh/Makefile
index 828271a..82e4fda 100644
--- a/lib/libpam/modules/pam_ssh/Makefile
+++ b/lib/libpam/modules/pam_ssh/Makefile
@@ -6,9 +6,9 @@ SSHSRC= ${.CURDIR}/../../../../crypto/openssh
LIB= pam_ssh
SHLIB_NAME= pam_ssh.so
SRCS= pam_ssh.c
-CFLAGS= -I${SSHSRC}
-DPADD+= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
-LDADD+= -L${.OBJDIR}/../../../../secure/lib/libssh -lssh -lcrypto \
+CFLAGS+= -I${SSHSRC}
+DPADD= ${LIBCRYPTO} ${LIBCRYPT} ${LIBUTIL} ${LIBZ}
+LDADD= -L${.OBJDIR}/../../../../secure/lib/libssh -lssh -lcrypto \
-lcrypt -lutil -lz
.include <bsd.lib.mk>
diff --git a/lib/libpam/modules/pam_ssh/pam_ssh.c b/lib/libpam/modules/pam_ssh/pam_ssh.c
index 2e18050..6060912 100644
--- a/lib/libpam/modules/pam_ssh/pam_ssh.c
+++ b/lib/libpam/modules/pam_ssh/pam_ssh.c
@@ -517,5 +517,4 @@ pam_sm_close_session(pam_handle_t *pamh, int flags, int argc, const char **argv)
PAM_RETURN(PAM_SUCCESS);
}
-
-PAM_MODULE_ENTRY(MODULE_NAME);
+PAM_MODULE_ENTRY("pam_ssh");
OpenPOWER on IntegriCloud