Makefile.am 2.09 KB
Newer Older
Owen Taylor's avatar
Owen Taylor committed
1
2
## Makefile.am for gtk+/demos

3
SUBDIRS = gtk-demo
4

Owen Taylor's avatar
Owen Taylor committed
5
6
7
8
9
10
11
12
13
14
15
16
17
INCLUDES = @STRIP_BEGIN@ \
	-I$(top_srcdir) 				\
	-I$(top_builddir)/gdk				\
	-DGTK_DISABLE_COMPAT_H				\
	@GTK_DEBUG_FLAGS@				\
	@GTK_XIM_FLAGS@					\
	@GTK_LOCALE_FLAGS@				\
	@PANGO_CFLAGS@					\
	@GLIB_CFLAGS@					\
	@more_cflags@					\
@STRIP_END@

DEPS = \
18
	$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-1.3.la	\
Owen Taylor's avatar
Owen Taylor committed
19
20
21
22
	$(top_builddir)/gdk/@gdktargetlib@ 		\
	$(top_builddir)/gtk/@gtktargetlib@

LDADDS = @STRIP_BEGIN@ 					\
23
	$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-1.3.la	\
Owen Taylor's avatar
Owen Taylor committed
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
	$(top_builddir)/gdk/@gdktargetlib@        	\
	$(top_builddir)/gtk/@gtktargetlib@ 		\
	@more_ldflags@					\
	@more_libs@					\
	@GDK_WLIBS@					\
	@PANGO_LIBS@					\
	@GLIB_LIBS@					\
	@GTK_LIBS_EXTRA@				\
	-lm						\
@STRIP_END@

noinst_PROGRAMS = 		\
	testpixbuf 		\
	testpixbuf-drawable 	\
	testanimation 		\
39
	testpixbuf-save		\
Owen Taylor's avatar
Owen Taylor committed
40
41
42
	testpixbuf-scale 	\
	pixbuf-demo

Havoc Pennington's avatar
Havoc Pennington committed
43
44
45
46
47
BUILT_SOURCES=test-inline-pixbufs.h

test-inline-pixbufs.h: $(top_builddir)/gdk-pixbuf/make-inline-pixbuf apple-red.png gnome-foot.png
	GDK_PIXBUF_MODULEDIR=$(top_builddir)/gdk-pixbuf/.libs $(top_builddir)/gdk-pixbuf/make-inline-pixbuf test-inline-pixbufs.h apple_red apple-red.png gnome_foot gnome-foot.png 

Owen Taylor's avatar
Owen Taylor committed
48
49
testpixbuf_DEPENDENCIES = $(DEPS)
testpixbuf_drawable_DEPENDENCIES = $(DEPS)
50
testpixbuf_save_DEPENDENCIES = $(DEPS)
Owen Taylor's avatar
Owen Taylor committed
51
52
53
54
testpixbuf_scale_DEPENDENCIES = $(DEPS)
testanimation_DEPENDENCIES = $(DEPS)
pixbuf_demo_DEPENDENCIES = $(DEPS)

55
testpixbuf_LDADD = $(LDADDS)
Owen Taylor's avatar
Owen Taylor committed
56
testpixbuf_drawable_LDADD = $(LDADDS)
57
testpixbuf_save_LDADD = $(LDADDS)
Owen Taylor's avatar
Owen Taylor committed
58
testpixbuf_scale_LDADD = $(LDADDS)
59
60
testanimation_LDADD = $(LDADDS)
pixbuf_demo_LDADD = $(LDADDS)
Owen Taylor's avatar
Owen Taylor committed
61
62
63

testpixbuf_SOURCES = testpixbuf.c pixbuf-init.c
testpixbuf_drawable_SOURCES = testpixbuf-drawable.c pixbuf-init.c
64
testpixbuf_save_SOURCES = testpixbuf-save.c
Owen Taylor's avatar
Owen Taylor committed
65
66
67
testpixbuf_scale_SOURCES = testpixbuf-scale.c pixbuf-init.c
testanimation_SOURCES = testanimation.c pixbuf-init.c
pixbuf_demo_SOURCES = pixbuf-demo.c pixbuf-init.c
Owen Taylor's avatar
Owen Taylor committed
68
69
70
71
72
73
74
75
76
77
78

EXTRA_DIST =			\
	apple-red.png		\
	background.jpg		\
	gnome-applets.png	\
	gnome-calendar.png	\
	gnome-foot.png		\
	gnome-gimp.png		\
	gnome-gmush.png		\
	gnome-gsame.png		\
	gnu-keys.png