summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Makefile.am23
1 files changed, 15 insertions, 8 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index d5874ad..93f4eee 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,3 +1,5 @@
+INCLUDES= $(all_includes) $(KDE_INCLUDES)/tde
+
EXTRA_DIST = \
test-widgets.glade
@@ -7,26 +9,31 @@ noinst_PROGRAMS = \
test_widgets_CFLAGS = \
-I$(top_srcdir) \
- $(TDEGTK_CFLAGS)
+ $(TDEGTK_CFLAGS) \
+ $(CAIRO_CFLAGS) \
+ $(GTK3_CFLAGS)
test_widgets_LDADD = \
$(TDEGTK_LIBADD)
test_widgets_LDFLAGS = \
- $(TDEGTK_LDFLAGS)
+ $(TDEGTK_LDFLAGS) \
+ $(CAIRO_LIBS) \
+ $(GTK3_LIBS)
test_painter_SOURCES = test-painter.cpp
test_painter_CXXFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/tdegtk \
- -I/usr/include/tqt -I/usr/include/tqt3 \
- $(TDEGTK_CFLAGS)
+ $(TDEGTK_CFLAGS) \
+ $(CAIRO_CFLAGS) \
+ $(GTK3_CFLAGS)
test_painter_LDADD = \
- $(TDEGTK_LIBADD) ../tdegtk/libtqtcairo.la -ltqt -ltqt-mt
+ $(TDEGTK_LIBADD) ../tdegtk/libtqtcairo.la $(all_libraries) $(CAIRO_LIBS) $(GTK3_LIBS) $(LIB_QT)
test_painter_LDFLAGS = \
- $(TDEGTK_LDFLAGS)
-
-# FIXME(Cimi): Figure out what tests must be compiled and add them here.
+ $(TDEGTK_LDFLAGS) \
+ $(CAIRO_LIBS) \
+ $(GTK3_LIBS)