]> Pileus Git - ~andy/gtk/blob - tests/Makefile.am
GtkApplication rewrite
[~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         testgeometry                    \
51         testgtk                         \
52         testheightforwidth              \
53         testiconview                    \
54         testiconview-keynav             \
55         testicontheme                   \
56         testimage                       \
57         testinput                       \
58         testmenubars                    \
59         testmountoperation              \
60         testmultidisplay                \
61         testmultiscreen                 \
62         testnotebookdnd                 \
63         testnouiprint                   \
64         testoffscreen                   \
65         testoffscreenwindow             \
66         testorientable                  \
67         testprint                       \
68         testrecentchooser               \
69         testrecentchoosermenu           \
70         testrichtext                    \
71         testscale                       \
72         testselection                   \
73         $(testsocket_programs)          \
74         testspinbutton                  \
75         teststatusicon                  \
76         testtoolbar                     \
77         stresstest-toolbar              \
78         testtreeedit                    \
79         testtreemodel                   \
80         testtreeview                    \
81         testtreefocus                   \
82         testtreeflow                    \
83         testtreecolumns                 \
84         testtreecolumnsizing            \
85         testtreesort                    \
86         treestoretest                   \
87         testxinerama                    \
88         testwindows                     \
89         testmerge                       \
90         testactions                     \
91         testgrouping                    \
92         testtooltips                    \
93         testexpand                      \
94         testexpander                    \
95         testvolumebutton
96
97 if USE_X11
98 noinst_PROGRAMS += testerrors
99 endif
100
101 if HAVE_CXX
102 noinst_PROGRAMS += autotestkeywords
103 TESTS = autotestkeywords
104
105 autotestkeywords_SOURCES = autotestkeywords.cc
106 autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
107
108 if HAVE_OBJC
109 autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
110 endif
111
112 endif
113
114 flicker_DEPENDENCIES = $(TEST_DEPS)
115 simple_DEPENDENCIES = $(TEST_DEPS)
116 print_editor_DEPENDENCIES = $(TEST_DEPS)
117 testheightforwidth_DEPENDENCIES = $(TEST_DEPS)
118 testicontheme_DEPENDENCIES = $(TEST_DEPS)
119 testiconview_DEPENDENCIES = $(TEST_DEPS)
120 testaccel_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 testgeometry_DEPENDENCIES = $(TEST_DEPS)
140 testgtk_DEPENDENCIES = $(TEST_DEPS)
141 testinput_DEPENDENCIES = $(TEST_DEPS)
142 testimage_DEPENDENCIES = $(TEST_DEPS)
143 testmenubars_DEPENDENCIES = $(TEST_DEPS)
144 testmountoperation_DEPENDENCIES = $(TEST_DEPS)
145 testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
146 testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
147 testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
148 testnouiprint_DEPENDENCIES = $(TEST_DEPS)
149 testoffscreen_DEPENDENCIES = $(TEST_DEPS)
150 testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
151 testorientable_DEPENDENCIES = $(TEST_DEPS)
152 testprint_DEPENDENCIES = $(TEST_DEPS)
153 testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
154 testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
155 testrichtext_DEPENDENCIES = $(TEST_DEPS)
156 testscale_DEPENDENCIES = $(TEST_DEPS)
157 testselection_DEPENDENCIES = $(TEST_DEPS)
158 testsocket_DEPENDENCIES = $(DEPS)
159 testsocket_child_DEPENDENCIES = $(DEPS)
160 testspinbutton_DEPENDENCIES = $(TEST_DEPS)
161 teststatusicon_DEPENDENCIES = $(TEST_DEPS)
162 #testtext_DEPENDENCIES = $(TEST_DEPS)
163 testtreeedit_DEPENDENCIES = $(DEPS)
164 testtreemodel_DEPENDENCIES = $(DEPS)
165 testtreeview_DEPENDENCIES = $(DEPS)
166 testtreefocus_DEPENDENCIES = $(DEPS)
167 testtreeflow_DEPENDENCIES = $(DEPS)
168 testtreecolumns_DEPENDENCIES = $(DEPS)
169 testtreecolumnsizing_DEPENDENCIES = $(DEPS)
170 testtreesort_DEPENDENCIES = $(DEPS)
171 treestoretest_DEPENDENCIES = $(TEST_DEPS)
172 testxinerama_DEPENDENCIES = $(TEST_DEPS)
173 testmerge_DEPENDENCIES = $(TEST_DEPS)
174 testactions_DEPENDENCIES = $(TEST_DEPS)
175 testgrouping_DEPENDENCIES = $(TEST_DEPS)
176 testtooltips_DEPENDENCIES = $(TEST_DEPS)
177 testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
178 testwindows_DEPENDENCIES = $(TEST_DEPS)
179 testexpand_DEPENDENCIES = $(TEST_DEPS)
180 testexpander_DEPENDENCIES = $(TEST_DEPS)
181
182 flicker_LDADD = $(LDADDS)
183 simple_LDADD = $(LDADDS)
184 print_editor_LDADD = $(LDADDS)
185 testaccel_LDADD = $(LDADDS)
186 testadjustsize_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 testgeometry_LDADD = $(LDADDS)
205 testgtk_LDADD = $(LDADDS)
206 testheightforwidth_LDADD = $(LDADDS)
207 testicontheme_LDADD = $(LDADDS)
208 testiconview_LDADD = $(LDADDS)
209 testiconview_keynav_LDADD = $(LDADDS)
210 testinput_LDADD = $(LDADDS)
211 testimage_LDADD = $(LDADDS)
212 testmenubars_LDADD = $(LDADDS)
213 testmountoperation_LDADD = $(LDADDS)
214 testmultidisplay_LDADD = $(LDADDS)
215 testmultiscreen_LDADD = $(LDADDS)
216 testnotebookdnd_LDADD = $(LDADDS)
217 testnouiprint_LDADD = $(LDADDS)
218 testoffscreen_LDADD = $(LDADDS)
219 testoffscreenwindow_LDADD = $(LDADDS)
220 testorientable_LDADD = $(LDADDS)
221 testprint_LDADD = $(LDADDS)
222 testrecentchooser_LDADD = $(LDADDS)
223 testrecentchoosermenu_LDADD = $(LDADDS)
224 testrichtext_LDADD = $(LDADDS)
225 testscale_LDADD = $(LDADDS)
226 testselection_LDADD = $(LDADDS)
227 testsocket_LDADD = $(LDADDS)
228 testsocket_child_LDADD = $(LDADDS)
229 testspinbutton_LDADD = $(LDADDS)
230 teststatusicon_LDADD = $(LDADDS)
231 testtoolbar_LDADD = $(LDADDS)
232 stresstest_toolbar_LDADD = $(LDADDS)
233 testtreeedit_LDADD = $(LDADDS)
234 testtreemodel_LDADD = $(LDADDS)
235 testtreeview_LDADD = $(LDADDS)
236 testtreefocus_LDADD = $(LDADDS)
237 testtreeflow_LDADD = $(LDADDS)
238 testtreecolumns_LDADD = $(LDADDS)
239 testtreecolumnsizing_LDADD = $(LDADDS)
240 testtreesort_LDADD = $(LDADDS)
241 #testtext_LDADD = $(LDADDS)
242 treestoretest_LDADD = $(LDADDS)
243 testxinerama_LDADD = $(LDADDS)
244 testmerge_LDADD = $(LDADDS)
245 testactions_LDADD = $(LDADDS)
246 testgrouping_LDADD = $(LDADDS)
247 testtooltips_LDADD = $(LDADDS)
248 testvolumebutton_LDADD = $(LDADDS)
249 testwindows_LDADD = $(LDADDS)
250 testexpand_LDADD = $(LDADDS)
251 testexpander_LDADD = $(LDADDS)
252
253 testentrycompletion_SOURCES =   \
254         prop-editor.c           \
255         testentrycompletion.c
256
257 testentryicons_SOURCES =        \
258         prop-editor.c           \
259         testentryicons.c
260
261 testfilechooser_SOURCES =       \
262         prop-editor.c           \
263         testfilechooser.c
264
265 testfilechooserbutton_SOURCES = \
266         prop-editor.c           \
267         testfilechooserbutton.c
268
269 testgtk_SOURCES =       \
270         prop-editor.c   \
271         testgtk.c
272
273 testtreeedit_SOURCES =  \
274         testtreeedit.c
275
276 testtreemodel_SOURCES = \
277         testtreemodel.c
278
279 testtreeview_SOURCES =  \
280         prop-editor.c   \
281         testtreeview.c
282
283 #testtext_SOURCES =     \
284 #       prop-editor.c   \
285 #       testtext.c
286
287 testtoolbar_SOURCES =   \
288         testtoolbar.c   \
289         prop-editor.c
290
291 testprint_SOURCES =     \
292         testprint.c             \
293         testprintfileoperation.h \
294         testprintfileoperation.c
295
296 testsocket_SOURCES =            \
297         testsocket.c            \
298         testsocket_common.c
299
300 testsocket_child_SOURCES =      \
301         testsocket_child.c      \
302         testsocket_common.c
303
304 testspinbutton_SOURCES =        \
305         testspinbutton.c
306
307 teststatusicon_SOURCES =        \
308         prop-editor.c           \
309         teststatusicon.c
310
311 testmerge_SOURCES =             \
312         testmerge.c
313
314 testactions_SOURCES =           \
315         testactions.c
316
317 testbbox_SOURCES =              \
318         testbbox.c
319
320 testbuttons_SOURCES =           \
321         testbuttons.c
322
323 testframe_SOURCES =             \
324         testframe.c
325
326 testgeometry_SOURCES =          \
327         testgeometry.c
328
329 testiconview_SOURCES =          \
330         testiconview.c          \
331         prop-editor.c
332
333 testiconview_keynav_SOURCES =   \
334         testiconview-keynav.c
335
336 testrecentchooser_SOURCES =     \
337         prop-editor.c           \
338         testrecentchooser.c
339
340 testgrouping_SOURCES =          \
341         testgrouping.c
342
343 testtooltips_SOURCES =          \
344         testtooltips.c
345
346 testrecentchoosermenu_SOURCES = \
347         testrecentchoosermenu.c
348
349 testvolumebutton_SOURCES =      \
350         testvolumebutton.c
351
352 testoffscreen_SOURCES =         \
353         gtkoffscreenbox.c       \
354         gtkoffscreenbox.h       \
355         testoffscreen.c
356
357 testoffscreenwindow_SOURCES =   \
358         testoffscreenwindow.c
359
360 testwindows_SOURCES =   \
361         testwindows.c
362
363 testexpand_SOURCES = testexpand.c
364
365 testexpander_SOURCES = testexpander.c
366
367 EXTRA_DIST +=                   \
368         prop-editor.h           \
369         testgtk.1               \
370         testgtkrc               \
371         testgtkrc2              \
372         3DRings.xpm             \
373         FilesQueue.xpm          \
374         Modeller.xpm            \
375         check-y.xpm             \
376         check-n.xpm             \
377         marble.xpm              \
378         test.xpm                \
379         check-y.xpm             \
380         check-n.xpm             \
381         test.xpm                \
382         merge-1.ui              \
383         merge-2.ui              \
384         merge-3.ui              \
385         gnome-textfile.png      \
386         makefile.msc
387
388
389 -include $(top_srcdir)/git.mk