20 lines
500 B
Makefile
20 lines
500 B
Makefile
# $OpenPAM: Makefile.am 938 2017-04-30 21:34:42Z des $
|
|
|
|
if CUSTOM_MODULES_DIR
|
|
moduledir = $(OPENPAM_MODULES_DIR)
|
|
else
|
|
moduledir = $(libdir)
|
|
endif
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
|
|
|
module_LTLIBRARIES = pam_unix.la
|
|
|
|
pam_unix_la_SOURCES = pam_unix.c
|
|
pam_unix_la_LDFLAGS = -no-undefined -module -version-info $(LIB_MAJ) \
|
|
-export-symbols-regex '^pam_sm_'
|
|
if WITH_SYSTEM_LIBPAM
|
|
pam_unix_la_LIBADD = $(SYSTEM_LIBPAM)
|
|
else
|
|
pam_unix_la_LIBADD = $(top_builddir)/lib/libpam/libpam.la $(CRYPT_LIBS)
|
|
endif
|