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
|
|
|
|
2014-04-25 19:25:13 +00:00
|
|
|
MK_INSTALLLIB= no
|
2014-04-25 19:25:26 +00:00
|
|
|
MK_PROFILE= no
|
2001-06-04 19:47:56 +00:00
|
|
|
|
2011-11-24 13:18:58 +00:00
|
|
|
CFLAGS+= -I${PAMDIR}/include -I${.CURDIR}/../../libpam
|
2001-06-04 19:47:56 +00:00
|
|
|
|
2011-11-24 13:18:58 +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
|
|
|
|
.if defined(_NO_LIBPAM_SO_YET)
|
|
|
|
NO_PIC=
|
|
|
|
.else
|
2002-11-14 19:24:51 +00:00
|
|
|
SHLIB_NAME?= ${LIB}.so.${SHLIB_MAJOR}
|
2014-11-25 11:07:26 +00:00
|
|
|
LIBADD+= pam
|
2011-11-24 13:18:58 +00:00
|
|
|
.endif
|
2009-02-17 16:35:19 +00:00
|
|
|
|
2003-03-09 20:06:38 +00:00
|
|
|
.include "../Makefile.inc"
|