2001-06-04 19:25:41 +00:00
|
|
|
# $FreeBSD$
|
2001-06-04 19:47:56 +00:00
|
|
|
|
2002-03-05 21:56:25 +00:00
|
|
|
PAMDIR= ${.CURDIR}/../../../../contrib/openpam
|
2001-06-04 19:47:56 +00:00
|
|
|
|
2002-05-13 10:53:24 +00:00
|
|
|
NOINSTALLLIB= yes
|
|
|
|
NOPROFILE= yes
|
2001-06-04 19:47:56 +00:00
|
|
|
|
2002-03-07 16:03:56 +00:00
|
|
|
CFLAGS+= -I${PAMDIR}/include
|
2001-06-04 19:47:56 +00:00
|
|
|
CFLAGS+= -I${.CURDIR}/../../libpam
|
2002-04-06 19:25:36 +00:00
|
|
|
WARNS?= 4
|
2002-04-15 13:10:28 +00:00
|
|
|
NO_WERROR= yes
|
2001-06-04 19:47:56 +00:00
|
|
|
|
|
|
|
# This is nasty.
|
|
|
|
# For the static case, libpam.a depends on the modules.
|
|
|
|
# For the dynamic case, the modules depend on libpam.so.N
|
2002-11-14 19:24:51 +00:00
|
|
|
.if defined(_NO_LIBPAM_SO_YET)
|
|
|
|
NOPIC= YES
|
|
|
|
.else
|
|
|
|
SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
|
|
|
|
DPADD+= ${LIBPAM}
|
|
|
|
LDADD+= -lpam
|
|
|
|
.endif
|
2002-01-24 18:37:17 +00:00
|
|
|
|
|
|
|
.include "../Makefile.inc"
|