summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
authorPavel Březina <pbrezina@redhat.com>2014-05-13 23:00:01 +0200
committerJakub Hrozek <jhrozek@redhat.com>2014-05-14 11:13:48 +0200
commitbbaba8b3ef9bc101863b8687f234f4ee956caacd (patch)
tree940db6666f9b3c489024000b232b06772bc8d15d /Makefile.am
parent80314a6f3ea8d81abe73d501d5b953a256cb2167 (diff)
downloadsssd-bbaba8b3ef9bc101863b8687f234f4ee956caacd.tar.gz
sssd-bbaba8b3ef9bc101863b8687f234f4ee956caacd.tar.xz
sssd-bbaba8b3ef9bc101863b8687f234f4ee956caacd.zip
sss_config: build only when IFP is allowed
since the IFP responder is currently the only planned consumer. Reviewed-by: Lukáš Slebodník <lslebodn@redhat.com>
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am12
1 files changed, 9 insertions, 3 deletions
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