gtk2/examples/Makefile.am
Martin Pitt 76cd14410c Fix GDK linking for Gtk typelib and example builds
Add missing GDK linking to GIR build and examples:

  GISCAN Gtk-3.0.gir
  CCLD   gtk-query-immodules-3.0
./.libs/libgtk-3.so: undefined reference to `gdk_keymap_get_modifier_mask'
./.libs/libgtk-3.so: undefined reference to `gdk_modifier_intent_get_type'
./.libs/libgtk-3.so: undefined reference to `gdk_window_begin_resize_drag_for_device'
./.libs/libgtk-3.so: undefined reference to `gdk_event_triggers_context_menu'
collect2: ld returned 1 exit status

  CCLD   grid-packing
../gtk/.libs/libgtk-3.so: undefined reference to `gdk_keymap_get_modifier_mask'
[...]

https://bugzilla.gnome.org/show_bug.cgi?id=664027
2011-11-15 06:18:18 +01:00

61 lines
1.0 KiB
Makefile

# these have a handrolled Makefile that gets in the way of distchecking
# so they will not be included in tarballs until they get integrated
# in the new 'getting started' section of the docs
OLD_EXAMPLES = \
arrow \
aspectframe \
base \
buttonbox \
buttons \
calendar \
entry \
eventbox \
fixed \
frame \
gtkdial \
helloworld \
helloworld2 \
label \
menu \
notebook \
packbox \
paned \
progressbar \
radiobuttons \
rangewidgets \
rulers \
scribble-simple \
scribble-xinput \
scrolledwin \
selection \
spinbutton \
statusbar \
table \
tictactoe \
wheelbarrow
AM_CPPFLAGS = \
-I$(top_srcdir) \
-I$(top_srcdir)/gdk \
-I$(top_builddir)/gdk \
-DGDK_DISABLE_DEPRECATED \
-DGTK_DISABLE_DEPRECATED \
$(GTK_DEBUG_FLAGS) \
$(GTK_DEP_CFLAGS)
LDADD = \
$(top_builddir)/gtk/libgtk-3.la \
$(top_builddir)/gdk/libgdk-3.la \
$(GTK_DEP_LIBS)
noinst_PROGRAMS = \
hello-world \
window-default \
bloatpad \
grid-packing \
drawing \
builder
EXTRA_DIST = builder.ui