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