]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
59f1678fcddd6c94dc132b29986bf71ec4f63503
[~andy/gtk] / tests / Makefile.am
1 ## Makefile.am for gtk+/tests
2 include $(top_srcdir)/Makefile.decl
3
4 SUBDIRS = css reftests a11y visuals
5
6 AM_CPPFLAGS =                           \
7         -I$(top_srcdir)                 \
8         -I$(top_builddir)/gdk           \
9         -I$(top_srcdir)/gdk             \
10         $(GTK_DEBUG_FLAGS)              \
11         $(GTK_DEP_CFLAGS)               \
12         $(GDK_DEP_CFLAGS)
13
14 DEPS = \
15         $(top_builddir)/gtk/libgtk-3.la
16
17 LDADD = \
18         $(top_builddir)/gtk/libgtk-3.la \
19         $(top_builddir)/gdk/libgdk-3.la \
20         $(GTK_DEP_LIBS)                 \
21         -lm
22
23 if USE_X11
24 testsocket_programs = testsocket testsocket_child
25 endif
26
27 noinst_PROGRAMS =  $(TEST_PROGS)        \
28         animated-resizing               \
29         motion-compression              \
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         testcolorchooser                \
45         testcombo                       \
46         testcombochange                 \
47         testcellrenderertext            \
48         testdnd                         \
49         testellipsise                   \
50         testentrycompletion             \
51         testentryicons                  \
52         testfilechooser                 \
53         testfilechooserbutton           \
54         testfontselection               \
55         testfontselectiondialog         \
56         testfontchooser                 \
57         testfontchooserdialog           \
58         testframe                       \
59         testfullscreen                  \
60         testgeometry                    \
61         testgiconpixbuf                 \
62         testgrid                        \
63         testgtk                         \
64         testheightforwidth              \
65         testiconview                    \
66         testiconview-keynav             \
67         testicontheme                   \
68         testimage                       \
69         testinput                       \
70         testkineticscrolling            \
71         testlockbutton                  \
72         testmenubars                    \
73         testmenubutton                  \
74         testmountoperation              \
75         testmultidisplay                \
76         testmultiscreen                 \
77         testnotebookdnd                 \
78         testnumerableicon               \
79         testnouiprint                   \
80         testoffscreen                   \
81         testoffscreenwindow             \
82         testorientable                  \
83         testoverlay                     \
84         testoverlaystyleclass           \
85         testprint                       \
86         testrecentchooser               \
87         testrecentchoosermenu           \
88         testrichtext                    \
89         testscale                       \
90         testselection                   \
91         $(testsocket_programs)          \
92         testspinbutton                  \
93         teststatusicon                  \
94         testtoolbar                     \
95         stresstest-toolbar              \
96         testtreechanging                \
97         testtreeedit                    \
98         testtreemodel                   \
99         testtreeview                    \
100         testtreefocus                   \
101         testtreeflow                    \
102         testtreecolumns                 \
103         testtreecolumnsizing            \
104         testtreesort                    \
105         testverticalcells               \
106         treestoretest                   \
107         testxinerama                    \
108         testwindows                     \
109         testmerge                       \
110         testactions                     \
111         testgrouping                    \
112         testtooltips                    \
113         testexpand                      \
114         testexpander                    \
115         testvolumebutton                \
116         testscrolledwindow              \
117         testswitch                      \
118         testcellarea                    \
119         testswitch                      \
120         styleexamples                   \
121         testtreemenu                    \
122         testtoplevelembed               \
123         testnoscreen                    \
124         testtreepos                     \
125         testsensitive                   \
126         testtextview                    \
127         testanimation                   \
128         testpixbuf-save                 \
129         testpixbuf-color                \
130         testpixbuf-scale                \
131         testgmenu                       \
132         testlogout
133
134 if USE_X11
135 noinst_PROGRAMS += testerrors
136 endif
137
138 if HAVE_CXX
139
140 AM_CXXFLAGS = $(AM_CPPFLAGS)
141
142 noinst_PROGRAMS += autotestkeywords
143 TESTS = autotestkeywords
144
145 autotestkeywords_SOURCES = autotestkeywords.cc
146 autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
147
148 if HAVE_OBJC
149 autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
150 endif
151
152 endif
153
154 animated_resizing_DEPENDENCIES = $(TEST_DEPS)
155 flicker_DEPENDENCIES = $(TEST_DEPS)
156 motion_compression_DEPENDENCIES = $(TEST_DEPS)
157 simple_DEPENDENCIES = $(TEST_DEPS)
158 print_editor_DEPENDENCIES = $(TEST_DEPS)
159 testheightforwidth_DEPENDENCIES = $(TEST_DEPS)
160 testicontheme_DEPENDENCIES = $(TEST_DEPS)
161 testiconview_DEPENDENCIES = $(TEST_DEPS)
162 testaccel_DEPENDENCIES = $(TEST_DEPS)
163 testadjustsize_DEPENDENCIES = $(TEST_DEPS)
164 testassistant_DEPENDENCIES = $(TEST_DEPS)
165 testbbox_DEPENDENCIES = $(TEST_DEPS)
166 testbuttons_DEPENDENCIES = $(TEST_DEPS)
167 testcairo_DEPENDENCIES = $(TEST_DEPS)
168 testcalendar_DEPENDENCIES = $(TEST_DEPS)
169 testclipboard_DEPENDENCIES = $(TEST_DEPS)
170 testcolorchooser_DEPENDENCIES = $(TEST_DEPS)
171 testcombo_DEPENDENCIES = $(TEST_DEPS)
172 testcombochange_DEPENDENCIES = $(TEST_DEPS)
173 testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
174 testdnd_DEPENDENCIES = $(TEST_DEPS)
175 testellipsise_DEPENDENCIES = $(TEST_DEPS)
176 testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
177 testentryicons_DEPENDENCIES = $(TEST_DEPS)
178 testerrors_DEPENDENCIES = $(TEST_DEPS)
179 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
180 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
181 testfontselection_DEPENDENCIES = $(TEST_DEPS)
182 testfontselectiondialog_DEPENDENCIES = $(TEST_DEPS)
183 testfontchooser_DEPENDENCIES = $(TEST_DEPS)
184 testfontchooserdialog_DEPENDENCIES = $(TEST_DEPS)
185 testframe_DEPENDENCIES = $(TEST_DEPS)
186 testgeometry_DEPENDENCIES = $(TEST_DEPS)
187 testgiconpixbuf = $(TEST_DEPS)
188 testgrid_DEPENDENCIES = $(TEST_DEPS)
189 testgtk_DEPENDENCIES = $(TEST_DEPS)
190 testinput_DEPENDENCIES = $(TEST_DEPS)
191 testimage_DEPENDENCIES = $(TEST_DEPS)
192 testkineticscrolling_DEPENDENCIES = $(TEST_DEPS)
193 testlockbutton_DEPENDENCIES = $(TEST_DEPS)
194 testmenubars_DEPENDENCIES = $(TEST_DEPS)
195 testmenubutton_DEPENDENCIES = $(TEST_DEPS)
196 testmountoperation_DEPENDENCIES = $(TEST_DEPS)
197 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
198 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
199 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
200 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
201 testnumerableicon_DEPENDENCIES = $(TEST_DEPS)
202 testoffscreen_DEPENDENCIES = $(TEST_DEPS)
203 testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
204 testappchooser_DEPENDENCIES = $(TEST_DEPS)
205 testappchooserbutton_DEPENDENCIES = $(TEST_DEPS)
206 testorientable_DEPENDENCIES = $(TEST_DEPS)
207 testoverlay_DEPENDENCIES = $(TEST_DEPS)
208 testoverlaystyleclass_DEPENDENCIES = $(TEST_DEPS)
209 testprint_DEPENDENCIES = $(TEST_DEPS)
210 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
211 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
212 testrichtext_DEPENDENCIES = $(TEST_DEPS)
213 testscale_DEPENDENCIES = $(TEST_DEPS)
214 testselection_DEPENDENCIES = $(TEST_DEPS)
215 testsocket_DEPENDENCIES = $(DEPS)
216 testsocket_child_DEPENDENCIES = $(DEPS)
217 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
218 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
219 testtreechanging_DEPENDENCIES = $(DEPS)
220 testtreeedit_DEPENDENCIES = $(DEPS)
221 testtreemodel_DEPENDENCIES = $(DEPS)
222 testtreeview_DEPENDENCIES = $(DEPS)
223 testtreefocus_DEPENDENCIES = $(DEPS)
224 testtreeflow_DEPENDENCIES = $(DEPS)
225 testtreecolumns_DEPENDENCIES = $(DEPS)
226 testtreecolumnsizing_DEPENDENCIES = $(DEPS)
227 testtreesort_DEPENDENCIES = $(DEPS)
228 testverticalcells_DEPENDENCIES = $(DEPS)
229 treestoretest_DEPENDENCIES = $(TEST_DEPS)
230 testxinerama_DEPENDENCIES = $(TEST_DEPS)
231 testmerge_DEPENDENCIES = $(TEST_DEPS)
232 testactions_DEPENDENCIES = $(TEST_DEPS)
233 testgrouping_DEPENDENCIES = $(TEST_DEPS)
234 testtooltips_DEPENDENCIES = $(TEST_DEPS)
235 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
236 testscrolledwindow_DEPENDENCIES = $(TEST_DEPS)
237 testcellarea_DEPENDENCIES = $(TEST_DEPS)
238 testtreemenu_DEPENDENCIES = $(TEST_DEPS)
239 testwindows_DEPENDENCIES = $(TEST_DEPS)
240 testexpand_DEPENDENCIES = $(TEST_DEPS)
241 testexpander_DEPENDENCIES = $(TEST_DEPS)
242 testswitch_DEPENDENCIES = $(TEST_DEPS)
243 styleexamples_DEPENDENCIES = $(TEST_DEPS)
244 testtoplevelembed_DEPENDENCIES = $(TEST_DEPS)
245 testnoscreen_DEPENDENCIES = $(TEST_DEPS)
246 testtreepos_DEPENDENCIES = $(TEST_DEPS)
247 testsensitive_DEPENDENCIES = $(TEST_DEPS)
248 testtextview_DEPENDENCIES = $(TEST_DEPS)
249 testanimation_DEPENDENCIES = $(TEST_DEPS)
250 testpixbuf_save_DEPENDENCIES = $(TEST_DEPS)
251 testpixbuf_color_DEPENDENCIES = $(TEST_DEPS)
252 testpixbuf_scale_DEPENDENCIES = $(TEST_DEPS)
253 testgmenu_DEPENDENCIES = $(TEST_DEPS)
254 testlogout_DEPENDENCIES = $(TEST_DEPS)
255
256 testboxcss_SOURCES =    \
257         testboxcss.c    \
258         prop-editor.c
259
260 testentrycompletion_SOURCES =   \
261         prop-editor.c           \
262         testentrycompletion.c
263
264 testentryicons_SOURCES =        \
265         prop-editor.c           \
266         testentryicons.c
267
268 testfilechooser_SOURCES =       \
269         prop-editor.c           \
270         testfilechooser.c
271
272 testfilechooserbutton_SOURCES = \
273         prop-editor.c           \
274         testfilechooserbutton.c
275
276 testfontselection_SOURCES = \
277         testfontselection.c
278
279 testfontselectiondialog_SOURCES = \
280         testfontselectiondialog.c
281
282 testfontchooser_SOURCES = \
283         prop-editor.c           \
284         testfontchooser.c
285
286 testfontchooserdialog_SOURCES = \
287         prop-editor.c           \
288         testfontchooserdialog.c
289
290 testgrid_SOURCES =      \
291         testgrid.c
292
293 testgtk_SOURCES =       \
294         prop-editor.c   \
295         testgtk.c
296
297 testtreechanging_SOURCES =      \
298         prop-editor.c           \
299         testtreechanging.c
300
301 testtreeedit_SOURCES =  \
302         testtreeedit.c
303
304 testtreemodel_SOURCES = \
305         testtreemodel.c
306
307 testtreeview_SOURCES =  \
308         prop-editor.c   \
309         testtreeview.c
310
311 testtoolbar_SOURCES =   \
312         testtoolbar.c   \
313         prop-editor.c
314
315 testmenubutton_SOURCES =        \
316         testmenubutton.c        \
317         prop-editor.c
318
319 testprint_SOURCES =     \
320         testprint.c             \
321         testprintfileoperation.h \
322         testprintfileoperation.c
323
324 testsocket_SOURCES =            \
325         testsocket.c            \
326         testsocket_common.c
327
328 testsocket_child_SOURCES =      \
329         testsocket_child.c      \
330         testsocket_common.c
331
332 testspinbutton_SOURCES =        \
333         testspinbutton.c
334
335 teststatusicon_SOURCES =        \
336         prop-editor.c           \
337         teststatusicon.c
338
339 testmerge_SOURCES =             \
340         testmerge.c
341
342 testactions_SOURCES =           \
343         testactions.c
344
345 testbbox_SOURCES =              \
346         testbbox.c
347
348 testbuttons_SOURCES =           \
349         testbuttons.c
350
351 testframe_SOURCES =             \
352         testframe.c
353
354 testgeometry_SOURCES =          \
355         testgeometry.c
356
357 testgiconpixbuf_SOURCES =       \
358         testgiconpixbuf.c
359
360 testiconview_SOURCES =          \
361         testiconview.c          \
362         prop-editor.c
363
364 testiconview_keynav_SOURCES =   \
365         testiconview-keynav.c
366
367 testnumerableicon_SOURCES =     \
368         testnumerableicon.c     \
369         prop-editor.c
370
371 testrecentchooser_SOURCES =     \
372         prop-editor.c           \
373         testrecentchooser.c
374
375 testgrouping_SOURCES =          \
376         testgrouping.c
377
378 testtooltips_SOURCES =          \
379         testtooltips.c
380
381 testrecentchoosermenu_SOURCES = \
382         testrecentchoosermenu.c
383
384 testvolumebutton_SOURCES =      \
385         testvolumebutton.c
386
387 testscrolledwindow_SOURCES =    \
388         testscrolledwindow.c
389
390 testcellarea_SOURCES =          \
391         testcellarea.c
392
393 testtreemenu_SOURCES =          \
394         testtreemenu.c
395
396 testoffscreen_SOURCES =         \
397         gtkoffscreenbox.c       \
398         gtkoffscreenbox.h       \
399         testoffscreen.c
400
401 testoffscreenwindow_SOURCES =   \
402         testoffscreenwindow.c
403
404 testoverlay_SOURCES =   \
405         testoverlay.c
406
407 testoverlaystyleclass_SOURCES = \
408         testoverlaystyleclass.c
409
410 testappchooser_SOURCES = \
411         testappchooser.c
412
413 testappchooserbutton_SOURCES = \
414         testappchooserbutton.c
415
416 testwindows_SOURCES =   \
417         testwindows.c
418
419 testexpand_SOURCES = testexpand.c
420
421 testexpander_SOURCES = testexpander.c
422
423 testswitch_SOURCES = testswitch.c
424
425 styleexamples_SOURCES = styleexamples.c
426
427 testtoplevelembed_SOURCES = testtoplevelembed.c
428
429 testtextview_SOURCES = testtextview.c
430
431 testanimation_SOURCES = testanimation.c
432
433 testpixbuf_scale_SOURCES = testpixbuf-scale.c
434
435 testpixbuf_color_SOURCES = testpixbuf-color.c
436
437 testpixbuf_save_SOURCES = testpixbuf-save.c
438
439 testcolorchooser_SOURCES = testcolorchooser.c
440
441 testkineticscrolling_SOURCES = testkineticscrolling.c
442
443 EXTRA_DIST +=                   \
444         gradient1.png           \
445         prop-editor.h           \
446         testgtk.1               \
447         testgtk.css             \
448         testgtk2.css            \
449         3DRings.xpm             \
450         FilesQueue.xpm          \
451         Modeller.xpm            \
452         check-y.xpm             \
453         check-n.xpm             \
454         marble.xpm              \
455         test.xpm                \
456         check-y.xpm             \
457         check-n.xpm             \
458         test.xpm                \
459         merge-1.ui              \
460         merge-2.ui              \
461         merge-3.ui              \
462         gnome-textfile.png      \
463         makefile.msc
464
465
466 -include $(top_srcdir)/git.mk