Makefile.am revision 35a2af0c24277e9b9d935271abc3b709fa856d3e
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallaghernoinst_LIBRARIES = libpassword.a
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagherauth_moduledir = $(moduledir)/auth
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagher
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagher# automake seems to force making this unconditional..
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen GallagherNOPLUGIN_LDFLAGS =
c252d148fa8ab50aaaa8bbae7beb4d208025171dNikolai Kondrashov
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagherif GSSAPI_PLUGIN
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen GallagherGSSAPI_LIB = libmech_gssapi.la
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagherendif
c636315472e4f87313af7be30b7fbcad4b8ca8a4Stephen Gallagher
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen Gallagherif LDAP_PLUGIN
8c294c1cd4d721818a59684cf7f2b36123f79163Stephen GallagherLDAP_LIB = libauthdb_ldap.la
fd5a4eacd56700ffb08a73121aeacdc806cb0132Sumit Boseendif
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagher
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagherauth_module_LTLIBRARIES = \
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagher $(GSSAPI_LIB) \
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagher $(LDAP_LIB) \
8b1f525acd20f36c836e827de3c251088961c5d9Stephen Gallagher libauthdb_imap.la
84ae5edab16ad6be5e3be956cb6fa031c1428eb5Stephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpkglibexecdir = $(libexecdir)/dovecot
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen Gallagher
df4cc3a83c5d6700b6a09ff96cb4a6b1949b1aa9Stephen Gallagherpkglibexec_PROGRAMS = auth checkpassword-reply
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
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-settings \
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 Franzke
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzkeauth_LDFLAGS = -export-dynamic
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallagherlibpassword_a_SOURCES = \
2a552e43581c74f51205c7141ec9f6e9542509f8Stephen Gallagher mycrypt.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher password-scheme.c \
8214510f125879c3b1d247f2ce981ee20b5375d1Jakub Hrozek password-scheme-crypt.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher password-scheme-md5crypt.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher password-scheme-scram.c \
d921c1eba437662437847279f251a0a5d8f70127Maxim password-scheme-otp.c \
2cbdd12983eb85eddb90f64cfafb24eae5b448f4Jakub Hrozek password-scheme-rpa.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherauth_libs = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher libpassword.a \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ../lib-ntlm/libntlm.a \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher ../lib-otp/libotp.a \
eb2e21b764d03544d8161e9956d7f70b07b75f77Simo Sorce $(LIBDOVECOT_SQL)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
2a5790216f57e9bdfb2930d52860bb5300366536Jakub Hrozekauth_LDADD = $(auth_libs) $(LIBDOVECOT) $(AUTH_LIBS)
9542512d7be40f2000298c86d3d2b728f4f0f65aStephen Gallagherauth_DEPENDENCIES = $(auth_libs) $(LIBDOVECOT_DEPS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherldap_sources = db-ldap.c passdb-ldap.c userdb-ldap.c
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher
4b6a0d0b3d42e5fdb457f47d9adfa5e66b160256Stephen Gallagherauth_SOURCES = \
e124844907ed6973915e4d56f5442ecd07535a12Jakub Hrozek auth.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-cache.c \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher auth-client-connection.c \
b32159300fea63222d8dd9200ed634087704ea74Stephen Gallagher auth-master-connection.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-postfix-connection.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-otp-skey-common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-plain-common.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-penalty.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-request.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-request-handler.c \
054b5d4bb98973698f74d66b14ccd14394b53f10Lukas Slebodnik auth-request-stats.c \
054b5d4bb98973698f74d66b14ccd14394b53f10Lukas Slebodnik auth-request-var-expand.c \
a3d176d116ceccd6a7547c128fab5df5cdd2c2b6Michal Zidek auth-settings.c \
a3d176d116ceccd6a7547c128fab5df5cdd2c2b6Michal Zidek auth-stats.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-fields.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-token.c \
4f6931e854c698dcb1c09f99eb330ce2fb97e7c6Lukas Slebodnik auth-worker-client.c \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher auth-worker-server.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher db-checkpassword.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher db-dict.c \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta db-dict-cache-key.c \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta db-sql.c \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta db-passwd-file.c \
9a3e40dc49c1e38bf58e45be5adff37615f3910bJan Cholasta main.c \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta mech.c \
558998ce664055a75595371118f818084d8f2b23Jan Cholasta mech-anonymous.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-plain.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-login.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-cram-md5.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-digest-md5.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-external.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-gssapi.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-ntlm.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-otp.c \
c737e1444fb186e349e59bfa9dac4995b720b4b1Jan Zeleny mech-scram-sha1.c \
f1828234a850dd28465425248a83a993f262918fPavel Březina mech-skey.c \
6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8Nick Guay mech-rpa.c \
6ea6ec5cb7d9985e2730fb9d4657624d10aed4d8Nick Guay mech-apop.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-winbind.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-dovecot-token.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher passdb.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher passdb-blocking.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher passdb-bsdauth.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher passdb-cache.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher passdb-checkpassword.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher passdb-dict.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina passdb-passwd.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina passdb-passwd-file.c \
2827b0d03f7b6bafa504d22a5d7ca39cbda048b3Pavel Březina passdb-pam.c \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek passdb-shadow.c \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek passdb-sia.c \
9e80079370ff3b943832adc3c5ef430e64be0a0cJakub Hrozek passdb-vpopmail.c \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta passdb-sql.c \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta passdb-static.c \
e7311aec8d691e5427317442387af1bc8fff3742Jan Cholasta passdb-template.c \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek userdb.c \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek userdb-blocking.c \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek userdb-checkpassword.c \
cb4d5b588e704114b7090678752d33512baa718eJakub Hrozek userdb-dict.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher userdb-nss.c \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose userdb-passwd.c \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose userdb-passwd-file.c \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose userdb-prefetch.c \
b9e5bd09a5ff7009537a18914dbebcf10498f592Sumit Bose userdb-static.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher userdb-vpopmail.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher userdb-sql.c \
36ccdecd053a9ad88dce86b8c84770dc2aa11d21Simo Sorce userdb-template.c \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher $(ldap_sources)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherheaders = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-cache.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-client-connection.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-master-connection.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-postfix-connection.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-otp-skey-common.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech-plain-common.h \
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher auth-penalty.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher auth-request.h \
69aaef8719c5cf33ed1c4090fa313ba281bf8a02Jakub Hrozek auth-request-handler.h \
4dd615c01357b8715711aad6820ba9595d3ad377Stephen Gallagher auth-request-stats.h \
fe60346714a73ac3987f786731389320633dd245Pavel Březina auth-request-var-expand.h \
a6098862048d4bb469130b9ff21be3020d6f2c54Sumit Bose auth-settings.h \
2d257ccf620ce1b611f89cec8f0a94c88c2f2881Sumit Bose auth-stats.h \
b9d8c6172e48a2633ebe196b2e88bebdf9523c20Stef Walter auth-fields.h \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter auth-token.h \
f5e47e1d65f80ffdb1893feab18583a74d661214Stef Walter auth-worker-client.h \
b699c4d7f85a5404be1d1ee9450331aea869b886Stef Walter auth-worker-server.h \
e5e8252ec48bfdd4e7529debc705c8e090264b9aSumit Bose db-dict.h \
71e7918be3ca5d38794a16a17f6b4f19a24d51fcPavel Březina db-ldap.h \
8359bf07a2e6c0181251ce8d5d9160dc57546c55Stephen Gallagher db-sql.h \
71e7918be3ca5d38794a16a17f6b4f19a24d51fcPavel Březina db-passwd-file.h \
71e7918be3ca5d38794a16a17f6b4f19a24d51fcPavel Březina db-checkpassword.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mech.h \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher mycrypt.h \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek passdb.h \
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek passdb-blocking.h \
a65a64aee968bd2ac18156ced15a1e2509a8acbaAbhishek Singh passdb-cache.h \
ae6c1596225c65bec2a2dabff9eee4e3e0691181Abhishek Singh passdb-template.h \
2a9af1f71887f02935e2fb6ad5023afba5b6d43eSumit Bose password-scheme.h \
d00ffd2cb4e2f17c75b466178bb645b5c9317909Pallavi Jha userdb.h \
461da2984c747708e8badd27fa55ef879f40e712Pallavi Jha userdb-blocking.h \
9cb46bc62f22e0104f1b41a423b014c281ef5fc2Jakub Hrozek userdb-template.h \
777374243e15c53e7b0a7345e190c1018920be18Jakub Hrozek userdb-vpopmail.h
d064fef06dcbcb5f6c1be03e286b1a3433d6dfd7Sumit Bose
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
72ae534f5aef6d2e5d3f2f51299aede5abf9687eJakub Hrozekendif
90afedb00608547ae1f32aa7aafd552c4b306909Jakub Hrozek
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)
f232789430a080384188d5da89b19d874cf17513Jakub Hrozekendif
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozek
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibauthdb_imap_la_LDFLAGS = -module -avoid-version
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherlibauthdb_imap_la_LIBADD = \
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher ../lib-imap-client/libimap_client.la \
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher $(LIBDOVECOT)
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherlibauthdb_imap_la_CPPFLAGS = \
fa551077410019fb34460dc730950e93b62b2963Jakub Hrozek $(AM_CPPFLAGS) \
fa551077410019fb34460dc730950e93b62b2963Jakub Hrozek -I$(top_srcdir)/src/lib-imap \
fa551077410019fb34460dc730950e93b62b2963Jakub Hrozek -I$(top_srcdir)/src/lib-imap-client
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagherlibauthdb_imap_la_SOURCES = passdb-imap.c
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
03a071399ab5fb58d4bb4fa38928413a21ae4d61Nikolai Kondrashovpkginc_libdir=$(pkgincludedir)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherpkginc_lib_HEADERS = $(headers)
bf5a808fa92007c325c3996e79694badfab201d4Stephen Gallagher
150b76e13b7c4f3ccf1d709bf517ca2af6b2c9a2Jakub Hrozekcheckpassword_reply_LDADD = $(LIBDOVECOT)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheckpassword_reply_DEPENDENCIES = $(LIBDOVECOT_DEPS)
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghercheckpassword_reply_sources = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher checkpassword-reply.c
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstats_moduledir = $(moduledir)/stats
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagherstats_module_LTLIBRARIES = libstats_auth.la
effcbdb12c7ef892f1fd92a745cb33a08ca4ba30Stephen Gallagher
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 Gallagher
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallaghertest_programs = \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher test-auth-cache \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher test-auth-request-var-expand \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher test-db-dict
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bosenoinst_PROGRAMS = $(test_programs)
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bosetest_libs = \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose ../lib-test/libtest.la \
90fd1bbd6035cdab46faa3a695a2fb2be6508b17Sumit Bose ../lib/liblib.la
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke
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)
af4ffe1001adcc0a96897e426d26444f07af9aa1Benjamin Franzke
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 Gallagher
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)
b35f20cd8ecdc8308a3201e55752fb0443ec6ae4Jan Cholasta
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; \
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher done
551aa6c36797ed720487f5974dcadabf19e6ff9fStephen Gallagher