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