diff options
author | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-03-09 12:26:36 +0100 |
---|---|---|
committer | Alexey Yakovenko <waker@users.sourceforge.net> | 2014-03-09 12:26:36 +0100 |
commit | b6832fc06c87a2fd9c98dd5061466985dc612b67 (patch) | |
tree | b5ece337333eb859f1ad89d8b7cee24b797829f0 /plugins | |
parent | aafb296013538a7beddbe4749b66868cb84b0cea (diff) |
gtk linking changes for static build
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/converter/Makefile.am | 9 | ||||
-rw-r--r-- | plugins/gtkui/Makefile.am | 17 | ||||
-rw-r--r-- | plugins/pltbrowser/Makefile.am | 9 | ||||
-rw-r--r-- | plugins/shellexecui/Makefile.am | 9 |
4 files changed, 0 insertions, 44 deletions
diff --git a/plugins/converter/Makefile.am b/plugins/converter/Makefile.am index b9db1162..cc379437 100644 --- a/plugins/converter/Makefile.am +++ b/plugins/converter/Makefile.am @@ -50,17 +50,8 @@ endif if HAVE_GTK3 converter_gtk3_la_SOURCES = convgui.c interface.c support.c callbacks.h converter.h interface.h support.h converter_gtk3_la_LDFLAGS = -module -avoid-version -if STATICLINK -GTK_ROOT_300=@top_srcdir@/$(LIB)/gtk-3.0.0 - -converter_gtk3_la_LIBADD = $(LDADD) -L$(GTK_ROOT_300)/lib -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lfreetype $(SM_LIBADD) - -converter_gtk3_la_CFLAGS = -std=c99 -I$(GTK_ROOT_300)/include/gtk-3.0 -I$(GTK_ROOT_300)/include/pango-1.0 -I$(GTK_ROOT_300)/include/gio-unix-2.0/ -I$(GTK_ROOT_300)/include/atk-1.0 -I$(GTK_ROOT_300)/include/cairo -I$(GTK_ROOT_300)/include/gdk-pixbuf-2.0 -I$(GTK_ROOT_300)/include/freetype2 -I$(GTK_ROOT_300)/include/glib-2.0 -I$(GTK_ROOT_300)/lib/glib-2.0/include $(SM_CFLAGS) - -else converter_gtk3_la_LIBADD = $(LDADD) $(GTK3_DEPS_LIBS) converter_gtk3_la_CFLAGS = -std=c99 $(GTK3_DEPS_CFLAGS) endif -endif endif diff --git a/plugins/gtkui/Makefile.am b/plugins/gtkui/Makefile.am index 24cdff97..d7f6fcc9 100644 --- a/plugins/gtkui/Makefile.am +++ b/plugins/gtkui/Makefile.am @@ -154,17 +154,9 @@ GTKUI_SOURCES_GTK2 = $(GTKUI_SOURCES) ddb_gui_GTK2_la_SOURCES = $(GTKUI_SOURCES_GTK2) ddb_gui_GTK2_la_LDFLAGS = -module -avoid-version -if STATICLINK -GTK_ROOT_216=@top_srcdir@/$(LIB)/gtk-2.16.0 - -ddb_gui_GTK2_la_LIBADD = $(LDADD) -L$(GTK_ROOT_216)/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 $(SM_LIBADD) ../libparser/libparser.a $(GTKGLEXT2_LIBS) - -ddb_gui_GTK2_la_CFLAGS = -std=c99 -I$(GTK_ROOT_216)/include/gtk-2.0 -I$(GTK_ROOT_216)/lib/gtk-2.0/include -I$(GTK_ROOT_216)/include/atk-1.0 -I$(GTK_ROOT_216)/include/cairo -I$(GTK_ROOT_216)/include/pango-1.0 -I$(GTK_ROOT_216)/include -I$(GTK_ROOT_216)/include/glib-2.0 -I$(GTK_ROOT_216)/lib/glib-2.0/include $(SM_CFLAGS) $(GTKGLEXT_CFLAGS_GTK2) -else ddb_gui_GTK2_la_LIBADD = $(LDADD) $(GTK2_DEPS_LIBS) $(SM_LIBADD) ../libparser/libparser.a $(GTKGLEXT2_LIBS) ddb_gui_GTK2_la_CFLAGS = -std=c99 $(GTK2_DEPS_CFLAGS) $(SM_CFLAGS) $(GTKGLEXT_CFLAGS_GTK2) -DDDB_WARN_DEPRECATED=1 -endif endif @@ -233,21 +225,12 @@ GTKGLEXT_CFLAGS_GTK3 = -I@top_srcdir@/plugins/gtkui/gtkglext-gtk3 -I@top_srcdir@ ddb_gui_GTK3_la_LDFLAGS = -module -avoid-version -if STATICLINK -ddb_gui_GTK3_la_SOURCES = $(GTKUI_SOURCES_GTK3) -GTK_ROOT_300=@top_srcdir@/$(LIB)/gtk-3.0.0 - -ddb_gui_GTK3_la_LIBADD = $(LDADD) -L$(GTK_ROOT_300)/lib -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lfreetype $(SM_LIBADD) ../libparser/libparser.a $(GTKGLEXT3_LIBS) - -ddb_gui_GTK3_la_CFLAGS = -std=c99 -I$(GTK_ROOT_300)/include/gtk-3.0 -I$(GTK_ROOT_300)/include/pango-1.0 -I$(GTK_ROOT_300)/include/gio-unix-2.0/ -I$(GTK_ROOT_300)/include/atk-1.0 -I$(GTK_ROOT_300)/include/cairo -I$(GTK_ROOT_300)/include/gdk-pixbuf-2.0 -I$(GTK_ROOT_300)/include/freetype2 -I$(GTK_ROOT_300)/include/glib-2.0 -I$(GTK_ROOT_300)/lib/glib-2.0/include $(SM_CFLAGS) $(GTKGLEXT_CFLAGS_GTK3) -else ddb_gui_GTK3_la_SOURCES = $(GTKUI_SOURCES_GTK3) ddb_gui_GTK3_la_LIBADD = $(LDADD) $(GTK3_DEPS_LIBS) $(SM_LIBADD) ../libparser/libparser.a $(GTKGLEXT3_LIBS) ddb_gui_GTK3_la_CFLAGS = -std=c99 $(GTK3_DEPS_CFLAGS) $(SM_CFLAGS) $(GTKGLEXT_CFLAGS_GTK3) ddb_gui_GTK3_la_OBJCFLAGS = $(GTK3_DEPS_CFLAGS) $(SM_CFLAGS) $(GTKGLEXT_CFLAGS_GTK3) endif -endif # fallback lib if STATICLINK diff --git a/plugins/pltbrowser/Makefile.am b/plugins/pltbrowser/Makefile.am index 935df2d8..ffcc610e 100644 --- a/plugins/pltbrowser/Makefile.am +++ b/plugins/pltbrowser/Makefile.am @@ -32,17 +32,8 @@ endif if HAVE_GTK3 pltbrowser_gtk3_la_SOURCES = pltbrowser.c pltbrowser_gtk3_la_LDFLAGS = -module -avoid-version -if STATICLINK -GTK_ROOT_300=@top_srcdir@/$(LIB)/gtk-3.0.0 - -pltbrowser_gtk3_la_LIBADD = $(LDADD) -L$(GTK_ROOT_300)/lib -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lfreetype $(SM_LIBADD) - -pltbrowser_gtk3_la_CFLAGS = -std=c99 -I$(GTK_ROOT_300)/include/gtk-3.0 -I$(GTK_ROOT_300)/include/pango-1.0 -I$(GTK_ROOT_300)/include/gio-unix-2.0/ -I$(GTK_ROOT_300)/include/atk-1.0 -I$(GTK_ROOT_300)/include/cairo -I$(GTK_ROOT_300)/include/gdk-pixbuf-2.0 -I$(GTK_ROOT_300)/include/freetype2 -I$(GTK_ROOT_300)/include/glib-2.0 -I$(GTK_ROOT_300)/lib/glib-2.0/include $(SM_CFLAGS) - -else pltbrowser_gtk3_la_LIBADD = $(LDADD) $(GTK3_DEPS_LIBS) pltbrowser_gtk3_la_CFLAGS = -std=c99 $(GTK3_DEPS_CFLAGS) endif -endif endif diff --git a/plugins/shellexecui/Makefile.am b/plugins/shellexecui/Makefile.am index 52c596cd..22d84e57 100644 --- a/plugins/shellexecui/Makefile.am +++ b/plugins/shellexecui/Makefile.am @@ -34,18 +34,9 @@ endif if HAVE_GTK3 shellexecui_gtk3_la_SOURCES = shellexecui.c interface.c support.c callbacks.c interface.h support.h callbacks.h shellexecui_gtk3_la_LDFLAGS = -module -avoid-version -if STATICLINK -GTK_ROOT_300=@top_srcdir@/$(LIB)/gtk-3.0.0 - -shellexecui_gtk3_la_LIBADD = $(LDADD) -L$(GTK_ROOT_300)/lib -lgtk-3 -lgdk-3 -latk-1.0 -lgio-2.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo-gobject -lpango-1.0 -lcairo -lgobject-2.0 -lglib-2.0 -lfreetype $(SM_LIBADD) - -shellexecui_gtk3_la_CFLAGS = -std=c99 -I$(GTK_ROOT_300)/include/gtk-3.0 -I$(GTK_ROOT_300)/include/pango-1.0 -I$(GTK_ROOT_300)/include/gio-unix-2.0/ -I$(GTK_ROOT_300)/include/atk-1.0 -I$(GTK_ROOT_300)/include/cairo -I$(GTK_ROOT_300)/include/gdk-pixbuf-2.0 -I$(GTK_ROOT_300)/include/freetype2 -I$(GTK_ROOT_300)/include/glib-2.0 -I$(GTK_ROOT_300)/lib/glib-2.0/include $(SM_CFLAGS) - -else shellexecui_gtk3_la_LIBADD = $(LDADD) $(GTK3_DEPS_LIBS) shellexecui_gtk3_la_CFLAGS = -std=c99 $(GTK3_DEPS_CFLAGS) endif -endif endif |