]> CyberLeo.Net >> Repos - FreeBSD/releng/7.2.git/blob - lib/libpam/modules/Makefile.inc
Create releng/7.2 from stable/7 in preparation for 7.2-RELEASE.
[FreeBSD/releng/7.2.git] / lib / libpam / modules / Makefile.inc
1 # $FreeBSD$
2
3 PAMDIR=         ${.CURDIR}/../../../../contrib/openpam
4
5 NO_INSTALLLIB=
6 NO_PROFILE=
7
8 CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
9 WARNS?= 4
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 .if defined(_NO_LIBPAM_SO_YET)
15 NO_PIC=
16 .else
17 SHLIB_NAME?=    ${LIB}.so.${SHLIB_MAJOR}
18 DPADD+=         ${LIBPAM}
19 LDADD+=         -lpam
20 .endif
21
22 .include "../Makefile.inc"