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