xref: /freebsd/lib/libpam/modules/Makefile.inc (revision eacee0ff7ec955b32e09515246bd97b6edcd2b0f)
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