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