]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
d704321417010b69ee71b195d75ee5d8fa73d946
[~andy/gtk] / tests / Makefile.am
1 ## Makefile.am for gtk+/tests
2 include $(top_srcdir)/Makefile.decl
3
4 INCLUDES =                                      \
5         -I$(top_srcdir)                         \
6         -I$(top_builddir)/gdk                   \
7         -I$(top_srcdir)/gdk                     \
8         -DGDK_PIXBUF_DISABLE_DEPRECATED         \
9         -DGDK_DISABLE_DEPRECATED                \
10         -DGTK_DISABLE_DEPRECATED                \
11         $(GTK_DEBUG_FLAGS)                      \
12         $(GTK_DEP_CFLAGS)
13
14 DEPS =                                                                  \
15         $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la  \
16         $(top_builddir)/gdk/$(gdktargetlib)                             \
17         $(top_builddir)/gtk/$(gtktargetlib)
18
19 LDADDS =                                                                \
20         $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la  \
21         $(top_builddir)/gdk/$(gdktargetlib)                             \
22         $(top_builddir)/gtk/$(gtktargetlib)
23
24 if USE_X11
25 testsocket_programs = testsocket testsocket_child
26 endif
27
28 TESTS = floatingtest buildertest
29
30 noinst_PROGRAMS =                       \
31         autotestfilechooser             \
32         autotestkeywords                \
33         floatingtest                    \
34         buildertest                     \
35         simple                          \
36         print-editor                    \
37         testaccel                       \
38         testassistant                   \
39         testbbox                        \
40         testcairo                       \
41         testcalendar                    \
42         testcombo                       \
43         testcombochange                 \
44         testcellrenderertext            \
45         testdnd                         \
46         testellipsise                   \
47         testentrycompletion             \
48         testfilechooser                 \
49         testfilechooserbutton           \
50         testframe                       \
51         testgtk                         \
52         testiconview                    \
53         testicontheme                   \
54         testimage                       \
55         testinput                       \
56         testmenus                       \
57         testmenubars                    \
58         testmultidisplay                \
59         testmultiscreen                 \
60         testnotebookdnd                 \
61         testnouiprint                   \
62         testprint                       \
63         testrgb                         \
64         testrecentchooser               \
65         testrecentchoosermenu           \
66         testrichtext                    \
67         testselection                   \
68         $(testsocket_programs)          \
69         testspinbutton                  \
70         teststatusicon                  \
71         testtext                        \
72         testtextbuffer                  \
73         testtoolbar                     \
74         stresstest-toolbar              \
75         testtreeedit                    \
76         testtreemodel                   \
77         testtreeview                    \
78         testtreefocus                   \
79         testtreeflow                    \
80         testtreecolumns                 \
81         testtreesort                    \
82         treestoretest                   \
83         testxinerama                    \
84         pixbuf-read                     \
85         pixbuf-lowmem                   \
86         pixbuf-randomly-modified        \
87         pixbuf-random                   \
88         pixbuf-threads                  \
89         testmerge                       \
90         testactions                     \
91         testgrouping                    \
92         testtooltips                    \
93         testvolumebutton
94
95 if HAVE_CXX
96 noinst_PROGRAMS += autotestkeywords
97 TESTS += autotestkeywords
98
99 autotestkeywords_SOURCES = autotestkeywords.cc
100 autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
101
102 if HAVE_OBJC
103 autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1
104 autotestkeywords_CXXFLAGS = -x objective-c++
105 endif
106
107 endif
108
109 autotestfilechooser_DEPENDENCIES = $(TEST_DEPS)
110 simple_DEPENDENCIES = $(TEST_DEPS)
111 floatingtest_DEPENDENCIES = $(TEST_DEPS)
112 buildertest_DEPENDENCIES = $(TEST_DEPS)
113 print_editor_DEPENDENCIES = $(TEST_DEPS)
114 testicontheme_DEPENDENCIES = $(TEST_DEPS)
115 testiconview_DEPENDENCIES = $(TEST_DEPS)
116 testaccel_DEPENDENCIES = $(TEST_DEPS)
117 testassistant_DEPENDENCIES = $(TEST_DEPS)
118 testbbox_DEPENDENCIES = $(TEST_DEPS)
119 testframe_DEPENDENCIES = $(TEST_DEPS)
120 testcairo_DEPENDENCIES = $(TEST_DEPS)
121 testcalendar_DEPENDENCIES = $(TEST_DEPS)
122 testcombo_DEPENDENCIES = $(TEST_DEPS)
123 testcombochange_DEPENDENCIES = $(TEST_DEPS)
124 testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
125 testdnd_DEPENDENCIES = $(TEST_DEPS)
126 testellipsise_DEPENDENCIES = $(TEST_DEPS)
127 testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
128 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
129 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
130 testgtk_DEPENDENCIES = $(TEST_DEPS)
131 testinput_DEPENDENCIES = $(TEST_DEPS)
132 testimage_DEPENDENCIES = $(TEST_DEPS)
133 testmenus_DEPENDENCIES = $(TEST_DEPS)
134 testmenubars_DEPENDENCIES = $(TEST_DEPS)
135 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
136 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
137 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
138 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
139 testprint_DEPENDENCIES = $(TEST_DEPS)
140 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
141 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
142 testrgb_DEPENDENCIES = $(TEST_DEPS)
143 testrichtext_DEPENDENCIES = $(TEST_DEPS)
144 testselection_DEPENDENCIES = $(TEST_DEPS)
145 testsocket_DEPENDENCIES = $(DEPS)
146 testsocket_child_DEPENDENCIES = $(DEPS)
147 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
148 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
149 testtext_DEPENDENCIES = $(TEST_DEPS)
150 testtextbuffer_DEPENDENCIES = $(TEST_DEPS)
151 testtreeedit_DEPENDENCIES = $(DEPS)
152 testtreemodel_DEPENDENCIES = $(DEPS)
153 testtreeview_DEPENDENCIES = $(DEPS)
154 testtreefocus_DEPENDENCIES = $(DEPS)
155 testtreeflow_DEPENDENCIES = $(DEPS)
156 testtreecolumns_DEPENDENCIES = $(DEPS)
157 testtreesort_DEPENDENCIES = $(DEPS)
158 treestoretest_DEPENDENCIES = $(TEST_DEPS)
159 testxinerama_DEPENDENCIES = $(TEST_DEPS)
160 testmerge_DEPENDENCIES = $(TEST_DEPS)
161 testactions_DEPENDENCIES = $(TEST_DEPS)
162 testgrouping_DEPENDENCIES = $(TEST_DEPS)
163 testtooltips_DEPENDENCIES = $(TEST_DEPS)
164 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
165
166 autotestfilechooser_LDADD = $(LDADDS)
167 simple_LDADD = $(LDADDS)
168 floatingtest_LDADD = $(LDADDS)
169 buildertest_LDADD = $(LDADDS)
170 print_editor_LDADD = $(LDADDS)
171 testaccel_LDADD = $(LDADDS)
172 testassistant_LDADD = $(LDADDS)
173 testbbox_LDADD = $(LDADDS)
174 testframe_LDADD = $(LDADDS)
175 testcairo_LDADD = $(LDADDS)
176 testcalendar_LDADD = $(LDADDS)
177 testcombo_LDADD = $(LDADDS)
178 testcombochange_LDADD = $(LDADDS)
179 testcellrenderertext_LDADD = $(LDADDS)
180 testdnd_LDADD = $(LDADDS)
181 testellipsise_LDADD = $(LDADDS)
182 testentrycompletion_LDADD = $(LDADDS)
183 testfilechooser_LDADD = $(LDADDS)
184 testfilechooserbutton_LDADD = $(LDADDS)
185 testgtk_LDADD = $(LDADDS)
186 testicontheme_LDADD = $(LDADDS)
187 testiconview_LDADD = $(LDADDS)
188 testinput_LDADD = $(LDADDS)
189 testimage_LDADD = $(LDADDS)
190 testmenus_LDADD = $(LDADDS)
191 testmenubars_LDADD = $(LDADDS)
192 testmultidisplay_LDADD = $(LDADDS)
193 testmultiscreen_LDADD = $(LDADDS)
194 testnotebookdnd_LDADD = $(LDADDS)
195 testnouiprint_LDADD = $(LDADDS)
196 testprint_LDADD = $(LDADDS)
197 testrecentchooser_LDADD = $(LDADDS)
198 testrecentchoosermenu_LDADD = $(LDADDS)
199 testrgb_LDADD = $(LDADDS)
200 testrichtext_LDADD = $(LDADDS)
201 testselection_LDADD = $(LDADDS)
202 testsocket_LDADD = $(LDADDS)
203 testsocket_child_LDADD = $(LDADDS)
204 testspinbutton_LDADD = $(LDADDS)
205 teststatusicon_LDADD = $(LDADDS)
206 testtextbuffer_LDADD = $(LDADDS)
207 testtoolbar_LDADD = $(LDADDS)
208 stresstest_toolbar_LDADD = $(LDADDS)
209 testtreeedit_LDADD = $(LDADDS)
210 testtreemodel_LDADD = $(LDADDS)
211 testtreeview_LDADD = $(LDADDS)
212 testtreefocus_LDADD = $(LDADDS)
213 testtreeflow_LDADD = $(LDADDS)
214 testtreecolumns_LDADD = $(LDADDS)
215 testtreesort_LDADD = $(LDADDS)
216 testtext_LDADD = $(LDADDS)
217 treestoretest_LDADD = $(LDADDS)
218 testxinerama_LDADD = $(LDADDS)
219 pixbuf_read_LDADD = $(LDADDS)
220 pixbuf_lowmem_LDADD = $(LDADDS)
221 pixbuf_randomly_modified_LDADD = $(LDADDS)
222 pixbuf_random_LDADD = $(LDADDS)
223 pixbuf_threads_LDADD = $(LDADDS) $(GLIB_LIBS)
224 testmerge_LDADD = $(LDADDS)
225 testactions_LDADD = $(LDADDS)
226 testgrouping_LDADD = $(LDADDS)
227 testtooltips_LDADD = $(LDADDS)
228 testvolumebutton_LDADD = $(LDADDS)
229
230 buildertest_LDFLAGS = -export-dynamic
231
232 autotestfilechooser_SOURCES =   \
233         autotestfilechooser.c
234
235 testentrycompletion_SOURCES =   \
236         prop-editor.c           \
237         testentrycompletion.c
238
239 testfilechooser_SOURCES =       \
240         prop-editor.c           \
241         testfilechooser.c       
242
243 testfilechooserbutton_SOURCES = \
244         prop-editor.c           \
245         testfilechooserbutton.c         
246
247 testgtk_SOURCES =       \
248         prop-editor.c   \
249         testgtk.c       
250
251 testtreeedit_SOURCES =  \
252         testtreeedit.c
253
254 testtreemodel_SOURCES = \
255         testtreemodel.c
256
257 testtreeview_SOURCES =  \
258         prop-editor.c   \
259         testtreeview.c 
260
261 testtext_SOURCES =      \
262         prop-editor.c   \
263         testtext.c 
264
265 testtoolbar_SOURCES =   \
266         testtoolbar.c   \
267         prop-editor.c
268
269 testprint_SOURCES =     \
270         testprint.c             \
271         testprintfileoperation.h \
272         testprintfileoperation.c
273
274 testsocket_SOURCES =            \
275         testsocket.c            \
276         testsocket_common.c
277
278 testsocket_child_SOURCES =      \
279         testsocket_child.c      \
280         testsocket_common.c
281
282 testspinbutton_SOURCES =        \
283         testspinbutton.c
284
285 teststatusicon_SOURCES =        \
286         prop-editor.c           \
287         teststatusicon.c
288
289 testmerge_SOURCES =             \
290         testmerge.c
291
292 testactions_SOURCES =           \
293         testactions.c
294
295 testbbox_SOURCES =              \
296         testbbox.c
297
298 testframe_SOURCES =             \
299         testframe.c
300
301 testiconview_SOURCES =          \
302         testiconview.c          \
303         prop-editor.c
304
305 testrecentchooser_SOURCES =     \
306         prop-editor.c           \
307         testrecentchooser.c
308
309 testgrouping_SOURCES =          \
310         testgrouping.c
311
312 testtooltips_SOURCES =          \
313         testtooltips.c
314
315 testrecentchoosermenu_SOURCES = \
316         testrecentchoosermenu.c
317
318 testvolumebutton_SOURCES =      \
319         testvolumebutton.c
320
321 EXTRA_DIST +=                   \
322         prop-editor.h           \
323         testgtk.1               \
324         testgtkrc               \
325         testgtkrc2              \
326         circles.xbm             \
327         3DRings.xpm             \
328         FilesQueue.xpm          \
329         Modeller.xpm            \
330         check-y.xpm             \
331         check-n.xpm             \
332         marble.xpm              \
333         test.xpm                \
334         check-y.xpm             \
335         check-n.xpm             \
336         test.xpm                \
337         merge-1.ui              \
338         merge-2.ui              \
339         merge-3.ui              \
340         gnome-textfile.png      \
341         makefile.msc
342