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