Deleted Added
full compact
Makefile.inc (106921) Makefile.inc (112044)
1# $FreeBSD: head/lib/libpam/modules/Makefile.inc 106921 2002-11-14 19:24:51Z ru $
1# $FreeBSD: head/lib/libpam/modules/Makefile.inc 112044 2003-03-09 20:06:38Z obrien $
2
3PAMDIR= ${.CURDIR}/../../../../contrib/openpam
4
5NOINSTALLLIB= yes
6NOPROFILE= yes
7
2
3PAMDIR= ${.CURDIR}/../../../../contrib/openpam
4
5NOINSTALLLIB= yes
6NOPROFILE= yes
7
8CFLAGS+= -I${PAMDIR}/include
9CFLAGS+= -I${.CURDIR}/../../libpam
10WARNS?= 4
11NO_WERROR= yes
8CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
9WARNS?= 4
12
13# This is nasty.
14# For the static case, libpam.a depends on the modules.
15# For the dynamic case, the modules depend on libpam.so.N
16.if defined(_NO_LIBPAM_SO_YET)
17NOPIC= YES
18.else
19SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
20DPADD+= ${LIBPAM}
21LDADD+= -lpam
22.endif
23
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
16.else
17SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
18DPADD+= ${LIBPAM}
19LDADD+= -lpam
20.endif
21
24.include "../Makefile.inc"
22.include "../Makefile.inc"