From 14d288511323d4f384d4764ab25a42693ff19f4a Mon Sep 17 00:00:00 2001 From: Javier Date: Sat, 17 May 2014 19:53:53 +0200 Subject: gtk3 client library + module now hackishly working --- libtopmenu-client/Makefile.am | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) (limited to 'libtopmenu-client/Makefile.am') diff --git a/libtopmenu-client/Makefile.am b/libtopmenu-client/Makefile.am index b57343b..f4f8b6f 100644 --- a/libtopmenu-client/Makefile.am +++ b/libtopmenu-client/Makefile.am @@ -1,8 +1,21 @@ -lib_LTLIBRARIES = libtopmenu-client.la -libtopmenu_client_la_SOURCES = topmenu-client.c topmenu-client.h \ +if GTK3 + +lib_LTLIBRARIES = libtopmenu-client-gtk3.la +libtopmenu_client_gtk3_la_SOURCES = topmenu-client.c topmenu-client.h \ + topmenu-monitor.c topmenu-monitor.h \ + topmenu-appmenubar.c topmenu-appmenubar.h +libtopmenu_client_gtk3_la_CPPFLAGS = $(GTK_CFLAGS) -DG_LOG_DOMAIN=\"topmenu-client\" +libtopmenu_client_gtk3_la_LIBADD = $(GTK_LIBS) + +else + +lib_LTLIBRARIES = libtopmenu-client-gtk2.la +libtopmenu_client_gtk2_la_SOURCES = topmenu-client.c topmenu-client.h \ topmenu-monitor.c topmenu-monitor.h \ topmenu-appmenubar.c topmenu-appmenubar.h -libtopmenu_client_la_CPPFLAGS = $(GTK_CFLAGS) -DG_LOG_DOMAIN=\"topmenu-client\" -libtopmenu_client_la_LIBADD = $(GTK_LIBS) +libtopmenu_client_gtk2_la_CPPFLAGS = $(GTK_CFLAGS) -DG_LOG_DOMAIN=\"topmenu-client\" +libtopmenu_client_gtk2_la_LIBADD = $(GTK_LIBS) + +endif include_HEADERS = topmenu-client.h topmenu-monitor.h topmenu-appmenubar.h -- cgit v1.2.3