aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-06-01 15:32:49 -0400
committerMichael Terry <mike@mterry.name>2011-06-01 15:32:49 -0400
commitd9ec4cfedc5d542c7389cad31b33613de3882fd4 (patch)
tree442c710a60f9dc2749feba2be8db1f41c42ba737 /example
parent5ddcf6b51cdcb8d793748ff4a812f843a0d4f6e7 (diff)
downloadayatana-ido-d9ec4cfedc5d542c7389cad31b33613de3882fd4.tar.gz
ayatana-ido-d9ec4cfedc5d542c7389cad31b33613de3882fd4.tar.bz2
ayatana-ido-d9ec4cfedc5d542c7389cad31b33613de3882fd4.zip
some further automake magic for dual versioning
Diffstat (limited to 'example')
-rw-r--r--example/Makefile.am10
1 files changed, 8 insertions, 2 deletions
diff --git a/example/Makefile.am b/example/Makefile.am
index 7e76434..b986b9b 100644
--- a/example/Makefile.am
+++ b/example/Makefile.am
@@ -1,3 +1,9 @@
+if USE_GTK3
+VER=3
+else
+VER=
+endif
+
noinst_PROGRAMS = \
messagedialog \
menus
@@ -24,6 +30,6 @@ menus_CPPFLAGS = \
$(GTK_CFLAGS) \
$(MAINTAINER_CFLAGS)
-messagedialog_LDADD = $(top_builddir)/src/libido-0.1.la $(GTK_LIBS)
+messagedialog_LDADD = $(top_builddir)/src/libido$(VER)-0.1.la $(GTK_LIBS)
-menus_LDADD = $(top_builddir)/src/libido-0.1.la $(GTK_LIBS)
+menus_LDADD = $(top_builddir)/src/libido$(VER)-0.1.la $(GTK_LIBS)