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