1# $FreeBSD$ 2 3PAMDIR= ${.CURDIR}/../../../../contrib/openpam 4 5NOINSTALLLIB= yes 6NOPROFILE= yes 7SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR} 8 9CFLAGS+= -I${PAMDIR}/include 10CFLAGS+= -I${.CURDIR}/../../libpam 11WARNS?= 4 12NO_WERROR= yes 13 14# This is nasty. 15# For the static case, libpam.a depends on the modules. 16# For the dynamic case, the modules depend on libpam.so.N 17# Punt for the time being until I can figure out how to do it. 18#DPADD+= ${LIBPAM} 19#LDADD+= -lpam 20 21.include "../Makefile.inc" 22