forked from pool/systemd
181 lines
3.4 KiB
Diff
181 lines
3.4 KiB
Diff
--- systemd-209/Makefile.am
|
|
+++ systemd-209/Makefile.am 2014-02-28 10:24:53.634235909 +0000
|
|
@@ -1091,6 +1091,12 @@ systemd_LDADD = \
|
|
libsystemd-core.la \
|
|
$(RT_LIBS)
|
|
|
|
+if HAVE_SECCOMP
|
|
+systemd_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
dist_pkgsysconf_DATA += \
|
|
src/core/system.conf \
|
|
src/core/user.conf
|
|
@@ -1187,6 +1193,12 @@ test_engine_LDADD = \
|
|
libsystemd-core.la \
|
|
$(RT_LIBS)
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_engine_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_job_type_SOURCES = \
|
|
src/test/test-job-type.c
|
|
|
|
@@ -1194,18 +1206,36 @@ test_job_type_LDADD = \
|
|
libsystemd-core.la \
|
|
$(RT_LIBS)
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_job_type_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_ns_SOURCES = \
|
|
src/test/test-ns.c
|
|
|
|
test_ns_LDADD = \
|
|
libsystemd-core.la
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_ns_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_loopback_SOURCES = \
|
|
src/test/test-loopback.c
|
|
|
|
test_loopback_LDADD = \
|
|
libsystemd-core.la
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_loopback_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_hostname_SOURCES = \
|
|
src/test/test-hostname.c
|
|
|
|
@@ -1230,6 +1260,12 @@ test_unit_name_LDADD = \
|
|
libsystemd-core.la \
|
|
$(RT_LIBS)
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_unit_name_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_unit_file_SOURCES = \
|
|
src/test/test-unit-file.c
|
|
|
|
@@ -1237,12 +1273,24 @@ test_unit_file_LDADD = \
|
|
libsystemd-core.la \
|
|
$(RT_LIBS)
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_unit_file_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_utf8_SOURCES = \
|
|
src/test/test-utf8.c
|
|
|
|
test_utf8_LDADD = \
|
|
libsystemd-shared.la
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_utf8_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_util_SOURCES = \
|
|
src/test/test-util.c
|
|
|
|
@@ -1255,6 +1303,12 @@ test_tmpfiles_SOURCES = \
|
|
test_tmpfiles_LDADD = \
|
|
libsystemd-shared.la
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_tmpfiles_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_namespace_SOURCES = \
|
|
src/test/test-namespace.c
|
|
|
|
@@ -1289,6 +1343,12 @@ test_tables_LDADD = \
|
|
libsystemd-core.la \
|
|
$(RT_LIBS)
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_tables_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_prioq_SOURCES = \
|
|
src/test/test-prioq.c
|
|
|
|
@@ -1374,6 +1434,12 @@ test_cgroup_mask_LDADD = \
|
|
libsystemd-core.la \
|
|
$(RT_LIBS)
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_cgroup_mask_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_cgroup_util_SOURCES = \
|
|
src/test/test-cgroup-util.c
|
|
|
|
@@ -1388,12 +1454,24 @@ test_env_replace_SOURCES = \
|
|
test_env_replace_LDADD = \
|
|
libsystemd-shared.la
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_env_replace_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_strbuf_SOURCES = \
|
|
src/test/test-strbuf.c
|
|
|
|
test_strbuf_LDADD = \
|
|
libsystemd-shared.la
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_strbuf_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
test_strv_SOURCES = \
|
|
src/test/test-strv.c
|
|
|
|
@@ -1440,6 +1518,12 @@ test_sched_prio_LDADD = \
|
|
libsystemd-core.la \
|
|
$(RT_LIBS)
|
|
|
|
+if HAVE_SECCOMP
|
|
+test_sched_prio_CFLAGS = \
|
|
+ $(AM_CFLAGS) \
|
|
+ $(SECCOMP_CFLAGS)
|
|
+endif
|
|
+
|
|
# ------------------------------------------------------------------------------
|
|
## .PHONY so it always rebuilds it
|
|
.PHONY: coverage lcov-run lcov-report coverage-sync
|