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