summaryrefslogtreecommitdiffstats
path: root/lib/libpam/modules/Makefile.inc
blob: 2b06deadb4046c34c1ddcc42803e975676982332 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# $FreeBSD$

PAMDIR=		${.CURDIR}/../../../../contrib/openpam

NOINSTALLLIB=	yes
NOPROFILE=	yes
SHLIB_NAME?=	${LIB}.so.${SHLIB_MAJOR}

CFLAGS+=	-I${PAMDIR}/include
CFLAGS+=	-I${.CURDIR}/../../libpam
WARNS?=		4
NO_WERROR=	yes

# This is nasty.
# For the static case, libpam.a depends on the modules.
# For the dynamic case, the modules depend on libpam.so.N
# Punt for the time being until I can figure out how to do it.
#DPADD+=		${LIBPAM}
#LDADD+=		-lpam

.include	"../Makefile.inc"
OpenPOWER on IntegriCloud