1# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $ 2 3if CUSTOM_MODULES_DIR 4moduledir = $(OPENPAM_MODULES_DIR) 5else 6moduledir = $(libdir) 7endif 8AM_CPPFLAGS = -I$(top_srcdir)/include 9 10module_LTLIBRARIES = pam_unix.la 11 12pam_unix_la_SOURCES = pam_unix.c 13pam_unix_la_LDFLAGS = -no-undefined -module -version-info $(LIB_MAJ) \ 14 -export-symbols-regex '^pam_sm_' 15if WITH_SYSTEM_LIBPAM 16pam_unix_la_LIBADD = $(SYSTEM_LIBPAM) 17else 18pam_unix_la_LIBADD = $(top_builddir)/lib/libpam/libpam.la $(CRYPT_LIBS) 19endif 20