Makefile.am revision 35a2af0c24277e9b9d935271abc3b709fa856d3e
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallaghernoinst_LIBRARIES = libpassword.a
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagherauth_moduledir = $(moduledir)/auth
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagher# automake seems to force making this unconditional..
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen GallagherNOPLUGIN_LDFLAGS =
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagherif GSSAPI_PLUGIN
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherauth_module_LTLIBRARIES = \
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagher $(GSSAPI_LIB) \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpkglibexecdir = $(libexecdir)/dovecot
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen Gallagherpkglibexec_PROGRAMS = auth checkpassword-reply
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen GallagherAM_CPPFLAGS = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(top_srcdir)/src/lib \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(top_srcdir)/src/lib-auth \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(top_srcdir)/src/lib-test \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(top_srcdir)/src/lib-dict \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(top_srcdir)/src/lib-dns \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(top_srcdir)/src/lib-sql \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(top_srcdir)/src/lib-stats \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(top_srcdir)/src/lib-ntlm \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(top_srcdir)/src/lib-otp \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher -I$(top_srcdir)/src/lib-master \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose -DAUTH_MODULE_DIR=\""$(auth_moduledir)"\" \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose -DPKG_LIBEXECDIR=\""$(pkglibexecdir)"\" \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose -DPKG_RUNDIR=\""$(rundir)"\" \
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke $(AUTH_CFLAGS)
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkeauth_LDFLAGS = -export-dynamic
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallagherlibpassword_a_SOURCES = \
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorce $(LIBDOVECOT_SQL)
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekauth_LDADD = $(auth_libs) $(LIBDOVECOT) $(AUTH_LIBS)
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagherauth_DEPENDENCIES = $(auth_libs) $(LIBDOVECOT_DEPS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_sources = db-ldap.c passdb-ldap.c userdb-ldap.c
4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256Stephen Gallagherauth_SOURCES = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(ldap_sources)
e046ae03d0f55b1c8b0ec2fa6139bf86a3449adfPavel Březinaif GSSAPI_PLUGIN
939246537b0b9a4af6862c513d3919501ad57d92Sumit Boselibmech_gssapi_la_LDFLAGS = -module -avoid-version
f69f3581658351003a6d9245045e41d0efb85022Sumit Boselibmech_gssapi_la_LIBADD = $(KRB5_LIBS)
1ce58f139699dd26b8888f4131c996263b6a80a5Jakub Hrozeklibmech_gssapi_la_CPPFLAGS = $(AM_CPPFLAGS) $(KRB5_CFLAGS) -DPLUGIN_BUILD
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichllibmech_gssapi_la_SOURCES = mech-gssapi.c
cebdc563a094d305b91da5b5af4d95d8e3a1bf27Pavel Reichlif LDAP_PLUGIN
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozeklibauthdb_ldap_la_LDFLAGS = -module -avoid-version
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozeklibauthdb_ldap_la_LIBADD = $(LDAP_LIBS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibauthdb_ldap_la_CPPFLAGS = $(AM_CPPFLAGS) -DPLUGIN_BUILD
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibauthdb_ldap_la_SOURCES = $(ldap_sources)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibauthdb_imap_la_LDFLAGS = -module -avoid-version
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibauthdb_imap_la_LIBADD = \
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherlibauthdb_imap_la_CPPFLAGS = \
fa551077410019fb34460dc730950e93b62b2963Jakub Hrozek $(AM_CPPFLAGS) \
fa551077410019fb34460dc730950e93b62b2963Jakub Hrozek -I$(top_srcdir)/src/lib-imap \
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherlibauthdb_imap_la_SOURCES = passdb-imap.c
03a071399ab5fb58d4bb4fa38928413a21ae4d61Nikolai Kondrashovpkginc_libdir=$(pkgincludedir)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpkginc_lib_HEADERS = $(headers)
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozekcheckpassword_reply_LDADD = $(LIBDOVECOT)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheckpassword_reply_DEPENDENCIES = $(LIBDOVECOT_DEPS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheckpassword_reply_sources = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstats_moduledir = $(moduledir)/stats
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstats_module_LTLIBRARIES = libstats_auth.la
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibstats_auth_la_LDFLAGS = -module -avoid-version
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibstats_auth_la_LIBADD = auth-stats.lo $(LIBDOVECOT)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibstats_auth_la_DEPENDENCIES = auth-stats.lo
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibstats_auth_la_SOURCES =
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghertest_programs = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher test-auth-cache \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher test-auth-request-var-expand \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bosenoinst_PROGRAMS = $(test_programs)
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bosetest_libs = \
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzketest_auth_cache_SOURCES = test-auth-cache.c
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzketest_auth_cache_LDADD = auth-cache.o $(test_libs)
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzketest_auth_cache_DEPENDENCIES = $(pkglibexec_PROGRAMS) $(test_libs)
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallaghertest_auth_request_var_expand_SOURCES = test-auth-request-var-expand.c
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallaghertest_auth_request_var_expand_LDADD = auth-request-var-expand.o auth-fields.o $(test_libs)
96453f402831275a39d5fb89c33c9776e148d03fStephen Gallaghertest_auth_request_var_expand_DEPENDENCIES = $(pkglibexec_PROGRAMS) $(test_libs)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghertest_db_dict_SOURCES = test-db-dict.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghertest_db_dict_LDADD = db-dict-cache-key.o $(test_libs)
c7919a4fe41133cc466aa3d9431bfceee5784e7bJan Cholastatest_db_dict_DEPENDENCIES = $(pkglibexec_PROGRAMS) $(test_libs)
c7919a4fe41133cc466aa3d9431bfceee5784e7bJan Cholastacheck: check-am check-test
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozekcheck-test: all-am
3b08dec5ee634f83ee18e1753d5ffe0ac5e3c458Jakub Hrozek for bin in $(test_programs); do \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher if ! $(RUN_TEST) ./$$bin; then exit 1; fi; \