1# $FreeBSD$ 2 3PAMDIR= ${.CURDIR}/../../../../contrib/libpam 4 5INTERNALLIB= yes 6INTERNALSTATICLIB=yes 7 8CFLAGS+= -Wall 9CFLAGS+= -I${PAMDIR}/libpam/include 10CFLAGS+= -I${.CURDIR}/../../libpam 11 12# This is nasty. 13# For the static case, libpam.a depends on the modules. 14# For the dynamic case, the modules depend on libpam.so.N 15# Punt for the time being until I can figure out how to do it. 16#DPADD+= ${LIBPAM} 17#LDADD+= -lpam 18