Makefile.am revision ca44a6ba994aaa3231a20ef6e046dfd97a8dcd2d
noinst_LIBRARIES = libpassword.a
auth_moduledir = $(moduledir)/auth
if GSSAPI_PLUGIN
GSSAPI_LIB = libmech_gssapi.la
endif
if LDAP_PLUGIN
LDAP_LIB = libauthdb_ldap.la
endif
auth_module_LTLIBRARIES = \
$(GSSAPI_LIB) \
$(LDAP_LIB)
pkglibexecdir = $(libexecdir)/dovecot
pkglibexec_PROGRAMS = dovecot-auth checkpassword-reply
AM_CPPFLAGS = \
-I$(top_srcdir)/src/lib \
-I$(top_srcdir)/src/lib-auth \
-I$(top_srcdir)/src/lib-sql \
-I$(top_srcdir)/src/lib-settings \
-I$(top_srcdir)/src/lib-ntlm \
-I$(top_srcdir)/src/lib-otp \
-I$(top_srcdir)/src/lib-master \
-DAUTH_MODULE_DIR=\""$(auth_moduledir)"\" \
-DPKG_LIBEXECDIR=\""$(pkglibexecdir)"\" \
$(AUTH_CFLAGS)
dovecot_auth_LDFLAGS = -export-dynamic
libpassword_a_SOURCES = \
dovecot_auth_libs = \
$(LIBDOVECOT_SQL)
dovecot_auth_LDADD = $(dovecot_auth_libs) $(LIBDOVECOT) $(AUTH_LIBS) $(MODULE_LIBS)
dovecot_auth_DEPENDENCIES = $(dovecot_auth_libs) $(LIBDOVECOT_DEPS)
dovecot_auth_SOURCES = \
auth.c \
db-sql.c \
main.c \
mech.c \
passdb.c \
userdb.c \
$(ldap_sources)
headers = \
auth.h \
db-sql.h \
mech.h \
passdb.h \
userdb.h \
if GSSAPI_PLUGIN
libmech_gssapi_la_LDFLAGS = -module -avoid-version
libmech_gssapi_la_LIBADD = $(KRB5_LIBS)
libmech_gssapi_la_CPPFLAGS = $(AM_CPPFLAGS) $(KRB5_CFLAGS) -DPLUGIN_BUILD
libmech_gssapi_la_SOURCES = mech-gssapi.c
endif
if LDAP_PLUGIN
libauthdb_ldap_la_LDFLAGS = -module -avoid-version
libauthdb_ldap_la_LIBADD = $(LDAP_LIBS)
libauthdb_ldap_la_CPPFLAGS = $(AM_CPPFLAGS) -DPLUGIN_BUILD
libauthdb_ldap_la_SOURCES = $(ldap_sources)
endif
if INSTALL_HEADERS
pkginc_libdir=$(pkgincludedir)
pkginc_lib_HEADERS = $(headers)
else
noinst_HEADERS = $(headers)
endif
checkpassword_reply_LDADD = $(LIBDOVECOT)
checkpassword_reply_DEPENDENCIES = $(LIBDOVECOT_DEPS)
checkpassword_reply_sources = \