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