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