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
|
|
|
|
2004-12-21 09:51:09 +00:00
|
|
|
NO_INSTALLLIB=
|
2006-03-19 04:49:11 +00:00
|
|
|
# MK_PROFILE= no
|
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)
|
2004-12-21 09:33:47 +00:00
|
|
|
NO_PIC=
|
2002-11-14 19:24:51 +00:00
|
|
|
.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"
|