Update build for OpenPAM Lycopsida.
[dragonfly.git] / lib / pam_module / Makefile.inc
1 LIBPAMDIR=      ${.CURDIR}/../../libpam
2 MODULE_SHLIB_MAJOR!=grep -w LIB_MAJ ${LIBPAMDIR}/config.h | awk '{print $$3}'
3 SHLIB_NAME= ${LIB}.so.${MODULE_SHLIB_MAJOR}
4 SHLIB_MAJOR=    ${MODULE_SHLIB_MAJOR}
5 NOINSTALLLIB=   yes
6 NOPROFILE=      yes
7
8 TARGET_LIBDIR=          ${LIBDIR}/security
9 TARGET_SHLIBDIR=        ${LIBDIR}/security
10
11 CFLAGS+=        -I${LIBPAMDIR}
12 LDADD+= -lpam
13
14 OPENPAM_DIR=    ${.CURDIR}/../../../contrib/openpam