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