diff options
Diffstat (limited to 'lib/libpam/modules/Makefile.inc')
-rw-r--r-- | lib/libpam/modules/Makefile.inc | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/libpam/modules/Makefile.inc b/lib/libpam/modules/Makefile.inc new file mode 100644 index 0000000..70f85db --- /dev/null +++ b/lib/libpam/modules/Makefile.inc @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PAMDIR= ${.CURDIR}/../../../../contrib/openpam + +INTERNALLIB= yes +INTERNALSTATICLIB=yes + +CFLAGS+= -I${PAMDIR}/include +CFLAGS+= -I${.CURDIR}/../../libpam +WARNS?= 4 + +# 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 + +.include "../Makefile.inc" |