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