Deleted Added
full compact
Makefile.inc (201381) Makefile.inc (204596)
1# $FreeBSD: head/lib/libpam/modules/Makefile.inc 201381 2010-01-02 09:58:07Z ed $
1# $FreeBSD: head/lib/libpam/modules/Makefile.inc 204596 2010-03-02 18:44:08Z uqs $
2
3PAMDIR= ${.CURDIR}/../../../../contrib/openpam
4
5NO_INSTALLLIB=
6NO_PROFILE=
7
8CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
2
3PAMDIR= ${.CURDIR}/../../../../contrib/openpam
4
5NO_INSTALLLIB=
6NO_PROFILE=
7
8CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
9WARNS?= 6
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)
15NO_PIC=
16.else
17SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
18DPADD+= ${LIBPAM}
19LDADD+= -lpam
20.endif
21
22.c.o:
23 ${CC} ${CFLAGS} -DOPENPAM_STATIC_MODULES -c ${.IMPSRC}
24
25.include "../Makefile.inc"
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}
17DPADD+= ${LIBPAM}
18LDADD+= -lpam
19.endif
20
21.c.o:
22 ${CC} ${CFLAGS} -DOPENPAM_STATIC_MODULES -c ${.IMPSRC}
23
24.include "../Makefile.inc"