Makefile.inc (98e0ffaefb0f241cda3a72395d3be04192ae0d47) Makefile.inc (7cbd0a2953a27e74f8b1b261808068719c1f5260)
1# $FreeBSD$
2
3PAMDIR= ${.CURDIR}/../../../../contrib/openpam
4
5MK_INSTALLLIB= no
6MK_PROFILE= no
7
8CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
9
1# $FreeBSD$
2
3PAMDIR= ${.CURDIR}/../../../../contrib/openpam
4
5MK_INSTALLLIB= no
6MK_PROFILE= no
7
8CFLAGS+= -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)
14NO_PIC=
15.else
16SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
17LIBADD+= pam
10SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
11LIBADD+= pam
18.endif
19
20.include "../Makefile.inc"
12
13.include "../Makefile.inc"