1if CUSTOM_MODULES_DIR 2moduledir = $(OPENPAM_MODULES_DIR) 3else 4moduledir = $(libdir) 5endif 6AM_CPPFLAGS = -I$(top_srcdir)/include 7 8module_LTLIBRARIES = pam_deny.la 9 10pam_deny_la_SOURCES = pam_deny.c 11pam_deny_la_LDFLAGS = -no-undefined -module -version-info $(LIB_MAJ) \ 12 -export-symbols-regex '^pam_sm_' 13if WITH_SYSTEM_LIBPAM 14pam_deny_la_LIBADD = $(SYSTEM_LIBPAM) 15else 16pam_deny_la_LIBADD = $(top_builddir)/lib/libpam/libpam.la 17endif 18