]> Pileus Git - ~andy/gtk/blob - demos/Makefile.am
Fix DSO link issues
[~andy/gtk] / demos / Makefile.am
1 ## Makefile.am for gtk+/demos
2 include $(top_srcdir)/Makefile.decl
3
4 SUBDIRS = gtk-demo
5
6 INCLUDES =                              \
7         -I$(top_srcdir)                 \
8         -I$(top_builddir)/gdk           \
9         -DGDK_DISABLE_DEPRECATED        \
10         -DGTK_DISABLE_DEPRECATED        \
11         $(GTK_DEBUG_FLAGS)              \
12         $(GTK_DEP_CFLAGS)
13
14 DEPS = \
15         $(top_builddir)/gtk/libgtk-3.0.la
16
17 LDADDS = \
18         $(top_builddir)/gtk/libgtk-3.0.la       \
19         $(top_builddir)/gdk/libgdk-3.0.la       \
20         $(GTK_DEP_LIBS)                         \
21         $(MATH_LIB)
22
23 noinst_PROGRAMS =               \
24         testanimation           \
25         testpixbuf-color        \
26         testpixbuf-save         \
27         testpixbuf-scale        \
28         pixbuf-demo
29
30 testpixbuf_save_DEPENDENCIES = $(DEPS)
31 testpixbuf_color_DEPENDENCIES = $(DEPS)
32 testpixbuf_scale_DEPENDENCIES = $(DEPS)
33 testanimation_DEPENDENCIES = $(DEPS)
34 pixbuf_demo_DEPENDENCIES = $(DEPS)
35
36 testpixbuf_save_LDADD = $(LDADDS)
37 testpixbuf_color_LDADD = $(LDADDS)
38 testpixbuf_scale_LDADD = $(LDADDS)
39 testanimation_LDADD = $(LDADDS)
40 pixbuf_demo_LDADD = $(LDADDS)
41
42 testpixbuf_save_SOURCES = testpixbuf-save.c
43 testpixbuf_color_SOURCES = testpixbuf-color.c
44 testpixbuf_scale_SOURCES = testpixbuf-scale.c pixbuf-init.c
45 testanimation_SOURCES = testanimation.c pixbuf-init.c
46 pixbuf_demo_SOURCES = pixbuf-demo.c pixbuf-init.c
47
48 EXTRA_DIST +=                   \
49         apple-red.png           \
50         background.jpg          \
51         gnome-applets.png       \
52         gnome-calendar.png      \
53         gnome-foot.png          \
54         gnome-gimp.png          \
55         gnome-gmush.png         \
56         gnome-gsame.png         \
57         gnu-keys.png
58
59 -include $(top_srcdir)/git.mk