]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
reftests: Add
[~andy/gtk] / tests / Makefile.am
1 ## Makefile.am for gtk+/tests
2 include $(top_srcdir)/Makefile.decl
3
4 SUBDIRS = reftests
5
6 INCLUDES =                              \
7         -I$(top_srcdir)                 \
8         -I$(top_builddir)/gdk           \
9         -I$(top_srcdir)/gdk             \
10         -DGDK_DISABLE_DEPRECATED        \
11         -DGTK_DISABLE_DEPRECATED        \
12         $(GTK_DEBUG_FLAGS)              \
13         $(GTK_DEP_CFLAGS)               \
14         $(GDK_DEP_CFLAGS)
15
16 DEPS = \
17         $(top_builddir)/gtk/libgtk-3.la
18
19 LDADDS = \
20         $(top_builddir)/gtk/libgtk-3.la \
21         $(top_builddir)/gdk/libgdk-3.la \
22         $(GTK_DEP_LIBS)                 \
23         -lm
24
25 if USE_X11
26 testsocket_programs = testsocket testsocket_child
27 endif
28
29 noinst_PROGRAMS =  $(TEST_PROGS)        \
30         simple                          \
31         flicker                         \
32         print-editor                    \
33         testaccel                       \
34         testadjustsize                  \
35         testappchooser                  \
36         testappchooserbutton            \
37         testassistant                   \
38         testbbox                        \
39         testbuttons                     \
40         testcairo                       \
41         testcalendar                    \
42         testcombo                       \
43         testcombochange                 \
44         testcellrenderertext            \
45         testdnd                         \
46         testellipsise                   \
47         testentrycompletion             \
48         testentryicons                  \
49         testfilechooser                 \
50         testfilechooserbutton           \
51         testframe                       \
52         testgeometry                    \
53         testgiconpixbuf                 \
54         testgrid                        \
55         testgtk                         \
56         testheightforwidth              \
57         testiconview                    \
58         testiconview-keynav             \
59         testicontheme                   \
60         testimage                       \
61         testinput                       \
62         testmenubars                    \
63         testmountoperation              \
64         testmultidisplay                \
65         testmultiscreen                 \
66         testnotebookdnd                 \
67         testnumerableicon               \
68         testnouiprint                   \
69         testoffscreen                   \
70         testoffscreenwindow             \
71         testorientable                  \
72         testprint                       \
73         testrecentchooser               \
74         testrecentchoosermenu           \
75         testrichtext                    \
76         testscale                       \
77         testselection                   \
78         $(testsocket_programs)          \
79         testspinbutton                  \
80         teststatusicon                  \
81         testtoolbar                     \
82         stresstest-toolbar              \
83         testtreeedit                    \
84         testtreemodel                   \
85         testtreeview                    \
86         testtreefocus                   \
87         testtreeflow                    \
88         testtreecolumns                 \
89         testtreecolumnsizing            \
90         testtreesort                    \
91         testverticalcells                       \
92         treestoretest                   \
93         testxinerama                    \
94         testwindows                     \
95         testmerge                       \
96         testactions                     \
97         testgrouping                    \
98         testtooltips                    \
99         testexpand                      \
100         testexpander                    \
101         testvolumebutton                \
102         testscrolledwindow              \
103         testswitch                      \
104         testcellarea                    \
105         testswitch                      \
106         styleexamples                   \
107         testtreemenu                    \
108         testtoplevelembed               \
109         testnoscreen                    \
110         testtreepos                     \
111         testsensitive
112
113 if USE_X11
114 noinst_PROGRAMS += testerrors
115 endif
116
117 if HAVE_CXX
118 noinst_PROGRAMS += autotestkeywords
119 TESTS = autotestkeywords
120
121 autotestkeywords_SOURCES = autotestkeywords.cc
122 autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
123
124 if HAVE_OBJC
125 autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
126 endif
127
128 endif
129
130 flicker_DEPENDENCIES = $(TEST_DEPS)
131 simple_DEPENDENCIES = $(TEST_DEPS)
132 print_editor_DEPENDENCIES = $(TEST_DEPS)
133 testheightforwidth_DEPENDENCIES = $(TEST_DEPS)
134 testicontheme_DEPENDENCIES = $(TEST_DEPS)
135 testiconview_DEPENDENCIES = $(TEST_DEPS)
136 testaccel_DEPENDENCIES = $(TEST_DEPS)
137 testadjustsize_DEPENDENCIES = $(TEST_DEPS)
138 testassistant_DEPENDENCIES = $(TEST_DEPS)
139 testbbox_DEPENDENCIES = $(TEST_DEPS)
140 testbuttons_DEPENDENCIES = $(TEST_DEPS)
141 testcairo_DEPENDENCIES = $(TEST_DEPS)
142 testcalendar_DEPENDENCIES = $(TEST_DEPS)
143 testcombo_DEPENDENCIES = $(TEST_DEPS)
144 testcombochange_DEPENDENCIES = $(TEST_DEPS)
145 testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
146 testdnd_DEPENDENCIES = $(TEST_DEPS)
147 testellipsise_DEPENDENCIES = $(TEST_DEPS)
148 testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
149 testentryicons_DEPENDENCIES = $(TEST_DEPS)
150 testerrors_DEPENDENCIES = $(TEST_DEPS)
151 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
152 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
153 testframe_DEPENDENCIES = $(TEST_DEPS)
154 testgeometry_DEPENDENCIES = $(TEST_DEPS)
155 testgiconpixbuf = $(TEST_DEPS)
156 testgrid_DEPENDENCIES = $(TEST_DEPS)
157 testgtk_DEPENDENCIES = $(TEST_DEPS)
158 testinput_DEPENDENCIES = $(TEST_DEPS)
159 testimage_DEPENDENCIES = $(TEST_DEPS)
160 testmenubars_DEPENDENCIES = $(TEST_DEPS)
161 testmountoperation_DEPENDENCIES = $(TEST_DEPS)
162 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
163 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
164 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
165 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
166 testnumerableicon_DEPENDENCIES = $(TEST_DEPS)
167 testoffscreen_DEPENDENCIES = $(TEST_DEPS)
168 testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
169 testappchooser_DEPENDENCIES = $(TEST_DEPS)
170 testappchooserbutton_DEPENDENCIES = $(TEST_DEPS)
171 testorientable_DEPENDENCIES = $(TEST_DEPS)
172 testprint_DEPENDENCIES = $(TEST_DEPS)
173 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
174 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
175 testrichtext_DEPENDENCIES = $(TEST_DEPS)
176 testscale_DEPENDENCIES = $(TEST_DEPS)
177 testselection_DEPENDENCIES = $(TEST_DEPS)
178 testsocket_DEPENDENCIES = $(DEPS)
179 testsocket_child_DEPENDENCIES = $(DEPS)
180 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
181 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
182 testtreeedit_DEPENDENCIES = $(DEPS)
183 testtreemodel_DEPENDENCIES = $(DEPS)
184 testtreeview_DEPENDENCIES = $(DEPS)
185 testtreefocus_DEPENDENCIES = $(DEPS)
186 testtreeflow_DEPENDENCIES = $(DEPS)
187 testtreecolumns_DEPENDENCIES = $(DEPS)
188 testtreecolumnsizing_DEPENDENCIES = $(DEPS)
189 testtreesort_DEPENDENCIES = $(DEPS)
190 testverticalcells_DEPENDENCIES = $(DEPS)
191 treestoretest_DEPENDENCIES = $(TEST_DEPS)
192 testxinerama_DEPENDENCIES = $(TEST_DEPS)
193 testmerge_DEPENDENCIES = $(TEST_DEPS)
194 testactions_DEPENDENCIES = $(TEST_DEPS)
195 testgrouping_DEPENDENCIES = $(TEST_DEPS)
196 testtooltips_DEPENDENCIES = $(TEST_DEPS)
197 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
198 testscrolledwindow_DEPENDENCIES = $(TEST_DEPS)
199 testcellarea_DEPENDENCIES = $(TEST_DEPS)
200 testtreemenu_DEPENDENCIES = $(TEST_DEPS)
201 testwindows_DEPENDENCIES = $(TEST_DEPS)
202 testexpand_DEPENDENCIES = $(TEST_DEPS)
203 testexpander_DEPENDENCIES = $(TEST_DEPS)
204 testswitch_DEPENDENCIES = $(TEST_DEPS)
205 styleexamples_DEPENDENCIES = $(TEST_DEPS)
206 testtoplevelembed_DEPENDENCIES = $(TEST_DEPS)
207 testnoscreen_DEPENDENCIES = $(TEST_DEPS)
208 testtreepos_DEPENDENCIES = $(TEST_DEPS)
209 testsensitive_DEPENDENCIES = $(TEST_DEPS)
210
211 flicker_LDADD = $(LDADDS)
212 simple_LDADD = $(LDADDS)
213 print_editor_LDADD = $(LDADDS)
214 testaccel_LDADD = $(LDADDS)
215 testadjustsize_LDADD = $(LDADDS)
216 testassistant_LDADD = $(LDADDS)
217 testbbox_LDADD = $(LDADDS)
218 testbuttons_LDADD = $(LDADDS)
219 testcairo_LDADD = $(LDADDS)
220 testcalendar_LDADD = $(LDADDS)
221 testcombo_LDADD = $(LDADDS)
222 testcombochange_LDADD = $(LDADDS)
223 testcellrenderertext_LDADD = $(LDADDS)
224 testdnd_LDADD = $(LDADDS)
225 testellipsise_LDADD = $(LDADDS)
226 testentrycompletion_LDADD = $(LDADDS)
227 testentryicons_LDADD = $(LDADDS)
228 testerrors_LDADD = $(LDADDS)
229 testfilechooser_LDADD = $(LDADDS)
230 testfilechooserbutton_LDADD = $(LDADDS)
231 testframe_LDADD = $(LDADDS)
232 testgeometry_LDADD = $(LDADDS)
233 testgiconpixbuf_LDADD = $(LDADDS)
234 testgrid_LDADD = $(LDADDS)
235 testgtk_LDADD = $(LDADDS)
236 testheightforwidth_LDADD = $(LDADDS)
237 testicontheme_LDADD = $(LDADDS)
238 testiconview_LDADD = $(LDADDS)
239 testiconview_keynav_LDADD = $(LDADDS)
240 testinput_LDADD = $(LDADDS)
241 testimage_LDADD = $(LDADDS)
242 testmenubars_LDADD = $(LDADDS)
243 testmountoperation_LDADD = $(LDADDS)
244 testmultidisplay_LDADD = $(LDADDS)
245 testmultiscreen_LDADD = $(LDADDS)
246 testnotebookdnd_LDADD = $(LDADDS)
247 testnouiprint_LDADD = $(LDADDS)
248 testnumerableicon_LDADD = $(LDADDS)
249 testoffscreen_LDADD = $(LDADDS)
250 testoffscreenwindow_LDADD = $(LDADDS)
251 testappchooser_LDADD = $(LDADDS)
252 testappchooserbutton_LDADD = $(LDADDS)
253 testorientable_LDADD = $(LDADDS)
254 testprint_LDADD = $(LDADDS)
255 testrecentchooser_LDADD = $(LDADDS)
256 testrecentchoosermenu_LDADD = $(LDADDS)
257 testrichtext_LDADD = $(LDADDS)
258 testscale_LDADD = $(LDADDS)
259 testselection_LDADD = $(LDADDS)
260 testsocket_LDADD = $(LDADDS)
261 testsocket_child_LDADD = $(LDADDS)
262 testspinbutton_LDADD = $(LDADDS)
263 teststatusicon_LDADD = $(LDADDS)
264 testtoolbar_LDADD = $(LDADDS)
265 stresstest_toolbar_LDADD = $(LDADDS)
266 testtreeedit_LDADD = $(LDADDS)
267 testtreemodel_LDADD = $(LDADDS)
268 testtreeview_LDADD = $(LDADDS)
269 testtreefocus_LDADD = $(LDADDS)
270 testtreeflow_LDADD = $(LDADDS)
271 testtreecolumns_LDADD = $(LDADDS)
272 testtreecolumnsizing_LDADD = $(LDADDS)
273 testtreesort_LDADD = $(LDADDS)
274 testverticalcells_LDADD = $(LDADDS)
275 treestoretest_LDADD = $(LDADDS)
276 testxinerama_LDADD = $(LDADDS)
277 testmerge_LDADD = $(LDADDS)
278 testactions_LDADD = $(LDADDS)
279 testgrouping_LDADD = $(LDADDS)
280 testtooltips_LDADD = $(LDADDS)
281 testvolumebutton_LDADD = $(LDADDS)
282 testscrolledwindow_LDADD = $(LDADDS)
283 testcellarea_LDADD = $(LDADDS)
284 testtreemenu_LDADD = $(LDADDS)
285 testwindows_LDADD = $(LDADDS)
286 testexpand_LDADD = $(LDADDS)
287 testexpander_LDADD = $(LDADDS)
288 testswitch_LDADD = $(LDADDS)
289 styleexamples_LDADD = $(LDADDS)
290 testtoplevelembed_LDADD = $(LDADDS)
291 testnoscreen_LDADD = $(LDADDS)
292 testtreepos_LDADD = $(LDADDS)
293 testsensitive_LDADD = $(LDADDS)
294
295
296 testentrycompletion_SOURCES =   \
297         prop-editor.c           \
298         testentrycompletion.c
299
300 testentryicons_SOURCES =        \
301         prop-editor.c           \
302         testentryicons.c
303
304 testfilechooser_SOURCES =       \
305         prop-editor.c           \
306         testfilechooser.c
307
308 testfilechooserbutton_SOURCES = \
309         prop-editor.c           \
310         testfilechooserbutton.c
311
312 testgrid_SOURCES =      \
313         testgrid.c
314
315 testgtk_SOURCES =       \
316         prop-editor.c   \
317         testgtk.c
318
319 testtreeedit_SOURCES =  \
320         testtreeedit.c
321
322 testtreemodel_SOURCES = \
323         testtreemodel.c
324
325 testtreeview_SOURCES =  \
326         prop-editor.c   \
327         testtreeview.c
328
329 testtoolbar_SOURCES =   \
330         testtoolbar.c   \
331         prop-editor.c
332
333 testprint_SOURCES =     \
334         testprint.c             \
335         testprintfileoperation.h \
336         testprintfileoperation.c
337
338 testsocket_SOURCES =            \
339         testsocket.c            \
340         testsocket_common.c
341
342 testsocket_child_SOURCES =      \
343         testsocket_child.c      \
344         testsocket_common.c
345
346 testspinbutton_SOURCES =        \
347         testspinbutton.c
348
349 teststatusicon_SOURCES =        \
350         prop-editor.c           \
351         teststatusicon.c
352
353 testmerge_SOURCES =             \
354         testmerge.c
355
356 testactions_SOURCES =           \
357         testactions.c
358
359 testbbox_SOURCES =              \
360         testbbox.c
361
362 testbuttons_SOURCES =           \
363         testbuttons.c
364
365 testframe_SOURCES =             \
366         testframe.c
367
368 testgeometry_SOURCES =          \
369         testgeometry.c
370
371 testgiconpixbuf_SOURCES =       \
372         testgiconpixbuf.c
373
374 testiconview_SOURCES =          \
375         testiconview.c          \
376         prop-editor.c
377
378 testiconview_keynav_SOURCES =   \
379         testiconview-keynav.c
380
381 testnumerableicon_SOURCES =     \
382         testnumerableicon.c     \
383         prop-editor.c
384
385 testrecentchooser_SOURCES =     \
386         prop-editor.c           \
387         testrecentchooser.c
388
389 testgrouping_SOURCES =          \
390         testgrouping.c
391
392 testtooltips_SOURCES =          \
393         testtooltips.c
394
395 testrecentchoosermenu_SOURCES = \
396         testrecentchoosermenu.c
397
398 testvolumebutton_SOURCES =      \
399         testvolumebutton.c
400
401 testscrolledwindow_SOURCES =    \
402         testscrolledwindow.c
403
404 testcellarea_SOURCES =          \
405         testcellarea.c          \
406         cellareascaffold.c      \
407         cellareascaffold.h
408
409 testtreemenu_SOURCES =          \
410         testtreemenu.c
411
412 testoffscreen_SOURCES =         \
413         gtkoffscreenbox.c       \
414         gtkoffscreenbox.h       \
415         testoffscreen.c
416
417 testoffscreenwindow_SOURCES =   \
418         testoffscreenwindow.c
419
420 testappchooser_SOURCES = \
421         testappchooser.c
422
423 testappchooserbutton_SOURCES = \
424         testappchooserbutton.c
425
426 testwindows_SOURCES =   \
427         testwindows.c
428
429 testexpand_SOURCES = testexpand.c
430
431 testexpander_SOURCES = testexpander.c
432
433 testswitch_SOURCES = testswitch.c
434
435 styleexamples_SOURCES = styleexamples.c
436
437 testtoplevelembed_SOURCES = testtoplevelembed.c
438
439 EXTRA_DIST +=                   \
440         gradient1.png           \
441         prop-editor.h           \
442         testgtk.1               \
443         testgtk.css             \
444         testgtk2.css            \
445         3DRings.xpm             \
446         FilesQueue.xpm          \
447         Modeller.xpm            \
448         check-y.xpm             \
449         check-n.xpm             \
450         marble.xpm              \
451         test.xpm                \
452         check-y.xpm             \
453         check-n.xpm             \
454         test.xpm                \
455         merge-1.ui              \
456         merge-2.ui              \
457         merge-3.ui              \
458         gnome-textfile.png      \
459         makefile.msc
460
461
462 -include $(top_srcdir)/git.mk