summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.am
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-12 23:51:27 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-11-12 23:51:27 -0600
commitacc82b617ddbee05e509392c09e2729bc2fc1911 (patch)
tree32e0a5705d9557a077c7a41bdb8254eaacb64258 /tests/Makefile.am
parent7665959f2b71297d880ca1371a04c15611db2fce (diff)
downloadgtk3-tqt-engine-acc82b617ddbee05e509392c09e2729bc2fc1911.tar.gz
gtk3-tqt-engine-acc82b617ddbee05e509392c09e2729bc2fc1911.zip
Migrate to TDE build system and fix crashes
Diffstat (limited to 'tests/Makefile.am')
-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)