]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
5f9bbf0090e815166e61fa700e0fe4a2a0e3131b
[~andy/gtk] / tests / Makefile.am
1 ## Makefile.am for gtk+/tests
2
3 INCLUDES =                                      \
4         -I$(top_srcdir)                         \
5         -I$(top_builddir)/gdk                   \
6         -I$(top_srcdir)/gdk                     \
7         -DGDK_PIXBUF_DISABLE_DEPRECATED         \
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
23 if USE_X11
24 testsocket_programs = testsocket testsocket_child
25 endif
26
27 TESTS = floatingtest buildertest
28
29 noinst_PROGRAMS =                       \
30         autotestfilechooser             \
31         autotestkeywords                \
32         floatingtest                    \
33         buildertest                     \
34         simple                          \
35         print-editor                    \
36         testaccel                       \
37         testassistant                   \
38         testbbox                        \
39         testcairo                       \
40         testcalendar                    \
41         testcombo                       \
42         testcombochange                 \
43         testcellrenderertext            \
44         testdnd                         \
45         testellipsise                   \
46         testentrycompletion             \
47         testfilechooser                 \
48         testfilechooserbutton           \
49         testframe                       \
50         testgtk                         \
51         testiconview                    \
52         testicontheme                   \
53         testimage                       \
54         testinput                       \
55         testmenus                       \
56         testmenubars                    \
57         testmultidisplay                \
58         testmultiscreen                 \
59         testnotebookdnd                 \
60         testnouiprint                   \
61         testprint                       \
62         testrgb                         \
63         testrecentchooser               \
64         testrecentchoosermenu           \
65         testrichtext                    \
66         testselection                   \
67         $(testsocket_programs)          \
68         testspinbutton                  \
69         teststatusicon                  \
70         testtext                        \
71         testtextbuffer                  \
72         testtoolbar                     \
73         stresstest-toolbar              \
74         testtreeedit                    \
75         testtreemodel                   \
76         testtreeview                    \
77         testtreefocus                   \
78         testtreeflow                    \
79         testtreecolumns                 \
80         testtreesort                    \
81         treestoretest                   \
82         testxinerama                    \
83         pixbuf-read                     \
84         pixbuf-lowmem                   \
85         pixbuf-randomly-modified        \
86         pixbuf-random                   \
87         pixbuf-threads                  \
88         testmerge                       \
89         testactions                     \
90         testgrouping                    \
91         testtooltips                    \
92         testvolumebutton
93
94 if HAVE_CXX
95 noinst_PROGRAMS += autotestkeywords
96 TESTS += autotestkeywords
97
98 autotestkeywords_SOURCES = autotestkeywords.cc
99 autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
100
101 if HAVE_OBJC
102 autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1
103 autotestkeywords_CXXFLAGS = -x objective-c++
104 endif
105
106 endif
107
108 autotestfilechooser_DEPENDENCIES = $(TEST_DEPS)
109 simple_DEPENDENCIES = $(TEST_DEPS)
110 floatingtest_DEPENDENCIES = $(TEST_DEPS)
111 buildertest_DEPENDENCIES = $(TEST_DEPS)
112 print_editor_DEPENDENCIES = $(TEST_DEPS)
113 testicontheme_DEPENDENCIES = $(TEST_DEPS)
114 testiconview_DEPENDENCIES = $(TEST_DEPS)
115 testaccel_DEPENDENCIES = $(TEST_DEPS)
116 testassistant_DEPENDENCIES = $(TEST_DEPS)
117 testbbox_DEPENDENCIES = $(TEST_DEPS)
118 testframe_DEPENDENCIES = $(TEST_DEPS)
119 testcairo_DEPENDENCIES = $(TEST_DEPS)
120 testcalendar_DEPENDENCIES = $(TEST_DEPS)
121 testcombo_DEPENDENCIES = $(TEST_DEPS)
122 testcombochange_DEPENDENCIES = $(TEST_DEPS)
123 testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
124 testdnd_DEPENDENCIES = $(TEST_DEPS)
125 testellipsise_DEPENDENCIES = $(TEST_DEPS)
126 testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
127 testfilechooser_DEPENDENCIES = $(TEST_DEPS)
128 testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
129 testgtk_DEPENDENCIES = $(TEST_DEPS)
130 testinput_DEPENDENCIES = $(TEST_DEPS)
131 testimage_DEPENDENCIES = $(TEST_DEPS)
132 testmenus_DEPENDENCIES = $(TEST_DEPS)
133 testmenubars_DEPENDENCIES = $(TEST_DEPS)
134 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
135 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
136 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
137 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
138 testprint_DEPENDENCIES = $(TEST_DEPS)
139 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
140 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
141 testrgb_DEPENDENCIES = $(TEST_DEPS)
142 testrichtext_DEPENDENCIES = $(TEST_DEPS)
143 testselection_DEPENDENCIES = $(TEST_DEPS)
144 testsocket_DEPENDENCIES = $(DEPS)
145 testsocket_child_DEPENDENCIES = $(DEPS)
146 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
147 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
148 testtext_DEPENDENCIES = $(TEST_DEPS)
149 testtextbuffer_DEPENDENCIES = $(TEST_DEPS)
150 testtreeedit_DEPENDENCIES = $(DEPS)
151 testtreemodel_DEPENDENCIES = $(DEPS)
152 testtreeview_DEPENDENCIES = $(DEPS)
153 testtreefocus_DEPENDENCIES = $(DEPS)
154 testtreeflow_DEPENDENCIES = $(DEPS)
155 testtreecolumns_DEPENDENCIES = $(DEPS)
156 testtreesort_DEPENDENCIES = $(DEPS)
157 treestoretest_DEPENDENCIES = $(TEST_DEPS)
158 testxinerama_DEPENDENCIES = $(TEST_DEPS)
159 testmerge_DEPENDENCIES = $(TEST_DEPS)
160 testactions_DEPENDENCIES = $(TEST_DEPS)
161 testgrouping_DEPENDENCIES = $(TEST_DEPS)
162 testtooltips_DEPENDENCIES = $(TEST_DEPS)
163 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
164
165 autotestfilechooser_LDADD = $(LDADDS)
166 simple_LDADD = $(LDADDS)
167 floatingtest_LDADD = $(LDADDS)
168 buildertest_LDADD = $(LDADDS)
169 print_editor_LDADD = $(LDADDS)
170 testaccel_LDADD = $(LDADDS)
171 testassistant_LDADD = $(LDADDS)
172 testbbox_LDADD = $(LDADDS)
173 testframe_LDADD = $(LDADDS)
174 testcairo_LDADD = $(LDADDS)
175 testcalendar_LDADD = $(LDADDS)
176 testcombo_LDADD = $(LDADDS)
177 testcombochange_LDADD = $(LDADDS)
178 testcellrenderertext_LDADD = $(LDADDS)
179 testdnd_LDADD = $(LDADDS)
180 testellipsise_LDADD = $(LDADDS)
181 testentrycompletion_LDADD = $(LDADDS)
182 testfilechooser_LDADD = $(LDADDS)
183 testfilechooserbutton_LDADD = $(LDADDS)
184 testgtk_LDADD = $(LDADDS)
185 testicontheme_LDADD = $(LDADDS)
186 testiconview_LDADD = $(LDADDS)
187 testinput_LDADD = $(LDADDS)
188 testimage_LDADD = $(LDADDS)
189 testmenus_LDADD = $(LDADDS)
190 testmenubars_LDADD = $(LDADDS)
191 testmultidisplay_LDADD = $(LDADDS)
192 testmultiscreen_LDADD = $(LDADDS)
193 testnotebookdnd_LDADD = $(LDADDS)
194 testnouiprint_LDADD = $(LDADDS)
195 testprint_LDADD = $(LDADDS)
196 testrecentchooser_LDADD = $(LDADDS)
197 testrecentchoosermenu_LDADD = $(LDADDS)
198 testrgb_LDADD = $(LDADDS)
199 testrichtext_LDADD = $(LDADDS)
200 testselection_LDADD = $(LDADDS)
201 testsocket_LDADD = $(LDADDS)
202 testsocket_child_LDADD = $(LDADDS)
203 testspinbutton_LDADD = $(LDADDS)
204 teststatusicon_LDADD = $(LDADDS)
205 testtextbuffer_LDADD = $(LDADDS)
206 testtoolbar_LDADD = $(LDADDS)
207 stresstest_toolbar_LDADD = $(LDADDS)
208 testtreeedit_LDADD = $(LDADDS)
209 testtreemodel_LDADD = $(LDADDS)
210 testtreeview_LDADD = $(LDADDS)
211 testtreefocus_LDADD = $(LDADDS)
212 testtreeflow_LDADD = $(LDADDS)
213 testtreecolumns_LDADD = $(LDADDS)
214 testtreesort_LDADD = $(LDADDS)
215 testtext_LDADD = $(LDADDS)
216 treestoretest_LDADD = $(LDADDS)
217 testxinerama_LDADD = $(LDADDS)
218 pixbuf_read_LDADD = $(LDADDS)
219 pixbuf_lowmem_LDADD = $(LDADDS)
220 pixbuf_randomly_modified_LDADD = $(LDADDS)
221 pixbuf_random_LDADD = $(LDADDS)
222 pixbuf_threads_LDADD = $(LDADDS) $(GLIB_LIBS)
223 testmerge_LDADD = $(LDADDS)
224 testactions_LDADD = $(LDADDS)
225 testgrouping_LDADD = $(LDADDS)
226 testtooltips_LDADD = $(LDADDS)
227 testvolumebutton_LDADD = $(LDADDS)
228
229 buildertest_LDFLAGS = -export-dynamic
230
231 autotestfilechooser_SOURCES =   \
232         autotestfilechooser.c
233
234 testentrycompletion_SOURCES =   \
235         prop-editor.c           \
236         testentrycompletion.c
237
238 testfilechooser_SOURCES =       \
239         prop-editor.c           \
240         testfilechooser.c       
241
242 testfilechooserbutton_SOURCES = \
243         prop-editor.c           \
244         testfilechooserbutton.c         
245
246 testgtk_SOURCES =       \
247         prop-editor.c   \
248         testgtk.c       
249
250 testtreeedit_SOURCES =  \
251         testtreeedit.c
252
253 testtreemodel_SOURCES = \
254         testtreemodel.c
255
256 testtreeview_SOURCES =  \
257         prop-editor.c   \
258         testtreeview.c 
259
260 testtext_SOURCES =      \
261         prop-editor.c   \
262         testtext.c 
263
264 testtoolbar_SOURCES =   \
265         testtoolbar.c   \
266         prop-editor.c
267
268 testprint_SOURCES =     \
269         testprint.c             \
270         testprintfileoperation.h \
271         testprintfileoperation.c
272
273 testsocket_SOURCES =            \
274         testsocket.c            \
275         testsocket_common.c
276
277 testsocket_child_SOURCES =      \
278         testsocket_child.c      \
279         testsocket_common.c
280
281 testspinbutton_SOURCES =        \
282         testspinbutton.c
283
284 teststatusicon_SOURCES =        \
285         prop-editor.c           \
286         teststatusicon.c
287
288 testmerge_SOURCES =             \
289         testmerge.c
290
291 testactions_SOURCES =           \
292         testactions.c
293
294 testbbox_SOURCES =              \
295         testbbox.c
296
297 testframe_SOURCES =             \
298         testframe.c
299
300 testiconview_SOURCES =          \
301         testiconview.c          \
302         prop-editor.c
303
304 testrecentchooser_SOURCES =     \
305         prop-editor.c           \
306         testrecentchooser.c
307
308 testgrouping_SOURCES =          \
309         testgrouping.c
310
311 testtooltips_SOURCES =          \
312         testtooltips.c
313
314 testrecentchoosermenu_SOURCES = \
315         testrecentchoosermenu.c
316
317 testvolumebutton_SOURCES =      \
318         testvolumebutton.c
319
320 EXTRA_DIST =                    \
321         prop-editor.h           \
322         testgtk.1               \
323         testgtkrc               \
324         testgtkrc2              \
325         circles.xbm             \
326         3DRings.xpm             \
327         FilesQueue.xpm          \
328         Modeller.xpm            \
329         check-y.xpm             \
330         check-n.xpm             \
331         marble.xpm              \
332         test.xpm                \
333         check-y.xpm             \
334         check-n.xpm             \
335         test.xpm                \
336         merge-1.ui              \
337         merge-2.ui              \
338         merge-3.ui              \
339         gnome-textfile.png      \
340         makefile.msc
341