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