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
|
|
|
|
|
|
|
INTERNALLIB= yes
|
|
|
|
INTERNALSTATICLIB=yes
|
2002-04-10 18:07:05 +00:00
|
|
|
SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
|
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
|
|
|
|
# Punt for the time being until I can figure out how to do it.
|
|
|
|
#DPADD+= ${LIBPAM}
|
|
|
|
#LDADD+= -lpam
|
2002-01-24 18:37:17 +00:00
|
|
|
|
|
|
|
.include "../Makefile.inc"
|