]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
Merge branch 'master' into broadway
[~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         testswitch                      \
102         styleexamples
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 testtreeedit_DEPENDENCIES = $(DEPS)
174 testtreemodel_DEPENDENCIES = $(DEPS)
175 testtreeview_DEPENDENCIES = $(DEPS)
176 testtreefocus_DEPENDENCIES = $(DEPS)
177 testtreeflow_DEPENDENCIES = $(DEPS)
178 testtreecolumns_DEPENDENCIES = $(DEPS)
179 testtreecolumnsizing_DEPENDENCIES = $(DEPS)
180 testtreesort_DEPENDENCIES = $(DEPS)
181 treestoretest_DEPENDENCIES = $(TEST_DEPS)
182 testxinerama_DEPENDENCIES = $(TEST_DEPS)
183 testmerge_DEPENDENCIES = $(TEST_DEPS)
184 testactions_DEPENDENCIES = $(TEST_DEPS)
185 testgrouping_DEPENDENCIES = $(TEST_DEPS)
186 testtooltips_DEPENDENCIES = $(TEST_DEPS)
187 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
188 testscrolledwindow_DEPENDENCIES = $(TEST_DEPS)
189 testwindows_DEPENDENCIES = $(TEST_DEPS)
190 testexpand_DEPENDENCIES = $(TEST_DEPS)
191 testexpander_DEPENDENCIES = $(TEST_DEPS)
192 testswitch_DEPENDENCIES = $(TEST_DEPS)
193 styleexamples_DEPENDENCIES = $(TEST_DEPS)
194
195 flicker_LDADD = $(LDADDS)
196 simple_LDADD = $(LDADDS)
197 print_editor_LDADD = $(LDADDS)
198 testaccel_LDADD = $(LDADDS)
199 testadjustsize_LDADD = $(LDADDS)
200 testassistant_LDADD = $(LDADDS)
201 testbbox_LDADD = $(LDADDS)
202 testbuttons_LDADD = $(LDADDS)
203 testcairo_LDADD = $(LDADDS)
204 testcalendar_LDADD = $(LDADDS)
205 testcombo_LDADD = $(LDADDS)
206 testcombochange_LDADD = $(LDADDS)
207 testcellrenderertext_LDADD = $(LDADDS)
208 testclientmessage_LDADD = $(LDADDS)
209 testdnd_LDADD = $(LDADDS)
210 testellipsise_LDADD = $(LDADDS)
211 testentrycompletion_LDADD = $(LDADDS)
212 testentryicons_LDADD = $(LDADDS)
213 testerrors_LDADD = $(LDADDS)
214 testfilechooser_LDADD = $(LDADDS)
215 testfilechooserbutton_LDADD = $(LDADDS)
216 testframe_LDADD = $(LDADDS)
217 testgeometry_LDADD = $(LDADDS)
218 testgiconpixbuf_LDADD = $(LDADDS)
219 testgrid_LDADD = $(LDADDS)
220 testgtk_LDADD = $(LDADDS)
221 testheightforwidth_LDADD = $(LDADDS)
222 testicontheme_LDADD = $(LDADDS)
223 testiconview_LDADD = $(LDADDS)
224 testiconview_keynav_LDADD = $(LDADDS)
225 testinput_LDADD = $(LDADDS)
226 testimage_LDADD = $(LDADDS)
227 testmenubars_LDADD = $(LDADDS)
228 testmountoperation_LDADD = $(LDADDS)
229 testmultidisplay_LDADD = $(LDADDS)
230 testmultiscreen_LDADD = $(LDADDS)
231 testnotebookdnd_LDADD = $(LDADDS)
232 testnouiprint_LDADD = $(LDADDS)
233 testoffscreen_LDADD = $(LDADDS)
234 testoffscreenwindow_LDADD = $(LDADDS)
235 testappchooser_LDADD = $(LDADDS)
236 testappchooserbutton_LDADD = $(LDADDS)
237 testorientable_LDADD = $(LDADDS)
238 testprint_LDADD = $(LDADDS)
239 testrecentchooser_LDADD = $(LDADDS)
240 testrecentchoosermenu_LDADD = $(LDADDS)
241 testrichtext_LDADD = $(LDADDS)
242 testscale_LDADD = $(LDADDS)
243 testselection_LDADD = $(LDADDS)
244 testsocket_LDADD = $(LDADDS)
245 testsocket_child_LDADD = $(LDADDS)
246 testspinbutton_LDADD = $(LDADDS)
247 teststatusicon_LDADD = $(LDADDS)
248 testtoolbar_LDADD = $(LDADDS)
249 stresstest_toolbar_LDADD = $(LDADDS)
250 testtreeedit_LDADD = $(LDADDS)
251 testtreemodel_LDADD = $(LDADDS)
252 testtreeview_LDADD = $(LDADDS)
253 testtreefocus_LDADD = $(LDADDS)
254 testtreeflow_LDADD = $(LDADDS)
255 testtreecolumns_LDADD = $(LDADDS)
256 testtreecolumnsizing_LDADD = $(LDADDS)
257 testtreesort_LDADD = $(LDADDS)
258 treestoretest_LDADD = $(LDADDS)
259 testxinerama_LDADD = $(LDADDS)
260 testmerge_LDADD = $(LDADDS)
261 testactions_LDADD = $(LDADDS)
262 testgrouping_LDADD = $(LDADDS)
263 testtooltips_LDADD = $(LDADDS)
264 testvolumebutton_LDADD = $(LDADDS)
265 testscrolledwindow_LDADD = $(LDADDS)
266 testwindows_LDADD = $(LDADDS)
267 testexpand_LDADD = $(LDADDS)
268 testexpander_LDADD = $(LDADDS)
269 testswitch_LDADD = $(LDADDS)
270 styleexamples_LDADD = $(LDADDS)
271
272 testentrycompletion_SOURCES =   \
273         prop-editor.c           \
274         testentrycompletion.c
275
276 testentryicons_SOURCES =        \
277         prop-editor.c           \
278         testentryicons.c
279
280 testfilechooser_SOURCES =       \
281         prop-editor.c           \
282         testfilechooser.c
283
284 testfilechooserbutton_SOURCES = \
285         prop-editor.c           \
286         testfilechooserbutton.c
287
288 testgrid_SOURCES =      \
289         testgrid.c
290
291 testgtk_SOURCES =       \
292         prop-editor.c   \
293         testgtk.c
294
295 testtreeedit_SOURCES =  \
296         testtreeedit.c
297
298 testtreemodel_SOURCES = \
299         testtreemodel.c
300
301 testtreeview_SOURCES =  \
302         prop-editor.c   \
303         testtreeview.c
304
305 testtoolbar_SOURCES =   \
306         testtoolbar.c   \
307         prop-editor.c
308
309 testprint_SOURCES =     \
310         testprint.c             \
311         testprintfileoperation.h \
312         testprintfileoperation.c
313
314 testsocket_SOURCES =            \
315         testsocket.c            \
316         testsocket_common.c
317
318 testsocket_child_SOURCES =      \
319         testsocket_child.c      \
320         testsocket_common.c
321
322 testspinbutton_SOURCES =        \
323         testspinbutton.c
324
325 teststatusicon_SOURCES =        \
326         prop-editor.c           \
327         teststatusicon.c
328
329 testmerge_SOURCES =             \
330         testmerge.c
331
332 testactions_SOURCES =           \
333         testactions.c
334
335 testbbox_SOURCES =              \
336         testbbox.c
337
338 testbuttons_SOURCES =           \
339         testbuttons.c
340
341 testframe_SOURCES =             \
342         testframe.c
343
344 testgeometry_SOURCES =          \
345         testgeometry.c
346
347 testgiconpixbuf_SOURCES =       \
348         testgiconpixbuf.c
349
350 testiconview_SOURCES =          \
351         testiconview.c          \
352         prop-editor.c
353
354 testiconview_keynav_SOURCES =   \
355         testiconview-keynav.c
356
357 testrecentchooser_SOURCES =     \
358         prop-editor.c           \
359         testrecentchooser.c
360
361 testgrouping_SOURCES =          \
362         testgrouping.c
363
364 testtooltips_SOURCES =          \
365         testtooltips.c
366
367 testrecentchoosermenu_SOURCES = \
368         testrecentchoosermenu.c
369
370 testvolumebutton_SOURCES =      \
371         testvolumebutton.c
372
373 testscrolledwindow_SOURCES =    \
374         testscrolledwindow.c
375
376 testoffscreen_SOURCES =         \
377         gtkoffscreenbox.c       \
378         gtkoffscreenbox.h       \
379         testoffscreen.c
380
381 testoffscreenwindow_SOURCES =   \
382         testoffscreenwindow.c
383
384 testappchooser_SOURCES = \
385         testappchooser.c
386
387 testappchooserbutton_SOURCES = \
388         testappchooserbutton.c
389
390 testwindows_SOURCES =   \
391         testwindows.c
392
393 testexpand_SOURCES = testexpand.c
394
395 testexpander_SOURCES = testexpander.c
396
397 testswitch_SOURCES = testswitch.c
398 styleexamples_SOURCES = styleexamples.c
399
400 EXTRA_DIST +=                   \
401         prop-editor.h           \
402         testgtk.1               \
403         testgtk.css             \
404         testgtk2.css            \
405         3DRings.xpm             \
406         FilesQueue.xpm          \
407         Modeller.xpm            \
408         check-y.xpm             \
409         check-n.xpm             \
410         marble.xpm              \
411         test.xpm                \
412         check-y.xpm             \
413         check-n.xpm             \
414         test.xpm                \
415         merge-1.ui              \
416         merge-2.ui              \
417         merge-3.ui              \
418         gnome-textfile.png      \
419         makefile.msc
420
421
422 -include $(top_srcdir)/git.mk