summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2017-02-05 17:06:05 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2017-02-05 17:28:41 +0100
commit50d510c6e66673849ff1eabbe9a8d6f9e363b1fc (patch)
tree271aee8eeff57343284ab5aa6a16500f8124a146 /test
parent23f0882bf1e40396de530e44255ce5987b5248ff (diff)
Compile plugingui as a library.
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am26
1 files changed, 5 insertions, 21 deletions
diff --git a/test/Makefile.am b/test/Makefile.am
index fbe10a9..1cb6ce1 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -4,7 +4,7 @@ SUBDIRS = dgreftest
if ENABLE_TESTS
include $(top_srcdir)/src/Makefile.am.drumgizmo
-include $(top_srcdir)/plugingui/Makefile.am.plugingui
+#include $(top_srcdir)/plugingui/Makefile.am.plugingui
TESTS = resource enginetest paintertest resampler configfile audiocache \
audiocachefile audiocacheidmanager audiocacheeventhandler \
@@ -101,20 +101,11 @@ enginetest_SOURCES = \
enginetest.cc
paintertest_CXXFLAGS = -DOUTPUT=\"paintertest\" $(CPPUNIT_CFLAGS) \
- -I$(top_srcdir)/src -I$(top_srcdir)/include \
- -I$(top_srcdir)/hugin -DDISABLE_HUGIN $(PTHREAD_CFLAGS) \
- $(PLUGIN_GUI_CPPFLAGS)
-paintertest_LDFLAGS = $(CPPUNIT_LIBS)
+ -I$(top_srcdir)/src -I$(top_srcdir)/include -I$(top_srcdir)/plugingui \
+ -I$(top_srcdir)/hugin -DDISABLE_HUGIN $(PTHREAD_CFLAGS)
+paintertest_LDFLAGS = $(CPPUNIT_LIBS) $(top_srcdir)/plugingui/libdggui.la
paintertest_SOURCES = \
test.cc \
- $(top_srcdir)/plugingui/painter.cc \
- $(top_srcdir)/plugingui/pixelbuffer.cc \
- $(top_srcdir)/plugingui/colour.cc \
- $(top_srcdir)/plugingui/font.cc \
- $(top_srcdir)/plugingui/image.cc \
- $(top_srcdir)/plugingui/resource.cc \
- $(top_srcdir)/plugingui/resource_data.cc \
- $(top_srcdir)/plugingui/lodepng/lodepng.cpp \
paintertest.cc
resampler_CXXFLAGS = -DOUTPUT=\"resampler\" $(CPPUNIT_CFLAGS) \
@@ -186,15 +177,8 @@ EXTRA_DIST = \
imagecachetest_CXXFLAGS = -DOUTPUT=\"imagecachetest\" $(CPPUNIT_CFLAGS) \
-I$(top_srcdir)/src -I$(top_srcdir)/plugingui -I$(top_srcdir)/hugin
-imagecachetest_LDFLAGS = $(CPPUNIT_LIBS)
+imagecachetest_LDFLAGS = $(CPPUNIT_LIBS) $(top_srcdir)/plugingui/libdggui.la
imagecachetest_SOURCES = \
- $(top_srcdir)/hugin/hugin.c \
- $(top_srcdir)/plugingui/lodepng/lodepng.cpp \
- $(top_srcdir)/plugingui/resource_data.cc \
- $(top_srcdir)/plugingui/resource.cc \
- $(top_srcdir)/plugingui/image.cc \
- $(top_srcdir)/plugingui/imagecache.cc \
- $(top_srcdir)/plugingui/colour.cc \
imagecachetest.cc \
test.cc