aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2010-10-06 10:13:09 -0400
committerMichael Terry <mike@mterry.name>2010-10-06 10:13:09 -0400
commit682fd63278c0306437d43c827d7873403d3575af (patch)
tree9ee9028d268229ea8f991533d3518c7083818408 /tools
parentce0a5c849081e8d6f54a28f771dce0136a4e4b93 (diff)
downloadlibdbusmenu-682fd63278c0306437d43c827d7873403d3575af.tar.gz
libdbusmenu-682fd63278c0306437d43c827d7873403d3575af.tar.bz2
libdbusmenu-682fd63278c0306437d43c827d7873403d3575af.zip
instead of always building gtk2 and gtk3, add a --with-gtk= flag to configure to specify which to build with
Diffstat (limited to 'tools')
-rw-r--r--tools/testapp/Makefile.am8
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/testapp/Makefile.am b/tools/testapp/Makefile.am
index a8b42dd..39de532 100644
--- a/tools/testapp/Makefile.am
+++ b/tools/testapp/Makefile.am
@@ -1,4 +1,10 @@
+if USE_GTK3
+VER=3
+else
+VER=
+endif
+
libexec_PROGRAMS = dbusmenu-testapp
dbusmenu_testapp_SOURCES = \
@@ -12,6 +18,6 @@ dbusmenu_testapp_CFLAGS = \
dbusmenu_testapp_LDADD = \
$(builddir)/../../libdbusmenu-glib/libdbusmenu-glib.la \
- $(builddir)/../../libdbusmenu-gtk/libdbusmenu-gtk.la \
+ $(builddir)/../../libdbusmenu-gtk/libdbusmenu-gtk$(VER).la \
$(DBUSMENUGTK_LIBS) \
$(DBUSMENUTESTS_LIBS)