]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
Merge branch 'gtk-2-90'
[~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
13 DEPS =                                                                  \
14         $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la  \
15         $(top_builddir)/gdk/$(gdktargetlib)                             \
16         $(top_builddir)/gtk/$(gtktargetlib)
17
18 LDADDS =                                                                \
19         $(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la  \
20         $(top_builddir)/gdk/$(gdktargetlib)                             \
21         $(top_builddir)/gtk/$(gtktargetlib)                             \
22         $(GTK_DEP_LIBS)
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         extendedlayoutexample           \
33         testaccel                       \
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         testgtk                         \
51         testiconview                    \
52         testicontheme                   \
53         testimage                       \
54         testinput                       \
55         testmenubars                    \
56         testmountoperation              \
57         testmultidisplay                \
58         testmultiscreen                 \
59         testnotebookdnd                 \
60         testnouiprint                   \
61         testoffscreen                   \
62         testoffscreenwindow             \
63         testorientable                  \
64         testprint                       \
65         testrgb                         \
66         testrecentchooser               \
67         testrecentchoosermenu           \
68         testrichtext                    \
69         testscale                       \
70         testselection                   \
71         $(testsocket_programs)          \
72         testspinbutton                  \
73         teststatusicon                  \
74         testtext                        \
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         testvolumebutton
98
99 if HAVE_CXX
100 noinst_PROGRAMS += autotestkeywords
101 TESTS = autotestkeywords
102
103 autotestkeywords_SOURCES = autotestkeywords.cc
104 autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
105
106 if HAVE_OBJC
107 autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
108 endif
109
110 endif
111
112 flicker_DEPENDENCIES = $(TEST_DEPS)
113 simple_DEPENDENCIES = $(TEST_DEPS)
114 print_editor_DEPENDENCIES = $(TEST_DEPS)
115 extendedlayoutexample_DEPENDENCIES = $(TEST_DEPS)
116 testicontheme_DEPENDENCIES = $(TEST_DEPS)
117 testiconview_DEPENDENCIES = $(TEST_DEPS)
118 testaccel_DEPENDENCIES = $(TEST_DEPS)
119 testassistant_DEPENDENCIES = $(TEST_DEPS)
120 testbbox_DEPENDENCIES = $(TEST_DEPS)
121 testbuttons_DEPENDENCIES = $(TEST_DEPS)
122 testframe_DEPENDENCIES = $(TEST_DEPS)
123 testcairo_DEPENDENCIES = $(TEST_DEPS)
124 testcalendar_DEPENDENCIES = $(TEST_DEPS)
125 testcombo_DEPENDENCIES = $(TEST_DEPS)
126 testcombochange_DEPENDENCIES = $(TEST_DEPS)
127 testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
128 testclientmessage_DEPENDENCIES = $(TEST_DEPS)
129 testdnd_DEPENDENCIES = $(TEST_DEPS)
130 testellipsise_DEPENDENCIES = $(TEST_DEPS)
131 testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
132 testentryicons_DEPENDENCIES = $(TEST_DEPS)
133 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
134 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
135 testgtk_DEPENDENCIES = $(TEST_DEPS)
136 testinput_DEPENDENCIES = $(TEST_DEPS)
137 testimage_DEPENDENCIES = $(TEST_DEPS)
138 testmenubars_DEPENDENCIES = $(TEST_DEPS)
139 testmountoperation_DEPENDENCIES = $(TEST_DEPS)
140 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
141 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
142 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
143 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
144 testoffscreen_DEPENDENCIES = $(TEST_DEPS)
145 testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
146 testorientable_DEPENDENCIES = $(TEST_DEPS)
147 testprint_DEPENDENCIES = $(TEST_DEPS)
148 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
149 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
150 testrgb_DEPENDENCIES = $(TEST_DEPS)
151 testrichtext_DEPENDENCIES = $(TEST_DEPS)
152 testscale_DEPENDENCIES = $(TEST_DEPS)
153 testselection_DEPENDENCIES = $(TEST_DEPS)
154 testsocket_DEPENDENCIES = $(DEPS)
155 testsocket_child_DEPENDENCIES = $(DEPS)
156 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
157 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
158 testtext_DEPENDENCIES = $(TEST_DEPS)
159 testtreeedit_DEPENDENCIES = $(DEPS)
160 testtreemodel_DEPENDENCIES = $(DEPS)
161 testtreeview_DEPENDENCIES = $(DEPS)
162 testtreefocus_DEPENDENCIES = $(DEPS)
163 testtreeflow_DEPENDENCIES = $(DEPS)
164 testtreecolumns_DEPENDENCIES = $(DEPS)
165 testtreecolumnsizing_DEPENDENCIES = $(DEPS)
166 testtreesort_DEPENDENCIES = $(DEPS)
167 treestoretest_DEPENDENCIES = $(TEST_DEPS)
168 testxinerama_DEPENDENCIES = $(TEST_DEPS)
169 testmerge_DEPENDENCIES = $(TEST_DEPS)
170 testactions_DEPENDENCIES = $(TEST_DEPS)
171 testgrouping_DEPENDENCIES = $(TEST_DEPS)
172 testtooltips_DEPENDENCIES = $(TEST_DEPS)
173 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
174 testwindows_DEPENDENCIES = $(TEST_DEPS)
175
176 flicker_LDADD = $(LDADDS)
177 simple_LDADD = $(LDADDS)
178 print_editor_LDADD = $(LDADDS)
179 extendedlayoutexample_LDADD = $(LDADDS)
180 testaccel_LDADD = $(LDADDS)
181 testassistant_LDADD = $(LDADDS)
182 testbbox_LDADD = $(LDADDS)
183 testbuttons_LDADD = $(LDADDS)
184 testframe_LDADD = $(LDADDS)
185 testcairo_LDADD = $(LDADDS)
186 testcalendar_LDADD = $(LDADDS)
187 testcombo_LDADD = $(LDADDS)
188 testcombochange_LDADD = $(LDADDS)
189 testcellrenderertext_LDADD = $(LDADDS)
190 testclientmessage_LDADD = $(LDADDS)
191 testdnd_LDADD = $(LDADDS)
192 testellipsise_LDADD = $(LDADDS)
193 testentrycompletion_LDADD = $(LDADDS)
194 testentryicons_LDADD = $(LDADDS)
195 testfilechooser_LDADD = $(LDADDS)
196 testfilechooserbutton_LDADD = $(LDADDS)
197 testgtk_LDADD = $(LDADDS)
198 testicontheme_LDADD = $(LDADDS)
199 testiconview_LDADD = $(LDADDS)
200 testinput_LDADD = $(LDADDS)
201 testimage_LDADD = $(LDADDS)
202 testmenubars_LDADD = $(LDADDS)
203 testmountoperation_LDADD = $(LDADDS)
204 testmultidisplay_LDADD = $(LDADDS)
205 testmultiscreen_LDADD = $(LDADDS)
206 testnotebookdnd_LDADD = $(LDADDS)
207 testnouiprint_LDADD = $(LDADDS)
208 testoffscreen_LDADD = $(LDADDS)
209 testoffscreenwindow_LDADD = $(LDADDS)
210 testorientable_LDADD = $(LDADDS)
211 testprint_LDADD = $(LDADDS)
212 testrecentchooser_LDADD = $(LDADDS)
213 testrecentchoosermenu_LDADD = $(LDADDS)
214 testrgb_LDADD = $(LDADDS)
215 testrichtext_LDADD = $(LDADDS)
216 testscale_LDADD = $(LDADDS)
217 testselection_LDADD = $(LDADDS)
218 testsocket_LDADD = $(LDADDS)
219 testsocket_child_LDADD = $(LDADDS)
220 testspinbutton_LDADD = $(LDADDS)
221 teststatusicon_LDADD = $(LDADDS)
222 testtoolbar_LDADD = $(LDADDS)
223 stresstest_toolbar_LDADD = $(LDADDS)
224 testtreeedit_LDADD = $(LDADDS)
225 testtreemodel_LDADD = $(LDADDS)
226 testtreeview_LDADD = $(LDADDS)
227 testtreefocus_LDADD = $(LDADDS)
228 testtreeflow_LDADD = $(LDADDS)
229 testtreecolumns_LDADD = $(LDADDS)
230 testtreecolumnsizing_LDADD = $(LDADDS)
231 testtreesort_LDADD = $(LDADDS)
232 testtext_LDADD = $(LDADDS)
233 treestoretest_LDADD = $(LDADDS)
234 testxinerama_LDADD = $(LDADDS)
235 pixbuf_read_LDADD = $(LDADDS)
236 pixbuf_lowmem_LDADD = $(LDADDS)
237 pixbuf_randomly_modified_LDADD = $(LDADDS)
238 pixbuf_random_LDADD = $(LDADDS)
239 pixbuf_threads_LDADD = $(LDADDS) $(GLIB_LIBS)
240 testmerge_LDADD = $(LDADDS)
241 testactions_LDADD = $(LDADDS)
242 testgrouping_LDADD = $(LDADDS)
243 testtooltips_LDADD = $(LDADDS)
244 testvolumebutton_LDADD = $(LDADDS)
245 testwindows_LDADD = $(LDADDS)
246
247
248 testentrycompletion_SOURCES =   \
249         prop-editor.c           \
250         testentrycompletion.c
251
252 testentryicons_SOURCES =        \
253         prop-editor.c           \
254         testentryicons.c
255
256 testfilechooser_SOURCES =       \
257         prop-editor.c           \
258         testfilechooser.c       
259
260 testfilechooserbutton_SOURCES = \
261         prop-editor.c           \
262         testfilechooserbutton.c         
263
264 testgtk_SOURCES =       \
265         prop-editor.c   \
266         testgtk.c       
267
268 testtreeedit_SOURCES =  \
269         testtreeedit.c
270
271 testtreemodel_SOURCES = \
272         testtreemodel.c
273
274 testtreeview_SOURCES =  \
275         prop-editor.c   \
276         testtreeview.c 
277
278 testtext_SOURCES =      \
279         prop-editor.c   \
280         testtext.c 
281
282 testtoolbar_SOURCES =   \
283         testtoolbar.c   \
284         prop-editor.c
285
286 testprint_SOURCES =     \
287         testprint.c             \
288         testprintfileoperation.h \
289         testprintfileoperation.c
290
291 testsocket_SOURCES =            \
292         testsocket.c            \
293         testsocket_common.c
294
295 testsocket_child_SOURCES =      \
296         testsocket_child.c      \
297         testsocket_common.c
298
299 testspinbutton_SOURCES =        \
300         testspinbutton.c
301
302 teststatusicon_SOURCES =        \
303         prop-editor.c           \
304         teststatusicon.c
305
306 testmerge_SOURCES =             \
307         testmerge.c
308
309 testactions_SOURCES =           \
310         testactions.c
311
312 testbbox_SOURCES =              \
313         testbbox.c
314
315 testbuttons_SOURCES =           \
316         testbuttons.c
317
318 testframe_SOURCES =             \
319         testframe.c
320
321 testiconview_SOURCES =          \
322         testiconview.c          \
323         prop-editor.c
324
325 testrecentchooser_SOURCES =     \
326         prop-editor.c           \
327         testrecentchooser.c
328
329 testgrouping_SOURCES =          \
330         testgrouping.c
331
332 testtooltips_SOURCES =          \
333         testtooltips.c
334
335 testrecentchoosermenu_SOURCES = \
336         testrecentchoosermenu.c
337
338 testvolumebutton_SOURCES =      \
339         testvolumebutton.c
340
341 testoffscreen_SOURCES =         \
342         gtkoffscreenbox.c       \
343         gtkoffscreenbox.h       \
344         testoffscreen.c
345
346 testoffscreenwindow_SOURCES =   \
347         testoffscreenwindow.c
348
349 testwindows_SOURCES =   \
350         testwindows.c
351
352 EXTRA_DIST +=                   \
353         prop-editor.h           \
354         testgtk.1               \
355         testgtkrc               \
356         testgtkrc2              \
357         circles.xbm             \
358         3DRings.xpm             \
359         FilesQueue.xpm          \
360         Modeller.xpm            \
361         check-y.xpm             \
362         check-n.xpm             \
363         marble.xpm              \
364         test.xpm                \
365         check-y.xpm             \
366         check-n.xpm             \
367         test.xpm                \
368         merge-1.ui              \
369         merge-2.ui              \
370         merge-3.ui              \
371         gnome-textfile.png      \
372         makefile.msc            \
373         file-chooser-test-dir/empty \
374         file-chooser-test-dir/text.txt
375
376
377 -include $(top_srcdir)/git.mk