1LIBPAMDIR= ${.CURDIR}/../../libpam 2MODULE_SHLIB_MAJOR!=grep -w LIB_MAJ ${LIBPAMDIR}/config.h | awk '{print $$3}' 3SHLIB_NAME= ${LIB}.so.${MODULE_SHLIB_MAJOR} 4SHLIB_MAJOR= ${MODULE_SHLIB_MAJOR} 5NOINSTALLLIB= yes 6NOPROFILE= yes 7 8TARGET_LIBDIR= ${LIBDIR}/security 9TARGET_SHLIBDIR= ${LIBDIR}/security 10 11CFLAGS+= -I${LIBPAMDIR} 12LDADD+= -lpam 13# XXX workaround for recursive depends 14DPADD+= ${LIBPAM:M*libpam.a:R:S/$/.so/} 15 16OPENPAM_DIR= ${.CURDIR}/../../../../contrib/openpam 17 18.include "../Makefile.inc" 19