1# $FreeBSD: head/lib/libpam/modules/Makefile.inc 112044 2003-03-09 20:06:38Z obrien $
| 1# $FreeBSD: head/lib/libpam/modules/Makefile.inc 136910 2004-10-24 15:33:08Z ru $
|
2 3PAMDIR= ${.CURDIR}/../../../../contrib/openpam 4
| 2 3PAMDIR= ${.CURDIR}/../../../../contrib/openpam 4
|
5NOINSTALLLIB= yes 6NOPROFILE= yes
| 5NOINSTALLLIB= 6NOPROFILE=
|
7 8CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam 9WARNS?= 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)
| 7 8CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam 9WARNS?= 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)
|
15NOPIC= YES
| 15NOPIC=
|
16.else 17SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR} 18DPADD+= ${LIBPAM} 19LDADD+= -lpam 20.endif 21 22.include "../Makefile.inc"
| 16.else 17SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR} 18DPADD+= ${LIBPAM} 19LDADD+= -lpam 20.endif 21 22.include "../Makefile.inc"
|