From d9ec4cfedc5d542c7389cad31b33613de3882fd4 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Wed, 1 Jun 2011 15:32:49 -0400 Subject: some further automake magic for dual versioning --- example/Makefile.am | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'example') 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) -- cgit v1.2.3