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