OpenPAM/modules/pam_deny/Makefile.am
Dag-Erling Smørgrav ac54af0d69 Add configure options to build as much as possible using the system
libpam and / or liboath.  Doing so disables building the corresponding
library and its documentation, but still builts the corresponding tools
and modules and runs the unit tests.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@834 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2014-10-28 10:25:58 +00:00

20 lines
438 B
Makefile

# $Id$
if CUSTOM_MODULES_DIR
moduledir = $(OPENPAM_MODULES_DIR)
else
moduledir = $(libdir)
endif
AM_CPPFLAGS = -I$(top_srcdir)/include
module_LTLIBRARIES = pam_deny.la
pam_deny_la_SOURCES = pam_deny.c
pam_deny_la_LDFLAGS = -no-undefined -module -version-info $(LIB_MAJ) \
-export-symbols-regex '^pam_sm_'
if WITH_SYSTEM_LIBPAM
pam_deny_la_LIBADD = $(SYSTEM_LIBPAM)
else
pam_deny_la_LIBADD = $(top_builddir)/lib/libpam/libpam.la
endif