]> CyberLeo.Net >> Repos - FreeBSD/releng/9.2.git/blob - lib/libpam/modules/Makefile.inc
- Copy stable/9 to releng/9.2 as part of the 9.2-RELEASE cycle.
[FreeBSD/releng/9.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
10 # This is nasty.
11 # For the static case, libpam.a depends on the modules.
12 # For the dynamic case, the modules depend on libpam.so.N
13 .if defined(_NO_LIBPAM_SO_YET)
14 NO_PIC=
15 .else
16 SHLIB_NAME?=    ${LIB}.so.${SHLIB_MAJOR}
17 DPADD+=         ${LIBPAM}
18 LDADD+=         -lpam
19 .endif
20
21 .include "../Makefile.inc"