aboutsummaryrefslogtreecommitdiff
path: root/libtopmenu-client/Makefile.am
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-05-17 19:53:53 +0200
committerJavier <dev.git@javispedro.com>2014-05-17 19:53:53 +0200
commit14d288511323d4f384d4764ab25a42693ff19f4a (patch)
treed69907ed23d9df328459b598c0c8f914782013cd /libtopmenu-client/Makefile.am
parentfae72947043ae3b1627dac77b3c42bf2e1dbbd09 (diff)
downloadtopmenu-gtk-14d288511323d4f384d4764ab25a42693ff19f4a.tar.gz
topmenu-gtk-14d288511323d4f384d4764ab25a42693ff19f4a.zip
gtk3 client library + module now hackishly working
Diffstat (limited to 'libtopmenu-client/Makefile.am')
-rw-r--r--libtopmenu-client/Makefile.am21
1 files changed, 17 insertions, 4 deletions
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