[Pixman] [PATCH 3/3] test/Makefile.am: Move all the TEST_LDADD into a new global LDADD.
Søren Sandmann
sandmann at cs.au.dk
Thu Feb 10 10:22:41 PST 2011
From: Søren Sandmann Pedersen <ssp at redhat.com>
This gets rid of a bunch of replicated *_LDADD clauses
---
test/Makefile.am | 35 +----------------------------------
1 files changed, 1 insertions(+), 34 deletions(-)
diff --git a/test/Makefile.am b/test/Makefile.am
index 0f03153..3ce466e 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1,7 +1,6 @@
AM_CFLAGS = @OPENMP_CFLAGS@
AM_LDFLAGS = @OPENMP_CFLAGS@ @TESTPROGS_EXTRA_LDFLAGS@
-
-TEST_LDADD = $(top_builddir)/pixman/libpixman-1.la -lm
+LDADD = $(top_builddir)/pixman/libpixman-1.la -lm
INCLUDES = -I$(top_srcdir)/pixman -I$(top_builddir)/pixman
TESTPROGRAMS = \
@@ -22,46 +21,15 @@ TESTPROGRAMS = \
affine-test \
composite
-a1_trap_test_LDADD = $(TEST_LDADD)
-
-fetch_test_LDADD = $(TEST_LDADD)
-
-trap_crasher_LDADD = $(TEST_LDADD)
-
-oob_test_LDADD = $(TEST_LDADD)
-
-scaling_crash_test_LDADD = $(TEST_LDADD)
-
-region_translate_test_LDADD = $(TEST_LDADD)
-
-pdf_op_test_LDADD = $(TEST_LDADD)
pdf_op_test_SOURCES = pdf-op-test.c utils.c utils.h
-
-region_test_LDADD = $(TEST_LDADD)
region_test_SOURCES = region-test.c utils.c utils.h
-
-blitters_test_LDADD = $(TEST_LDADD)
blitters_test_SOURCES = blitters-test.c utils.c utils.h
-
-scaling_test_LDADD = $(TEST_LDADD)
scaling_test_SOURCES = scaling-test.c utils.c utils.h
-
-affine_test_LDADD = $(TEST_LDADD)
affine_test_SOURCES = affine-test.c utils.c utils.h
-
-alphamap_LDADD = $(TEST_LDADD)
alphamap_SOURCES = alphamap.c utils.c utils.h
-
-alpha_loop_LDADD = $(TEST_LDADD)
alpha_loop_SOURCES = alpha-loop.c utils.c utils.h
-
-composite_LDADD = $(TEST_LDADD)
composite_SOURCES = composite.c utils.c utils.h
-
-gradient_crash_test_LDADD = $(TEST_LDADD)
gradient_crash_test_SOURCES = gradient-crash-test.c utils.c utils.h
-
-stress_test_LDADD = $(TEST_LDADD)
stress_test_SOURCES = stress-test.c utils.c utils.h
# Benchmarks
@@ -70,7 +38,6 @@ BENCHMARKS = \
lowlevel-blt-bench
lowlevel_blt_bench_SOURCES = lowlevel-blt-bench.c utils.c utils.h
-lowlevel_blt_bench_LDADD = $(TEST_LDADD)
noinst_PROGRAMS = $(TESTPROGRAMS) $(BENCHMARKS)
--
1.7.3.1
More information about the Pixman
mailing list