]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
Merge branch 'open-with-dialog'
[~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
103 if USE_X11
104 noinst_PROGRAMS += testerrors
105 endif
106
107 if HAVE_CXX
108 noinst_PROGRAMS += autotestkeywords
109 TESTS = autotestkeywords
110
111 autotestkeywords_SOURCES = autotestkeywords.cc
112 autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
113
114 if HAVE_OBJC
115 autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
116 endif
117
118 endif
119
120 flicker_DEPENDENCIES = $(TEST_DEPS)
121 simple_DEPENDENCIES = $(TEST_DEPS)
122 print_editor_DEPENDENCIES = $(TEST_DEPS)
123 testheightforwidth_DEPENDENCIES = $(TEST_DEPS)
124 testicontheme_DEPENDENCIES = $(TEST_DEPS)
125 testiconview_DEPENDENCIES = $(TEST_DEPS)
126 testaccel_DEPENDENCIES = $(TEST_DEPS)
127 testadjustsize_DEPENDENCIES = $(TEST_DEPS)
128 testassistant_DEPENDENCIES = $(TEST_DEPS)
129 testbbox_DEPENDENCIES = $(TEST_DEPS)
130 testbuttons_DEPENDENCIES = $(TEST_DEPS)
131 testcairo_DEPENDENCIES = $(TEST_DEPS)
132 testcalendar_DEPENDENCIES = $(TEST_DEPS)
133 testcombo_DEPENDENCIES = $(TEST_DEPS)
134 testcombochange_DEPENDENCIES = $(TEST_DEPS)
135 testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
136 testclientmessage_DEPENDENCIES = $(TEST_DEPS)
137 testdnd_DEPENDENCIES = $(TEST_DEPS)
138 testellipsise_DEPENDENCIES = $(TEST_DEPS)
139 testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
140 testentryicons_DEPENDENCIES = $(TEST_DEPS)
141 testerrors_DEPENDENCIES = $(TEST_DEPS)
142 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
143 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
144 testframe_DEPENDENCIES = $(TEST_DEPS)
145 testgeometry_DEPENDENCIES = $(TEST_DEPS)
146 testgiconpixbuf = $(TEST_DEPS)
147 testgrid_DEPENDENCIES = $(TEST_DEPS)
148 testgtk_DEPENDENCIES = $(TEST_DEPS)
149 testinput_DEPENDENCIES = $(TEST_DEPS)
150 testimage_DEPENDENCIES = $(TEST_DEPS)
151 testmenubars_DEPENDENCIES = $(TEST_DEPS)
152 testmountoperation_DEPENDENCIES = $(TEST_DEPS)
153 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
154 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
155 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
156 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
157 testoffscreen_DEPENDENCIES = $(TEST_DEPS)
158 testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
159 testappchooser_DEPENDENCIES = $(TEST_DEPS)
160 testappchooserbutton_DEPENDENCIES = $(TEST_DEPS)
161 testorientable_DEPENDENCIES = $(TEST_DEPS)
162 testprint_DEPENDENCIES = $(TEST_DEPS)
163 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
164 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
165 testrichtext_DEPENDENCIES = $(TEST_DEPS)
166 testscale_DEPENDENCIES = $(TEST_DEPS)
167 testselection_DEPENDENCIES = $(TEST_DEPS)
168 testsocket_DEPENDENCIES = $(DEPS)
169 testsocket_child_DEPENDENCIES = $(DEPS)
170 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
171 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
172 #testtext_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
194 flicker_LDADD = $(LDADDS)
195 simple_LDADD = $(LDADDS)
196 print_editor_LDADD = $(LDADDS)
197 testaccel_LDADD = $(LDADDS)
198 testadjustsize_LDADD = $(LDADDS)
199 testassistant_LDADD = $(LDADDS)
200 testbbox_LDADD = $(LDADDS)
201 testbuttons_LDADD = $(LDADDS)
202 testcairo_LDADD = $(LDADDS)
203 testcalendar_LDADD = $(LDADDS)
204 testcombo_LDADD = $(LDADDS)
205 testcombochange_LDADD = $(LDADDS)
206 testcellrenderertext_LDADD = $(LDADDS)
207 testclientmessage_LDADD = $(LDADDS)
208 testdnd_LDADD = $(LDADDS)
209 testellipsise_LDADD = $(LDADDS)
210 testentrycompletion_LDADD = $(LDADDS)
211 testentryicons_LDADD = $(LDADDS)
212 testerrors_LDADD = $(LDADDS)
213 testfilechooser_LDADD = $(LDADDS)
214 testfilechooserbutton_LDADD = $(LDADDS)
215 testframe_LDADD = $(LDADDS)
216 testgeometry_LDADD = $(LDADDS)
217 testgiconpixbuf_LDADD = $(LDADDS)
218 testgrid_LDADD = $(LDADDS)
219 testgtk_LDADD = $(LDADDS)
220 testheightforwidth_LDADD = $(LDADDS)
221 testicontheme_LDADD = $(LDADDS)
222 testiconview_LDADD = $(LDADDS)
223 testiconview_keynav_LDADD = $(LDADDS)
224 testinput_LDADD = $(LDADDS)
225 testimage_LDADD = $(LDADDS)
226 testmenubars_LDADD = $(LDADDS)
227 testmountoperation_LDADD = $(LDADDS)
228 testmultidisplay_LDADD = $(LDADDS)
229 testmultiscreen_LDADD = $(LDADDS)
230 testnotebookdnd_LDADD = $(LDADDS)
231 testnouiprint_LDADD = $(LDADDS)
232 testoffscreen_LDADD = $(LDADDS)
233 testoffscreenwindow_LDADD = $(LDADDS)
234 testappchooser_LDADD = $(LDADDS)
235 testappchooserbutton_LDADD = $(LDADDS)
236 testorientable_LDADD = $(LDADDS)
237 testprint_LDADD = $(LDADDS)
238 testrecentchooser_LDADD = $(LDADDS)
239 testrecentchoosermenu_LDADD = $(LDADDS)
240 testrichtext_LDADD = $(LDADDS)
241 testscale_LDADD = $(LDADDS)
242 testselection_LDADD = $(LDADDS)
243 testsocket_LDADD = $(LDADDS)
244 testsocket_child_LDADD = $(LDADDS)
245 testspinbutton_LDADD = $(LDADDS)
246 teststatusicon_LDADD = $(LDADDS)
247 testtoolbar_LDADD = $(LDADDS)
248 stresstest_toolbar_LDADD = $(LDADDS)
249 testtreeedit_LDADD = $(LDADDS)
250 testtreemodel_LDADD = $(LDADDS)
251 testtreeview_LDADD = $(LDADDS)
252 testtreefocus_LDADD = $(LDADDS)
253 testtreeflow_LDADD = $(LDADDS)
254 testtreecolumns_LDADD = $(LDADDS)
255 testtreecolumnsizing_LDADD = $(LDADDS)
256 testtreesort_LDADD = $(LDADDS)
257 #testtext_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
271 testentrycompletion_SOURCES =   \
272         prop-editor.c           \
273         testentrycompletion.c
274
275 testentryicons_SOURCES =        \
276         prop-editor.c           \
277         testentryicons.c
278
279 testfilechooser_SOURCES =       \
280         prop-editor.c           \
281         testfilechooser.c
282
283 testfilechooserbutton_SOURCES = \
284         prop-editor.c           \
285         testfilechooserbutton.c
286
287 testgrid_SOURCES =      \
288         testgrid.c
289
290 testgtk_SOURCES =       \
291         prop-editor.c   \
292         testgtk.c
293
294 testtreeedit_SOURCES =  \
295         testtreeedit.c
296
297 testtreemodel_SOURCES = \
298         testtreemodel.c
299
300 testtreeview_SOURCES =  \
301         prop-editor.c   \
302         testtreeview.c
303
304 #testtext_SOURCES =     \
305 #       prop-editor.c   \
306 #       testtext.c
307
308 testtoolbar_SOURCES =   \
309         testtoolbar.c   \
310         prop-editor.c
311
312 testprint_SOURCES =     \
313         testprint.c             \
314         testprintfileoperation.h \
315         testprintfileoperation.c
316
317 testsocket_SOURCES =            \
318         testsocket.c            \
319         testsocket_common.c
320
321 testsocket_child_SOURCES =      \
322         testsocket_child.c      \
323         testsocket_common.c
324
325 testspinbutton_SOURCES =        \
326         testspinbutton.c
327
328 teststatusicon_SOURCES =        \
329         prop-editor.c           \
330         teststatusicon.c
331
332 testmerge_SOURCES =             \
333         testmerge.c
334
335 testactions_SOURCES =           \
336         testactions.c
337
338 testbbox_SOURCES =              \
339         testbbox.c
340
341 testbuttons_SOURCES =           \
342         testbuttons.c
343
344 testframe_SOURCES =             \
345         testframe.c
346
347 testgeometry_SOURCES =          \
348         testgeometry.c
349
350 testgiconpixbuf_SOURCES =       \
351         testgiconpixbuf.c
352
353 testiconview_SOURCES =          \
354         testiconview.c          \
355         prop-editor.c
356
357 testiconview_keynav_SOURCES =   \
358         testiconview-keynav.c
359
360 testrecentchooser_SOURCES =     \
361         prop-editor.c           \
362         testrecentchooser.c
363
364 testgrouping_SOURCES =          \
365         testgrouping.c
366
367 testtooltips_SOURCES =          \
368         testtooltips.c
369
370 testrecentchoosermenu_SOURCES = \
371         testrecentchoosermenu.c
372
373 testvolumebutton_SOURCES =      \
374         testvolumebutton.c
375
376 testscrolledwindow_SOURCES =    \
377         testscrolledwindow.c
378
379 testoffscreen_SOURCES =         \
380         gtkoffscreenbox.c       \
381         gtkoffscreenbox.h       \
382         testoffscreen.c
383
384 testoffscreenwindow_SOURCES =   \
385         testoffscreenwindow.c
386
387 testappchooser_SOURCES = \
388         testappchooser.c
389
390 testappchooserbutton_SOURCES = \
391         testappchooserbutton.c
392
393 testwindows_SOURCES =   \
394         testwindows.c
395
396 testexpand_SOURCES = testexpand.c
397
398 testexpander_SOURCES = testexpander.c
399
400 testswitch_SOURCES = testswitch.c
401
402 EXTRA_DIST +=                   \
403         prop-editor.h           \
404         testgtk.1               \
405         testgtkrc               \
406         testgtkrc2              \
407         3DRings.xpm             \
408         FilesQueue.xpm          \
409         Modeller.xpm            \
410         check-y.xpm             \
411         check-n.xpm             \
412         marble.xpm              \
413         test.xpm                \
414         check-y.xpm             \
415         check-n.xpm             \
416         test.xpm                \
417         merge-1.ui              \
418         merge-2.ui              \
419         merge-3.ui              \
420         gnome-textfile.png      \
421         makefile.msc
422
423
424 -include $(top_srcdir)/git.mk