diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libpam/Makefile.inc | 1 | ||||
-rw-r--r-- | lib/libpam/libpam/Makefile | 6 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lib/libpam/Makefile.inc b/lib/libpam/Makefile.inc index 22c076b..1374326 100644 --- a/lib/libpam/Makefile.inc +++ b/lib/libpam/Makefile.inc @@ -29,3 +29,4 @@ DEBUG_FLAGS+= -DDEBUG .endif SHLIB_MAJOR= 2 +PAM_MOD_DIR= ${LIBDIR} diff --git a/lib/libpam/libpam/Makefile b/lib/libpam/libpam/Makefile index 2d85a72..6c81940 100644 --- a/lib/libpam/libpam/Makefile +++ b/lib/libpam/libpam/Makefile @@ -127,12 +127,16 @@ MAN= openpam.3 \ pam_strerror.3 \ pam_verror.3 \ pam_vinfo.3 \ - pam_vprompt.3 + pam_vprompt.3 \ + pam.conf.5 + +MLINKS= pam.conf.5 pam.d.5 CSTD?= c99 WARNS?= 3 CFLAGS+= -I${.CURDIR} -I${OPENPAM}/include CFLAGS+= -DLIB_MAJ=${SHLIB_MAJOR} +CFLAGS+= -DOPENPAM_MODULES_DIR='"${PAM_MOD_DIR:C/\/*$//}/"' HEADERS= security/openpam.h \ security/openpam_version.h \ |