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