diff options
| author | Ruslan Ermilov <ru@FreeBSD.org> | 2002-11-14 19:24:51 +0000 |
|---|---|---|
| committer | Ruslan Ermilov <ru@FreeBSD.org> | 2002-11-14 19:24:51 +0000 |
| commit | 3f66c888ecf811fe5335e48e2fba58d1060b96e4 (patch) | |
| tree | 1dbbd4e6702edd78dbe1db6013aa11812c87f48b /lib | |
| parent | 3b55a7235967981e35c7c42d252e3be104690702 (diff) | |
Notes
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/libpam/modules/Makefile.inc | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/libpam/modules/Makefile.inc b/lib/libpam/modules/Makefile.inc index 2b06deadb404..cdfe5990cf6d 100644 --- a/lib/libpam/modules/Makefile.inc +++ b/lib/libpam/modules/Makefile.inc @@ -4,7 +4,6 @@ PAMDIR= ${.CURDIR}/../../../../contrib/openpam NOINSTALLLIB= yes NOPROFILE= yes -SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR} CFLAGS+= -I${PAMDIR}/include CFLAGS+= -I${.CURDIR}/../../libpam @@ -14,8 +13,12 @@ NO_WERROR= yes # This is nasty. # For the static case, libpam.a depends on the modules. # For the dynamic case, the modules depend on libpam.so.N -# Punt for the time being until I can figure out how to do it. -#DPADD+= ${LIBPAM} -#LDADD+= -lpam +.if defined(_NO_LIBPAM_SO_YET) +NOPIC= YES +.else +SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR} +DPADD+= ${LIBPAM} +LDADD+= -lpam +.endif .include "../Makefile.inc" |
