]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
Merge libgdk and libgtk
[~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         $(GTK_DEP_LIBS)                         \
20         -lm
21
22 if USE_X11
23 testsocket_programs = testsocket testsocket_child
24 endif
25
26 noinst_PROGRAMS =  $(TEST_PROGS)        \
27         simple                          \
28         flicker                         \
29         print-editor                    \
30         testaccel                       \
31         testadjustsize                  \
32         testappchooser                  \
33         testappchooserbutton            \
34         testassistant                   \
35         testbbox                        \
36         testbuttons                     \
37         testcairo                       \
38         testcalendar                    \
39         testcombo                       \
40         testcombochange                 \
41         testcellrenderertext            \
42         testclientmessage               \
43         testdnd                         \
44         testellipsise                   \
45         testentrycompletion             \
46         testentryicons                  \
47         testfilechooser                 \
48         testfilechooserbutton           \
49         testframe                       \
50         testgeometry                    \
51         testgiconpixbuf                 \
52         testgrid                        \
53         testgtk                         \
54         testheightforwidth              \
55         testiconview                    \
56         testiconview-keynav             \
57         testicontheme                   \
58         testimage                       \
59         testinput                       \
60         testmenubars                    \
61         testmountoperation              \
62         testmultidisplay                \
63         testmultiscreen                 \
64         testnotebookdnd                 \
65         testnouiprint                   \
66         testoffscreen                   \
67         testoffscreenwindow             \
68         testorientable                  \
69         testprint                       \
70         testrecentchooser               \
71         testrecentchoosermenu           \
72         testrichtext                    \
73         testscale                       \
74         testselection                   \
75         $(testsocket_programs)          \
76         testspinbutton                  \
77         teststatusicon                  \
78         testtoolbar                     \
79         stresstest-toolbar              \
80         testtreeedit                    \
81         testtreemodel                   \
82         testtreeview                    \
83         testtreefocus                   \
84         testtreeflow                    \
85         testtreecolumns                 \
86         testtreecolumnsizing            \
87         testtreesort                    \
88         testverticalcells                       \
89         treestoretest                   \
90         testxinerama                    \
91         testwindows                     \
92         testmerge                       \
93         testactions                     \
94         testgrouping                    \
95         testtooltips                    \
96         testexpand                      \
97         testexpander                    \
98         testvolumebutton                \
99         testscrolledwindow              \
100         testcellarea                    \
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 testverticalcells_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 styleexamples_DEPENDENCIES = $(TEST_DEPS)
196
197 flicker_LDADD = $(LDADDS)
198 simple_LDADD = $(LDADDS)
199 print_editor_LDADD = $(LDADDS)
200 testaccel_LDADD = $(LDADDS)
201 testadjustsize_LDADD = $(LDADDS)
202 testassistant_LDADD = $(LDADDS)
203 testbbox_LDADD = $(LDADDS)
204 testbuttons_LDADD = $(LDADDS)
205 testcairo_LDADD = $(LDADDS)
206 testcalendar_LDADD = $(LDADDS)
207 testcombo_LDADD = $(LDADDS)
208 testcombochange_LDADD = $(LDADDS)
209 testcellrenderertext_LDADD = $(LDADDS)
210 testclientmessage_LDADD = $(LDADDS)
211 testdnd_LDADD = $(LDADDS)
212 testellipsise_LDADD = $(LDADDS)
213 testentrycompletion_LDADD = $(LDADDS)
214 testentryicons_LDADD = $(LDADDS)
215 testerrors_LDADD = $(LDADDS)
216 testfilechooser_LDADD = $(LDADDS)
217 testfilechooserbutton_LDADD = $(LDADDS)
218 testframe_LDADD = $(LDADDS)
219 testgeometry_LDADD = $(LDADDS)
220 testgiconpixbuf_LDADD = $(LDADDS)
221 testgrid_LDADD = $(LDADDS)
222 testgtk_LDADD = $(LDADDS)
223 testheightforwidth_LDADD = $(LDADDS)
224 testicontheme_LDADD = $(LDADDS)
225 testiconview_LDADD = $(LDADDS)
226 testiconview_keynav_LDADD = $(LDADDS)
227 testinput_LDADD = $(LDADDS)
228 testimage_LDADD = $(LDADDS)
229 testmenubars_LDADD = $(LDADDS)
230 testmountoperation_LDADD = $(LDADDS)
231 testmultidisplay_LDADD = $(LDADDS)
232 testmultiscreen_LDADD = $(LDADDS)
233 testnotebookdnd_LDADD = $(LDADDS)
234 testnouiprint_LDADD = $(LDADDS)
235 testoffscreen_LDADD = $(LDADDS)
236 testoffscreenwindow_LDADD = $(LDADDS)
237 testappchooser_LDADD = $(LDADDS)
238 testappchooserbutton_LDADD = $(LDADDS)
239 testorientable_LDADD = $(LDADDS)
240 testprint_LDADD = $(LDADDS)
241 testrecentchooser_LDADD = $(LDADDS)
242 testrecentchoosermenu_LDADD = $(LDADDS)
243 testrichtext_LDADD = $(LDADDS)
244 testscale_LDADD = $(LDADDS)
245 testselection_LDADD = $(LDADDS)
246 testsocket_LDADD = $(LDADDS)
247 testsocket_child_LDADD = $(LDADDS)
248 testspinbutton_LDADD = $(LDADDS)
249 teststatusicon_LDADD = $(LDADDS)
250 testtoolbar_LDADD = $(LDADDS)
251 stresstest_toolbar_LDADD = $(LDADDS)
252 testtreeedit_LDADD = $(LDADDS)
253 testtreemodel_LDADD = $(LDADDS)
254 testtreeview_LDADD = $(LDADDS)
255 testtreefocus_LDADD = $(LDADDS)
256 testtreeflow_LDADD = $(LDADDS)
257 testtreecolumns_LDADD = $(LDADDS)
258 testtreecolumnsizing_LDADD = $(LDADDS)
259 testtreesort_LDADD = $(LDADDS)
260 testverticalcells_LDADD = $(LDADDS)
261 treestoretest_LDADD = $(LDADDS)
262 testxinerama_LDADD = $(LDADDS)
263 testmerge_LDADD = $(LDADDS)
264 testactions_LDADD = $(LDADDS)
265 testgrouping_LDADD = $(LDADDS)
266 testtooltips_LDADD = $(LDADDS)
267 testvolumebutton_LDADD = $(LDADDS)
268 testscrolledwindow_LDADD = $(LDADDS)
269 testcellarea_LDADD = $(LDADDS)
270 testwindows_LDADD = $(LDADDS)
271 testexpand_LDADD = $(LDADDS)
272 testexpander_LDADD = $(LDADDS)
273 testswitch_LDADD = $(LDADDS)
274 styleexamples_LDADD = $(LDADDS)
275
276 testentrycompletion_SOURCES =   \
277         prop-editor.c           \
278         testentrycompletion.c
279
280 testentryicons_SOURCES =        \
281         prop-editor.c           \
282         testentryicons.c
283
284 testfilechooser_SOURCES =       \
285         prop-editor.c           \
286         testfilechooser.c
287
288 testfilechooserbutton_SOURCES = \
289         prop-editor.c           \
290         testfilechooserbutton.c
291
292 testgrid_SOURCES =      \
293         testgrid.c
294
295 testgtk_SOURCES =       \
296         prop-editor.c   \
297         testgtk.c
298
299 testtreeedit_SOURCES =  \
300         testtreeedit.c
301
302 testtreemodel_SOURCES = \
303         testtreemodel.c
304
305 testtreeview_SOURCES =  \
306         prop-editor.c   \
307         testtreeview.c
308
309 testtoolbar_SOURCES =   \
310         testtoolbar.c   \
311         prop-editor.c
312
313 testprint_SOURCES =     \
314         testprint.c             \
315         testprintfileoperation.h \
316         testprintfileoperation.c
317
318 testsocket_SOURCES =            \
319         testsocket.c            \
320         testsocket_common.c
321
322 testsocket_child_SOURCES =      \
323         testsocket_child.c      \
324         testsocket_common.c
325
326 testspinbutton_SOURCES =        \
327         testspinbutton.c
328
329 teststatusicon_SOURCES =        \
330         prop-editor.c           \
331         teststatusicon.c
332
333 testmerge_SOURCES =             \
334         testmerge.c
335
336 testactions_SOURCES =           \
337         testactions.c
338
339 testbbox_SOURCES =              \
340         testbbox.c
341
342 testbuttons_SOURCES =           \
343         testbuttons.c
344
345 testframe_SOURCES =             \
346         testframe.c
347
348 testgeometry_SOURCES =          \
349         testgeometry.c
350
351 testgiconpixbuf_SOURCES =       \
352         testgiconpixbuf.c
353
354 testiconview_SOURCES =          \
355         testiconview.c          \
356         prop-editor.c
357
358 testiconview_keynav_SOURCES =   \
359         testiconview-keynav.c
360
361 testrecentchooser_SOURCES =     \
362         prop-editor.c           \
363         testrecentchooser.c
364
365 testgrouping_SOURCES =          \
366         testgrouping.c
367
368 testtooltips_SOURCES =          \
369         testtooltips.c
370
371 testrecentchoosermenu_SOURCES = \
372         testrecentchoosermenu.c
373
374 testvolumebutton_SOURCES =      \
375         testvolumebutton.c
376
377 testscrolledwindow_SOURCES =    \
378         testscrolledwindow.c
379
380 testcellarea_SOURCES =          \
381         testcellarea.c          \
382         cellareascaffold.c      \
383         cellareascaffold.h
384
385 testoffscreen_SOURCES =         \
386         gtkoffscreenbox.c       \
387         gtkoffscreenbox.h       \
388         testoffscreen.c
389
390 testoffscreenwindow_SOURCES =   \
391         testoffscreenwindow.c
392
393 testappchooser_SOURCES = \
394         testappchooser.c
395
396 testappchooserbutton_SOURCES = \
397         testappchooserbutton.c
398
399 testwindows_SOURCES =   \
400         testwindows.c
401
402 testexpand_SOURCES = testexpand.c
403
404 testexpander_SOURCES = testexpander.c
405
406 testswitch_SOURCES = testswitch.c
407 styleexamples_SOURCES = styleexamples.c
408
409 EXTRA_DIST +=                   \
410         prop-editor.h           \
411         testgtk.1               \
412         testgtk.css             \
413         testgtk2.css            \
414         3DRings.xpm             \
415         FilesQueue.xpm          \
416         Modeller.xpm            \
417         check-y.xpm             \
418         check-n.xpm             \
419         marble.xpm              \
420         test.xpm                \
421         check-y.xpm             \
422         check-n.xpm             \
423         test.xpm                \
424         merge-1.ui              \
425         merge-2.ui              \
426         merge-3.ui              \
427         gnome-textfile.png      \
428         makefile.msc
429
430
431 -include $(top_srcdir)/git.mk