summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-06-24 21:29:09 +0000
committerTavian Barnes <tavianator@gmail.com>2009-06-24 21:29:09 +0000
commita91667e54e042889de5480dd56b950923837335d (patch)
treec777f770889f95e4619c1bb987eb7e9dd2189d70 /tests/Makefile.am
parent603712c38a127e297eddd23975fb950499a0c10c (diff)
downloaddimension-a91667e54e042889de5480dd56b950923837335d.tar.xz
New convienence libraries for tests.
Diffstat (limited to 'tests/Makefile.am')
-rw-r--r--tests/Makefile.am31
1 files changed, 19 insertions, 12 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 513e57a..5d09994 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -17,23 +17,30 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ##
###########################################################################
-check_PROGRAMS = warning error png pngxx raytrace
-TESTS = $(check_PROGRAMS)
-XFAIL_TESTS = error
+check_LTLIBRARIES = libdimension-tests.la libdimensionxx-tests.la
+check_PROGRAMS = warning error png pngxx raytrace
+TESTS = $(check_PROGRAMS)
+XFAIL_TESTS = error
INCLUDES = -I../libdimension -I../libdimensionxx
-warning_SOURCES = warning.c
-warning_LDADD = ../libdimension/libdimension.la
+libdimension_tests_la_SOURCES = tests.h tests.c
+libdimension_tests_la_LIBADD = ../libdimension/libdimension.la
-error_SOURCES = error.c
-error_LDADD = ../libdimension/libdimension.la
+libdimensionxx_tests_la_SOURCES = testsxx.hpp testsxx.cpp
+libdimensionxx_tests_la_LIBADD = ../libdimensionxx/libdimensionxx.la
-png_SOURCES = png.c
-png_LDADD = ../libdimension/libdimension.la
+warning_SOURCES = warning.c
+warning_LDADD = ./libdimension-tests.la
-pngxx_SOURCES = pngxx.cpp
-pngxx_LDADD = ../libdimensionxx/libdimensionxx.la
+error_SOURCES = error.c
+error_LDADD = ./libdimension-tests.la
+
+png_SOURCES = png.c
+png_LDADD = ./libdimension-tests.la
+
+pngxx_SOURCES = pngxx.cpp
+pngxx_LDADD = ./libdimensionxx-tests.la
raytrace_SOURCES = raytrace.c
-raytrace_LDADD = ../libdimension/libdimension.la
+raytrace_LDADD = ./libdimension-tests.la