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