177719Smarkm# $FreeBSD$ 277720Smarkm 391714SdesPAMDIR= ${.CURDIR}/../../../../contrib/openpam 477720Smarkm 5139110SruNO_INSTALLLIB= 6156872SruNO_PROFILE= 777720Smarkm 8227933SdesCFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam 977720Smarkm 10227933Sdes# This is nasty. 11227933Sdes# For the static case, libpam.a depends on the modules. 12227933Sdes# For the dynamic case, the modules depend on libpam.so.N 13227933Sdes.if defined(_NO_LIBPAM_SO_YET) 14227933SdesNO_PIC= 15227933Sdes.else 16106921SruSHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR} 17227933SdesDPADD+= ${LIBPAM} 18227933SdesLDADD+= -lpam 19227933Sdes.endif 2089760Smarkm 21112044Sobrien.include "../Makefile.inc" 22