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