]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
Merge branch 'master' into treeview-refactor
[~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         treestoretest                   \
91         testxinerama                    \
92         testwindows                     \
93         testmerge                       \
94         testactions                     \
95         testgrouping                    \
96         testtooltips                    \
97         testexpand                      \
98         testexpander                    \
99         testvolumebutton                \
100         testscrolledwindow              \
101         testcellarea                    \
102         testswitch
103
104 if USE_X11
105 noinst_PROGRAMS += testerrors
106 endif
107
108 if HAVE_CXX
109 noinst_PROGRAMS += autotestkeywords
110 TESTS = autotestkeywords
111
112 autotestkeywords_SOURCES = autotestkeywords.cc
113 autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
114
115 if HAVE_OBJC
116 autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
117 endif
118
119 endif
120
121 flicker_DEPENDENCIES = $(TEST_DEPS)
122 simple_DEPENDENCIES = $(TEST_DEPS)
123 print_editor_DEPENDENCIES = $(TEST_DEPS)
124 testheightforwidth_DEPENDENCIES = $(TEST_DEPS)
125 testicontheme_DEPENDENCIES = $(TEST_DEPS)
126 testiconview_DEPENDENCIES = $(TEST_DEPS)
127 testaccel_DEPENDENCIES = $(TEST_DEPS)
128 testadjustsize_DEPENDENCIES = $(TEST_DEPS)
129 testassistant_DEPENDENCIES = $(TEST_DEPS)
130 testbbox_DEPENDENCIES = $(TEST_DEPS)
131 testbuttons_DEPENDENCIES = $(TEST_DEPS)
132 testcairo_DEPENDENCIES = $(TEST_DEPS)
133 testcalendar_DEPENDENCIES = $(TEST_DEPS)
134 testcombo_DEPENDENCIES = $(TEST_DEPS)
135 testcombochange_DEPENDENCIES = $(TEST_DEPS)
136 testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
137 testclientmessage_DEPENDENCIES = $(TEST_DEPS)
138 testdnd_DEPENDENCIES = $(TEST_DEPS)
139 testellipsise_DEPENDENCIES = $(TEST_DEPS)
140 testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
141 testentryicons_DEPENDENCIES = $(TEST_DEPS)
142 testerrors_DEPENDENCIES = $(TEST_DEPS)
143 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
144 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
145 testframe_DEPENDENCIES = $(TEST_DEPS)
146 testgeometry_DEPENDENCIES = $(TEST_DEPS)
147 testgiconpixbuf = $(TEST_DEPS)
148 testgrid_DEPENDENCIES = $(TEST_DEPS)
149 testgtk_DEPENDENCIES = $(TEST_DEPS)
150 testinput_DEPENDENCIES = $(TEST_DEPS)
151 testimage_DEPENDENCIES = $(TEST_DEPS)
152 testmenubars_DEPENDENCIES = $(TEST_DEPS)
153 testmountoperation_DEPENDENCIES = $(TEST_DEPS)
154 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
155 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
156 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
157 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
158 testoffscreen_DEPENDENCIES = $(TEST_DEPS)
159 testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
160 testappchooser_DEPENDENCIES = $(TEST_DEPS)
161 testappchooserbutton_DEPENDENCIES = $(TEST_DEPS)
162 testorientable_DEPENDENCIES = $(TEST_DEPS)
163 testprint_DEPENDENCIES = $(TEST_DEPS)
164 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
165 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
166 testrichtext_DEPENDENCIES = $(TEST_DEPS)
167 testscale_DEPENDENCIES = $(TEST_DEPS)
168 testselection_DEPENDENCIES = $(TEST_DEPS)
169 testsocket_DEPENDENCIES = $(DEPS)
170 testsocket_child_DEPENDENCIES = $(DEPS)
171 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
172 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
173 #testtext_DEPENDENCIES = $(TEST_DEPS)
174 testtreeedit_DEPENDENCIES = $(DEPS)
175 testtreemodel_DEPENDENCIES = $(DEPS)
176 testtreeview_DEPENDENCIES = $(DEPS)
177 testtreefocus_DEPENDENCIES = $(DEPS)
178 testtreeflow_DEPENDENCIES = $(DEPS)
179 testtreecolumns_DEPENDENCIES = $(DEPS)
180 testtreecolumnsizing_DEPENDENCIES = $(DEPS)
181 testtreesort_DEPENDENCIES = $(DEPS)
182 treestoretest_DEPENDENCIES = $(TEST_DEPS)
183 testxinerama_DEPENDENCIES = $(TEST_DEPS)
184 testmerge_DEPENDENCIES = $(TEST_DEPS)
185 testactions_DEPENDENCIES = $(TEST_DEPS)
186 testgrouping_DEPENDENCIES = $(TEST_DEPS)
187 testtooltips_DEPENDENCIES = $(TEST_DEPS)
188 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
189 testscrolledwindow_DEPENDENCIES = $(TEST_DEPS)
190 testcellarea_DEPENDENCIES = $(TEST_DEPS)
191 testwindows_DEPENDENCIES = $(TEST_DEPS)
192 testexpand_DEPENDENCIES = $(TEST_DEPS)
193 testexpander_DEPENDENCIES = $(TEST_DEPS)
194 testswitch_DEPENDENCIES = $(TEST_DEPS)
195
196 flicker_LDADD = $(LDADDS)
197 simple_LDADD = $(LDADDS)
198 print_editor_LDADD = $(LDADDS)
199 testaccel_LDADD = $(LDADDS)
200 testadjustsize_LDADD = $(LDADDS)
201 testassistant_LDADD = $(LDADDS)
202 testbbox_LDADD = $(LDADDS)
203 testbuttons_LDADD = $(LDADDS)
204 testcairo_LDADD = $(LDADDS)
205 testcalendar_LDADD = $(LDADDS)
206 testcombo_LDADD = $(LDADDS)
207 testcombochange_LDADD = $(LDADDS)
208 testcellrenderertext_LDADD = $(LDADDS)
209 testclientmessage_LDADD = $(LDADDS)
210 testdnd_LDADD = $(LDADDS)
211 testellipsise_LDADD = $(LDADDS)
212 testentrycompletion_LDADD = $(LDADDS)
213 testentryicons_LDADD = $(LDADDS)
214 testerrors_LDADD = $(LDADDS)
215 testfilechooser_LDADD = $(LDADDS)
216 testfilechooserbutton_LDADD = $(LDADDS)
217 testframe_LDADD = $(LDADDS)
218 testgeometry_LDADD = $(LDADDS)
219 testgiconpixbuf_LDADD = $(LDADDS)
220 testgrid_LDADD = $(LDADDS)
221 testgtk_LDADD = $(LDADDS)
222 testheightforwidth_LDADD = $(LDADDS)
223 testicontheme_LDADD = $(LDADDS)
224 testiconview_LDADD = $(LDADDS)
225 testiconview_keynav_LDADD = $(LDADDS)
226 testinput_LDADD = $(LDADDS)
227 testimage_LDADD = $(LDADDS)
228 testmenubars_LDADD = $(LDADDS)
229 testmountoperation_LDADD = $(LDADDS)
230 testmultidisplay_LDADD = $(LDADDS)
231 testmultiscreen_LDADD = $(LDADDS)
232 testnotebookdnd_LDADD = $(LDADDS)
233 testnouiprint_LDADD = $(LDADDS)
234 testoffscreen_LDADD = $(LDADDS)
235 testoffscreenwindow_LDADD = $(LDADDS)
236 testappchooser_LDADD = $(LDADDS)
237 testappchooserbutton_LDADD = $(LDADDS)
238 testorientable_LDADD = $(LDADDS)
239 testprint_LDADD = $(LDADDS)
240 testrecentchooser_LDADD = $(LDADDS)
241 testrecentchoosermenu_LDADD = $(LDADDS)
242 testrichtext_LDADD = $(LDADDS)
243 testscale_LDADD = $(LDADDS)
244 testselection_LDADD = $(LDADDS)
245 testsocket_LDADD = $(LDADDS)
246 testsocket_child_LDADD = $(LDADDS)
247 testspinbutton_LDADD = $(LDADDS)
248 teststatusicon_LDADD = $(LDADDS)
249 testtoolbar_LDADD = $(LDADDS)
250 stresstest_toolbar_LDADD = $(LDADDS)
251 testtreeedit_LDADD = $(LDADDS)
252 testtreemodel_LDADD = $(LDADDS)
253 testtreeview_LDADD = $(LDADDS)
254 testtreefocus_LDADD = $(LDADDS)
255 testtreeflow_LDADD = $(LDADDS)
256 testtreecolumns_LDADD = $(LDADDS)
257 testtreecolumnsizing_LDADD = $(LDADDS)
258 testtreesort_LDADD = $(LDADDS)
259 #testtext_LDADD = $(LDADDS)
260 treestoretest_LDADD = $(LDADDS)
261 testxinerama_LDADD = $(LDADDS)
262 testmerge_LDADD = $(LDADDS)
263 testactions_LDADD = $(LDADDS)
264 testgrouping_LDADD = $(LDADDS)
265 testtooltips_LDADD = $(LDADDS)
266 testvolumebutton_LDADD = $(LDADDS)
267 testscrolledwindow_LDADD = $(LDADDS)
268 testcellarea_LDADD = $(LDADDS)
269 testwindows_LDADD = $(LDADDS)
270 testexpand_LDADD = $(LDADDS)
271 testexpander_LDADD = $(LDADDS)
272 testswitch_LDADD = $(LDADDS)
273
274 testentrycompletion_SOURCES =   \
275         prop-editor.c           \
276         testentrycompletion.c
277
278 testentryicons_SOURCES =        \
279         prop-editor.c           \
280         testentryicons.c
281
282 testfilechooser_SOURCES =       \
283         prop-editor.c           \
284         testfilechooser.c
285
286 testfilechooserbutton_SOURCES = \
287         prop-editor.c           \
288         testfilechooserbutton.c
289
290 testgrid_SOURCES =      \
291         testgrid.c
292
293 testgtk_SOURCES =       \
294         prop-editor.c   \
295         testgtk.c
296
297 testtreeedit_SOURCES =  \
298         testtreeedit.c
299
300 testtreemodel_SOURCES = \
301         testtreemodel.c
302
303 testtreeview_SOURCES =  \
304         prop-editor.c   \
305         testtreeview.c
306
307 #testtext_SOURCES =     \
308 #       prop-editor.c   \
309 #       testtext.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
410 EXTRA_DIST +=                   \
411         prop-editor.h           \
412         testgtk.1               \
413         testgtkrc               \
414         testgtkrc2              \
415         3DRings.xpm             \
416         FilesQueue.xpm          \
417         Modeller.xpm            \
418         check-y.xpm             \
419         check-n.xpm             \
420         marble.xpm              \
421         test.xpm                \
422         check-y.xpm             \
423         check-n.xpm             \
424         test.xpm                \
425         merge-1.ui              \
426         merge-2.ui              \
427         merge-3.ui              \
428         gnome-textfile.png      \
429         makefile.msc
430
431
432 -include $(top_srcdir)/git.mk