]> Pileus Git - ~andy/gtk/blob - gtk/tests/Makefile.am
35105d329f4ba3f6e8088803f3c6c95582cb0ee8
[~andy/gtk] / gtk / tests / Makefile.am
1 include $(top_srcdir)/Makefile.decl
2
3 INCLUDES = \
4         -I$(top_srcdir)                 \
5         -I$(top_builddir)/gdk           \
6         -I$(top_srcdir)/gdk             \
7         -DGDK_DISABLE_DEPRECATED        \
8         -DGTK_DISABLE_DEPRECATED        \
9         -DSRCDIR=\""$(abs_srcdir)"\"    \
10         $(GTK_DEBUG_FLAGS)              \
11         $(GTK_DEP_CFLAGS)
12
13 DEPS = \
14         $(top_builddir)/gtk/libgtk-3.0.la
15
16 progs_ldadd = \
17         $(top_builddir)/gtk/libgtk-3.0.la       \
18         $(GTK_DEP_LIBS)
19
20 noinst_PROGRAMS = $(TEST_PROGS) $(SAMPLE_PROGS)
21
22
23 TEST_PROGS                      += testing
24 testing_SOURCES                  = testing.c
25 testing_LDADD                    = $(progs_ldadd)
26
27 TEST_PROGS                      += liststore
28 liststore_SOURCES                = liststore.c
29 liststore_LDADD                  = $(progs_ldadd)
30
31 TEST_PROGS                      += treestore
32 treestore_SOURCES                = treestore.c
33 treestore_LDADD                  = $(progs_ldadd)
34
35 TEST_PROGS                      += treeview
36 treeview_SOURCES                 = treeview.c
37 treeview_LDADD                   = $(progs_ldadd)
38
39 TEST_PROGS                      += treeview-scrolling
40 treeview_scrolling_SOURCES       = treeview-scrolling.c
41 treeview_scrolling_LDADD         = $(progs_ldadd)
42
43 TEST_PROGS                      += recentmanager
44 recentmanager_SOURCES            = recentmanager.c
45 recentmanager_LDADD              = $(progs_ldadd)
46
47 TEST_PROGS                      += floating
48 floating_SOURCES                 = floating.c
49 floating_LDADD                   = $(progs_ldadd)
50
51 #TEST_PROGS                     += object
52 #object_SOURCES                  = object.c pixbuf-init.c
53 #object_LDADD                    = $(progs_ldadd)
54
55 # this doesn't work in make distcheck, since running
56 # on a naked X server creates slightly different event
57 # sequences than running on a normal desktop
58 # TEST_PROGS                    += crossingevents
59 crossingevents_SOURCES           = crossingevents.c
60 crossingevents_LDADD             = $(progs_ldadd)
61
62 # Should be ported to new API's
63 #TEST_PROGS                     += filechooser
64 #filechooser_SOURCES             = filechooser.c pixbuf-init.c
65 #filechooser_LDADD               = $(progs_ldadd)
66
67 TEST_PROGS                      += builder
68 builder_SOURCES                  = builder.c
69 builder_LDADD                    = $(progs_ldadd)
70 builder_LDFLAGS                  = -export-dynamic
71
72 if OS_UNIX
73 #TEST_PROGS                     += defaultvalue
74 endif
75 defaultvalue_SOURCES             = defaultvalue.c pixbuf-init.c
76 defaultvalue_LDADD               = $(progs_ldadd)
77
78 TEST_PROGS                      += textbuffer
79 textbuffer_SOURCES               = textbuffer.c pixbuf-init.c
80 textbuffer_LDADD                 = $(progs_ldadd)
81
82 TEST_PROGS                      += textiter
83 textiter_SOURCES                 = textiter.c
84 textiter_LDADD                   = $(progs_ldadd)
85
86 TEST_PROGS                      += filtermodel
87 filtermodel_SOURCES              = filtermodel.c
88 filtermodel_LDADD                = $(progs_ldadd)
89
90 TEST_PROGS                      += expander
91 expander_SOURCES                 = expander.c
92 expander_LDADD           = $(progs_ldadd)
93
94 TEST_PROGS                      += action
95 action_SOURCES                   = action.c
96 action_LDADD                     = $(progs_ldadd)
97
98 SAMPLE_PROGS = gtk-example-application
99 gtk_example_application_SOURCES = gtk-example-application.c
100 gtk_example_application_LDADD   = $(progs_ldadd)
101
102 TEST_PROGS                      += stylecontext
103 stylecontext_SOURCES             = stylecontext.c
104 stylecontext_LDADD               = $(progs_ldadd)
105 EXTRA_DIST += test.css test.png
106
107
108 EXTRA_DIST +=                           \
109         file-chooser-test-dir/empty     \
110         file-chooser-test-dir/text.txt
111
112 -include $(top_srcdir)/git.mk