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