summaryrefslogtreecommitdiff
path: root/gtk/tests/Makefile.am
blob: 0ba7225210d49350bbeb85bc7a96e03ce11bbd88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
include $(top_srcdir)/Makefile.decl

INCLUDES = \
	-I$(top_srcdir)			\
	-I$(top_builddir)/gdk		\
	-I$(top_srcdir)/gdk		\
	-DGDK_DISABLE_DEPRECATED	\
	-DGTK_DISABLE_DEPRECATED	\
	$(GTK_DEBUG_FLAGS)		\
	$(GTK_DEP_CFLAGS)

DEPS = \
	$(top_builddir)/gdk/$(gdktargetlib)				\
	$(top_builddir)/gtk/$(gtktargetlib)

progs_ldadd = \
	$(top_builddir)/gdk/$(gdktargetlib)				\
	$(top_builddir)/gtk/$(gtktargetlib)				\
	$(GTK_DEP_LIBS)

noinst_PROGRAMS = $(TEST_PROGS) $(SAMPLE_PROGS)


TEST_PROGS			+= testing
testing_SOURCES			 = testing.c
testing_LDADD			 = $(progs_ldadd)

TEST_PROGS			+= liststore
liststore_SOURCES		 = liststore.c
liststore_LDADD			 = $(progs_ldadd)

TEST_PROGS			+= treestore
treestore_SOURCES		 = treestore.c
treestore_LDADD			 = $(progs_ldadd)

TEST_PROGS			+= treeview
treeview_SOURCES		 = treeview.c
treeview_LDADD			 = $(progs_ldadd)

TEST_PROGS			+= treeview-scrolling
treeview_scrolling_SOURCES	 = treeview-scrolling.c
treeview_scrolling_LDADD	 = $(progs_ldadd)

TEST_PROGS			+= recentmanager
recentmanager_SOURCES 		 = recentmanager.c
recentmanager_LDADD   		 = $(progs_ldadd)

TEST_PROGS			+= floating
floating_SOURCES		 = floating.c
floating_LDADD			 = $(progs_ldadd)

TEST_PROGS			+= object
object_SOURCES			 = object.c pixbuf-init.c
object_LDADD			 = $(progs_ldadd)

# this doesn't work in make distcheck, since running
# on a naked X server creates slightly different event
# sequences than running on a normal desktop
# TEST_PROGS			+= crossingevents
crossingevents_SOURCES		 = crossingevents.c
crossingevents_LDADD		 = $(progs_ldadd)

# Should be ported to new API's
#TEST_PROGS			+= filechooser
#filechooser_SOURCES		 = filechooser.c pixbuf-init.c
#filechooser_LDADD		 = $(progs_ldadd)

TEST_PROGS			+= builder
builder_SOURCES			 = builder.c
builder_LDADD			 = $(progs_ldadd)
builder_LDFLAGS			 = -export-dynamic

if OS_UNIX
TEST_PROGS			+= defaultvalue
endif
defaultvalue_SOURCES		 = defaultvalue.c pixbuf-init.c
defaultvalue_LDADD 		 = $(progs_ldadd)

TEST_PROGS			+= textbuffer
textbuffer_SOURCES		 = textbuffer.c pixbuf-init.c
textbuffer_LDADD		 = $(progs_ldadd)

TEST_PROGS			+= filtermodel
filtermodel_SOURCES		 = filtermodel.c
filtermodel_LDADD		 = $(progs_ldadd)

TEST_PROGS			+= expander
expander_SOURCES		 = expander.c
expander_LDADD		 = $(progs_ldadd)

TEST_PROGS			+= action
action_SOURCES			 = action.c
action_LDADD			 = $(progs_ldadd)

SAMPLE_PROGS = gtk-example-application
gtk_example_application_SOURCES	= gtk-example-application.c
gtk_example_application_LDADD	= $(progs_ldadd)


EXTRA_DIST +=				\
	file-chooser-test-dir/empty     \
	file-chooser-test-dir/text.txt

-include $(top_srcdir)/git.mk