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