]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
Make GTK+ use an external gdk-pixbuf
[~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         testassistant                   \
34         testbbox                        \
35         testbuttons                     \
36         testcairo                       \
37         testcalendar                    \
38         testcombo                       \
39         testcombochange                 \
40         testcellrenderertext            \
41         testclientmessage               \
42         testdnd                         \
43         testellipsise                   \
44         testentrycompletion             \
45         testentryicons                  \
46         testfilechooser                 \
47         testfilechooserbutton           \
48         testframe                       \
49         testgtk                         \
50         testheightforwidth              \
51         testiconview                    \
52         testiconview-keynav             \
53         testicontheme                   \
54         testimage                       \
55         testinput                       \
56         testmenubars                    \
57         testmountoperation              \
58         testmultidisplay                \
59         testmultiscreen                 \
60         testnotebookdnd                 \
61         testnouiprint                   \
62         testoffscreen                   \
63         testoffscreenwindow             \
64         testorientable                  \
65         testprint                       \
66         testrgb                         \
67         testrecentchooser               \
68         testrecentchoosermenu           \
69         testrichtext                    \
70         testscale                       \
71         testselection                   \
72         $(testsocket_programs)          \
73         testspinbutton                  \
74         teststatusicon                  \
75         testtoolbar                     \
76         stresstest-toolbar              \
77         testtreeedit                    \
78         testtreemodel                   \
79         testtreeview                    \
80         testtreefocus                   \
81         testtreeflow                    \
82         testtreecolumns                 \
83         testtreecolumnsizing            \
84         testtreesort                    \
85         treestoretest                   \
86         testxinerama                    \
87         testwindows                     \
88         pixbuf-read                     \
89         pixbuf-lowmem                   \
90         pixbuf-randomly-modified        \
91         pixbuf-random                   \
92         pixbuf-threads                  \
93         testmerge                       \
94         testactions                     \
95         testgrouping                    \
96         testtooltips                    \
97         testexpander                    \
98         testvolumebutton
99
100 if OS_UNIX
101 noinst_PROGRAMS += testapplication
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 testapplication_DEPENDENCIES = $(TEST_DEPS)
125 testassistant_DEPENDENCIES = $(TEST_DEPS)
126 testbbox_DEPENDENCIES = $(TEST_DEPS)
127 testbuttons_DEPENDENCIES = $(TEST_DEPS)
128 testframe_DEPENDENCIES = $(TEST_DEPS)
129 testcairo_DEPENDENCIES = $(TEST_DEPS)
130 testcalendar_DEPENDENCIES = $(TEST_DEPS)
131 testcombo_DEPENDENCIES = $(TEST_DEPS)
132 testcombochange_DEPENDENCIES = $(TEST_DEPS)
133 testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
134 testclientmessage_DEPENDENCIES = $(TEST_DEPS)
135 testdnd_DEPENDENCIES = $(TEST_DEPS)
136 testellipsise_DEPENDENCIES = $(TEST_DEPS)
137 testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
138 testentryicons_DEPENDENCIES = $(TEST_DEPS)
139 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
140 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
141 testgtk_DEPENDENCIES = $(TEST_DEPS)
142 testinput_DEPENDENCIES = $(TEST_DEPS)
143 testimage_DEPENDENCIES = $(TEST_DEPS)
144 testmenubars_DEPENDENCIES = $(TEST_DEPS)
145 testmountoperation_DEPENDENCIES = $(TEST_DEPS)
146 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
147 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
148 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
149 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
150 testoffscreen_DEPENDENCIES = $(TEST_DEPS)
151 testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
152 testorientable_DEPENDENCIES = $(TEST_DEPS)
153 testprint_DEPENDENCIES = $(TEST_DEPS)
154 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
155 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
156 testrgb_DEPENDENCIES = $(TEST_DEPS)
157 testrichtext_DEPENDENCIES = $(TEST_DEPS)
158 testscale_DEPENDENCIES = $(TEST_DEPS)
159 testselection_DEPENDENCIES = $(TEST_DEPS)
160 testsocket_DEPENDENCIES = $(DEPS)
161 testsocket_child_DEPENDENCIES = $(DEPS)
162 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
163 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
164 #testtext_DEPENDENCIES = $(TEST_DEPS)
165 testtreeedit_DEPENDENCIES = $(DEPS)
166 testtreemodel_DEPENDENCIES = $(DEPS)
167 testtreeview_DEPENDENCIES = $(DEPS)
168 testtreefocus_DEPENDENCIES = $(DEPS)
169 testtreeflow_DEPENDENCIES = $(DEPS)
170 testtreecolumns_DEPENDENCIES = $(DEPS)
171 testtreecolumnsizing_DEPENDENCIES = $(DEPS)
172 testtreesort_DEPENDENCIES = $(DEPS)
173 treestoretest_DEPENDENCIES = $(TEST_DEPS)
174 testxinerama_DEPENDENCIES = $(TEST_DEPS)
175 testmerge_DEPENDENCIES = $(TEST_DEPS)
176 testactions_DEPENDENCIES = $(TEST_DEPS)
177 testgrouping_DEPENDENCIES = $(TEST_DEPS)
178 testtooltips_DEPENDENCIES = $(TEST_DEPS)
179 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
180 testwindows_DEPENDENCIES = $(TEST_DEPS)
181 testexpander_DEPENDENCIES = $(TEST_DEPS)
182
183 flicker_LDADD = $(LDADDS)
184 simple_LDADD = $(LDADDS)
185 print_editor_LDADD = $(LDADDS)
186 testaccel_LDADD = $(LDADDS)
187 testapplication_LDADD = $(LDADDS)
188 testassistant_LDADD = $(LDADDS)
189 testbbox_LDADD = $(LDADDS)
190 testbuttons_LDADD = $(LDADDS)
191 testframe_LDADD = $(LDADDS)
192 testcairo_LDADD = $(LDADDS)
193 testcalendar_LDADD = $(LDADDS)
194 testcombo_LDADD = $(LDADDS)
195 testcombochange_LDADD = $(LDADDS)
196 testcellrenderertext_LDADD = $(LDADDS)
197 testclientmessage_LDADD = $(LDADDS)
198 testdnd_LDADD = $(LDADDS)
199 testellipsise_LDADD = $(LDADDS)
200 testentrycompletion_LDADD = $(LDADDS)
201 testentryicons_LDADD = $(LDADDS)
202 testfilechooser_LDADD = $(LDADDS)
203 testfilechooserbutton_LDADD = $(LDADDS)
204 testgtk_LDADD = $(LDADDS)
205 testheightforwidth_LDADD = $(LDADDS)
206 testicontheme_LDADD = $(LDADDS)
207 testiconview_LDADD = $(LDADDS)
208 testiconview_keynav_LDADD = $(LDADDS)
209 testinput_LDADD = $(LDADDS)
210 testimage_LDADD = $(LDADDS)
211 testmenubars_LDADD = $(LDADDS)
212 testmountoperation_LDADD = $(LDADDS)
213 testmultidisplay_LDADD = $(LDADDS)
214 testmultiscreen_LDADD = $(LDADDS)
215 testnotebookdnd_LDADD = $(LDADDS)
216 testnouiprint_LDADD = $(LDADDS)
217 testoffscreen_LDADD = $(LDADDS)
218 testoffscreenwindow_LDADD = $(LDADDS)
219 testorientable_LDADD = $(LDADDS)
220 testprint_LDADD = $(LDADDS)
221 testrecentchooser_LDADD = $(LDADDS)
222 testrecentchoosermenu_LDADD = $(LDADDS)
223 testrgb_LDADD = $(LDADDS)
224 testrichtext_LDADD = $(LDADDS)
225 testscale_LDADD = $(LDADDS)
226 testselection_LDADD = $(LDADDS)
227 testsocket_LDADD = $(LDADDS)
228 testsocket_child_LDADD = $(LDADDS)
229 testspinbutton_LDADD = $(LDADDS)
230 teststatusicon_LDADD = $(LDADDS)
231 testtoolbar_LDADD = $(LDADDS)
232 stresstest_toolbar_LDADD = $(LDADDS)
233 testtreeedit_LDADD = $(LDADDS)
234 testtreemodel_LDADD = $(LDADDS)
235 testtreeview_LDADD = $(LDADDS)
236 testtreefocus_LDADD = $(LDADDS)
237 testtreeflow_LDADD = $(LDADDS)
238 testtreecolumns_LDADD = $(LDADDS)
239 testtreecolumnsizing_LDADD = $(LDADDS)
240 testtreesort_LDADD = $(LDADDS)
241 #testtext_LDADD = $(LDADDS)
242 treestoretest_LDADD = $(LDADDS)
243 testxinerama_LDADD = $(LDADDS)
244 pixbuf_read_LDADD = $(LDADDS)
245 pixbuf_lowmem_LDADD = $(LDADDS)
246 pixbuf_randomly_modified_LDADD = $(LDADDS)
247 pixbuf_random_LDADD = $(LDADDS)
248 pixbuf_threads_LDADD = $(LDADDS) $(GLIB_LIBS)
249 testmerge_LDADD = $(LDADDS)
250 testactions_LDADD = $(LDADDS)
251 testgrouping_LDADD = $(LDADDS)
252 testtooltips_LDADD = $(LDADDS)
253 testvolumebutton_LDADD = $(LDADDS)
254 testwindows_LDADD = $(LDADDS)
255 testexpander_LDADD = $(LDADDS)
256
257 testentrycompletion_SOURCES =   \
258         prop-editor.c           \
259         testentrycompletion.c
260
261 testentryicons_SOURCES =        \
262         prop-editor.c           \
263         testentryicons.c
264
265 testfilechooser_SOURCES =       \
266         prop-editor.c           \
267         testfilechooser.c
268
269 testfilechooserbutton_SOURCES = \
270         prop-editor.c           \
271         testfilechooserbutton.c
272
273 testgtk_SOURCES =       \
274         prop-editor.c   \
275         testgtk.c
276
277 testtreeedit_SOURCES =  \
278         testtreeedit.c
279
280 testtreemodel_SOURCES = \
281         testtreemodel.c
282
283 testtreeview_SOURCES =  \
284         prop-editor.c   \
285         testtreeview.c
286
287 #testtext_SOURCES =     \
288 #       prop-editor.c   \
289 #       testtext.c
290
291 testtoolbar_SOURCES =   \
292         testtoolbar.c   \
293         prop-editor.c
294
295 testprint_SOURCES =     \
296         testprint.c             \
297         testprintfileoperation.h \
298         testprintfileoperation.c
299
300 testsocket_SOURCES =            \
301         testsocket.c            \
302         testsocket_common.c
303
304 testsocket_child_SOURCES =      \
305         testsocket_child.c      \
306         testsocket_common.c
307
308 testspinbutton_SOURCES =        \
309         testspinbutton.c
310
311 teststatusicon_SOURCES =        \
312         prop-editor.c           \
313         teststatusicon.c
314
315 testmerge_SOURCES =             \
316         testmerge.c
317
318 testactions_SOURCES =           \
319         testactions.c
320
321 testbbox_SOURCES =              \
322         testbbox.c
323
324 testbuttons_SOURCES =           \
325         testbuttons.c
326
327 testframe_SOURCES =             \
328         testframe.c
329
330 testiconview_SOURCES =          \
331         testiconview.c          \
332         prop-editor.c
333
334 testiconview_keynav_SOURCES =   \
335         testiconview-keynav.c
336
337 testrecentchooser_SOURCES =     \
338         prop-editor.c           \
339         testrecentchooser.c
340
341 testgrouping_SOURCES =          \
342         testgrouping.c
343
344 testtooltips_SOURCES =          \
345         testtooltips.c
346
347 testrecentchoosermenu_SOURCES = \
348         testrecentchoosermenu.c
349
350 testvolumebutton_SOURCES =      \
351         testvolumebutton.c
352
353 testoffscreen_SOURCES =         \
354         gtkoffscreenbox.c       \
355         gtkoffscreenbox.h       \
356         testoffscreen.c
357
358 testoffscreenwindow_SOURCES =   \
359         testoffscreenwindow.c
360
361 testwindows_SOURCES =   \
362         testwindows.c
363
364 testexpander_SOURCES = testexpander.c
365
366 EXTRA_DIST +=                   \
367         prop-editor.h           \
368         testgtk.1               \
369         testgtkrc               \
370         testgtkrc2              \
371         circles.xbm             \
372         3DRings.xpm             \
373         FilesQueue.xpm          \
374         Modeller.xpm            \
375         check-y.xpm             \
376         check-n.xpm             \
377         marble.xpm              \
378         test.xpm                \
379         check-y.xpm             \
380         check-n.xpm             \
381         test.xpm                \
382         merge-1.ui              \
383         merge-2.ui              \
384         merge-3.ui              \
385         gnome-textfile.png      \
386         makefile.msc
387
388
389 -include $(top_srcdir)/git.mk