summaryrefslogtreecommitdiffstats
path: root/server/Makefile.am
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2009-10-30 11:25:55 +0100
committerStephen Gallagher <sgallagh@redhat.com>2009-10-30 08:12:54 -0400
commitebc27f0240902dc0fc1bdc052406233b78cb303e (patch)
tree3cc1eba76d3a357195843602c97008ea3f90255d /server/Makefile.am
parent44685ff64447b7ad87c75aec478e5f21bd50b4b7 (diff)
downloadsssd-ebc27f0240902dc0fc1bdc052406233b78cb303e.tar.gz
sssd-ebc27f0240902dc0fc1bdc052406233b78cb303e.tar.xz
sssd-ebc27f0240902dc0fc1bdc052406233b78cb303e.zip
Add AM_CFLAGS to unit tests
Diffstat (limited to 'server/Makefile.am')
-rw-r--r--server/Makefile.am20
1 files changed, 12 insertions, 8 deletions
diff --git a/server/Makefile.am b/server/Makefile.am
index 63020c8d0..81223f48a 100644
--- a/server/Makefile.am
+++ b/server/Makefile.am
@@ -380,6 +380,7 @@ sysdb_tests_SOURCES = \
tests/sysdb-tests.c \
$(SSSD_UTIL_OBJ)
sysdb_tests_CFLAGS = \
+ $(AM_CFLAGS) \
$(CHECK_CFLAGS)
sysdb_tests_LDADD = \
$(SSSD_LIBS) \
@@ -390,6 +391,7 @@ strtonum_tests_SOURCES = \
util/debug.c \
util/strtonum.c
strtonum_tests_CFLAGS = \
+ $(AM_CFLAGS) \
$(CHECK_CFLAGS)
strtonum_tests_LDADD = \
$(SSSD_LIBS) \
@@ -402,6 +404,7 @@ krb5_utils_tests_SOURCES = \
providers/data_provider_opts.c \
$(SSSD_UTIL_OBJ)
krb5_utils_tests_CFLAGS = \
+ $(AM_CFLAGS) \
$(CHECK_CFLAGS)
krb5_utils_tests_LDADD = \
$(SSSD_LIBS)\
@@ -412,6 +415,7 @@ check_and_open_tests_SOURCES = \
tests/check_and_open-tests.c \
util/check_and_open.c
check_and_open_tests_CFLAGS = \
+ $(AM_CFLAGS) \
$(CHECK_CFLAGS)
check_and_open_tests_LDADD = \
$(CHECK_LIBS)
@@ -430,24 +434,18 @@ files_tests_SOURCES = \
util/check_and_open.c \
util/files.c
files_tests_CFLAGS = \
+ $(AM_CFLAGS) \
$(CHECK_CFLAGS)
files_tests_LDADD = \
$(FILES_TESTS_LIBS)
-endif
-
-stress_tests_SOURCES = \
- tests/stress-tests.c \
- $(SSSD_UTIL_OBJ)
-stress_tests_LDADD = \
- $(SSSD_LIBS)
-if HAVE_CHECK
resolv_tests_SOURCES = \
tests/resolv-tests.c \
tests/common.c \
$(SSSD_UTIL_OBJ) \
$(SSSD_RESOLV_OBJ)
resolv_tests_CFLAGS = \
+ $(AM_CFLAGS) \
$(CHECK_CFLAGS)
resolv_tests_LDADD = \
$(SSSD_LIBS) \
@@ -455,6 +453,12 @@ resolv_tests_LDADD = \
$(CARES_LIBS)
endif
+stress_tests_SOURCES = \
+ tests/stress-tests.c \
+ $(SSSD_UTIL_OBJ)
+stress_tests_LDADD = \
+ $(SSSD_LIBS)
+
####################
# Plugin Libraries #
####################