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