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
|
|
|
|
2003-03-09 20:06:38 +00:00
|
|
|
CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
|
|
|
|
WARNS?= 4
|
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
|
|
|
|
2003-03-09 20:06:38 +00:00
|
|
|
.include "../Makefile.inc"
|