From bbaba8b3ef9bc101863b8687f234f4ee956caacd Mon Sep 17 00:00:00 2001 From: Pavel Březina Date: Tue, 13 May 2014 23:00:01 +0200 Subject: sss_config: build only when IFP is allowed MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit since the IFP responder is currently the only planned consumer. Reviewed-by: Lukáš Slebodník --- Makefile.am | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index ce0f72733..a94baf82f 100644 --- a/Makefile.am +++ b/Makefile.am @@ -155,9 +155,11 @@ if BUILD_SSH non_interactive_check_based_tests += sysdb_ssh-tests endif +if BUILD_IFP if BUILD_CONFIG_LIB non_interactive_check_based_tests += sss_config-tests -endif +endif # BUILD_CONFIG_LIB +endif # BUILD_IFP endif @@ -662,6 +664,7 @@ SSSD_INTERNAL_LTLIBS = \ libsss_debug.la \ libsss_child.la +if BUILD_IFP if BUILD_CONFIG_LIB pkglib_LTLIBRARIES += libsss_config.la libsss_config_la_SOURCES = \ @@ -676,7 +679,8 @@ libsss_config_la_LIBADD = \ $(SSSD_INTERNAL_LTLIBS) libsss_config_la_LDFLAGS = \ -avoid-version -endif +endif # BUILD_CONFIG_LIB +endif # BUILD_IFP lib_LTLIBRARIES = libipa_hbac.la libsss_idmap.la libsss_nss_idmap.la pkgconfig_DATA += src/providers/ipa/ipa_hbac.pc @@ -1431,6 +1435,7 @@ sbus_codegen_tests_LDADD = \ $(SSSD_LIBS) \ $(CHECK_LIBS) +if BUILD_IFP if BUILD_CONFIG_LIB sss_config_tests_SOURCES = \ src/tests/sss_config-tests.c \ @@ -1444,7 +1449,8 @@ sss_config_tests_LDADD = \ $(SSSD_INTERNAL_LTLIBS) \ libsss_config.la \ libsss_test_common.la -endif +endif # BUILD_CONFIG_LIB +endif # BUILD_IFP if HAVE_CMOCKA -- cgit