summaryrefslogtreecommitdiffstats
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am15
1 files changed, 12 insertions, 3 deletions
diff --git a/Makefile.am b/Makefile.am
index c46bba5da..483584e53 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -177,7 +177,6 @@ if HAVE_CMOCKA
test_sss_idmap \
test_ipa_idmap \
test_utils \
- ad_access_filter_tests \
ad_common_tests \
dp_opt_tests \
responder-get-domains-tests \
@@ -188,6 +187,10 @@ if BUILD_IFP
non_interactive_cmocka_based_tests += ifp_tests
endif # BUILD_IFP
+if BUILD_SAMBA
+non_interactive_cmocka_based_tests += ad_access_filter_tests
+endif
+
endif # HAVE_CMOCKA
check_PROGRAMS = \
@@ -214,10 +217,14 @@ sssdlib_LTLIBRARIES = \
libsss_ldap.la \
libsss_krb5.la \
libsss_proxy.la \
- libsss_ipa.la \
- libsss_ad.la \
libsss_simple.la
+if BUILD_SAMBA
+sssdlib_LTLIBRARIES += \
+ libsss_ipa.la \
+ libsss_ad.la
+endif
+
ldblib_LTLIBRARIES = \
memberof.la
@@ -1943,7 +1950,9 @@ libsss_ldap_common_la_SOURCES += \
src/providers/ldap/sdap_async_autofs.c
endif
+if BUILD_SAMBA
pkglib_LTLIBRARIES += libsss_ad_common.la
+endif
libsss_ad_common_la_SOURCES = \
$(libsss_ad_la_SOURCES)
libsss_ad_common_la_LDFLAGS = \