1## Makefile.am for gtk+/tests
2include $(top_srcdir)/Makefile.decl
3
4INCLUDES =				\
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
13DEPS =									\
14	$(top_builddir)/gdk/$(gdktargetlib)				\
15	$(top_builddir)/gtk/$(gtktargetlib)
16
17LDADD =								\
18	$(top_builddir)/gdk/$(gdktargetlib)				\
19	$(top_builddir)/gtk/$(gtktargetlib)				\
20	$(GTK_DEP_LIBS)							\
21	-lm
22
23if USE_X11
24testsocket_programs = testsocket testsocket_child
25endif
26
27noinst_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	testentrycompletion 		\
43	testentryicons			\
44	testfilechooser			\
45	testfilechooserbutton		\
46	testframe			\
47	testgtk				\
48	testiconview			\
49	testiconview-keynav		\
50	testicontheme			\
51	testimage			\
52	testinput			\
53	testmenus			\
54	testmenubars			\
55	testmountoperation		\
56	testmultidisplay		\
57	testmultiscreen			\
58	testnotebookdnd			\
59	testnouiprint			\
60	testoffscreen			\
61	testoffscreenwindow		\
62	testorientable			\
63	testprint			\
64	testrgb				\
65	testrecentchooser 		\
66	testrecentchoosermenu		\
67	testrichtext			\
68	testscale			\
69	testselection			\
70	$(testsocket_programs)		\
71	testspinbutton			\
72	teststatusicon			\
73	testtext			\
74	testtoolbar			\
75	stresstest-toolbar		\
76	testtreeedit			\
77	testtreemodel			\
78	testtreeview			\
79	testtreefocus			\
80	testtreeflow			\
81	testtreecolumns			\
82	testtreecolumnsizing		\
83	testtreesort			\
84	treestoretest			\
85	testxinerama			\
86	testwindows			\
87	testmerge			\
88	testactions			\
89	testgrouping			\
90	testtooltips			\
91	testvolumebutton
92
93if HAVE_CXX
94noinst_PROGRAMS += autotestkeywords
95TESTS = autotestkeywords
96
97autotestkeywords_SOURCES = autotestkeywords.cc
98autotestkeywords_CPPFLAGS = -I$(srcdir)/dummy-headers
99
100if HAVE_OBJC
101autotestkeywords_CPPFLAGS += -DHAVE_OBJC=1 -x objective-c++
102endif
103
104endif
105
106flicker_DEPENDENCIES = $(TEST_DEPS)
107simple_DEPENDENCIES = $(TEST_DEPS)
108print_editor_DEPENDENCIES = $(TEST_DEPS)
109testicontheme_DEPENDENCIES = $(TEST_DEPS)
110testiconview_DEPENDENCIES = $(TEST_DEPS)
111testaccel_DEPENDENCIES = $(TEST_DEPS)
112testassistant_DEPENDENCIES = $(TEST_DEPS)
113testbbox_DEPENDENCIES = $(TEST_DEPS)
114testbuttons_DEPENDENCIES = $(TEST_DEPS)
115testframe_DEPENDENCIES = $(TEST_DEPS)
116testcairo_DEPENDENCIES = $(TEST_DEPS)
117testcalendar_DEPENDENCIES = $(TEST_DEPS)
118testcombo_DEPENDENCIES = $(TEST_DEPS)
119testcombochange_DEPENDENCIES = $(TEST_DEPS)
120testcellrenderertext_DEPENDENCIES = $(TEST_DEPS)
121testclientmessage_DEPENDENCIES = $(TEST_DEPS)
122testdnd_DEPENDENCIES = $(TEST_DEPS)
123testentrycompletion_DEPENDENCIES = $(TEST_DEPS)
124testentryicons_DEPENDENCIES = $(TEST_DEPS)
125testfilechooser_DEPENDENCIES = $(TEST_DEPS)
126testfilechooserbutton_DEPENDENCIES = $(TEST_DEPS)
127testgtk_DEPENDENCIES = $(TEST_DEPS)
128testinput_DEPENDENCIES = $(TEST_DEPS)
129testimage_DEPENDENCIES = $(TEST_DEPS)
130testmenus_DEPENDENCIES = $(TEST_DEPS)
131testmenubars_DEPENDENCIES = $(TEST_DEPS)
132testmountoperation_DEPENDENCIES = $(TEST_DEPS)
133testmultidisplay_DEPENDENCIES = $(TEST_DEPS)
134testmultiscreen_DEPENDENCIES = $(TEST_DEPS)
135testnotebookdnd_DEPENDENCIES = $(TEST_DEPS)
136testnouiprint_DEPENDENCIES = $(TEST_DEPS)
137testoffscreen_DEPENDENCIES = $(TEST_DEPS)
138testoffscreenwindow_DEPENDENCIES = $(TEST_DEPS)
139testorientable_DEPENDENCIES = $(TEST_DEPS)
140testprint_DEPENDENCIES = $(TEST_DEPS)
141testrecentchooser_DEPENDENCIES = $(TEST_DEPS)
142testrecentchoosermenu_DEPENDENCIES = $(TEST_DEPS)
143testrgb_DEPENDENCIES = $(TEST_DEPS)
144testrichtext_DEPENDENCIES = $(TEST_DEPS)
145testscale_DEPENDENCIES = $(TEST_DEPS)
146testselection_DEPENDENCIES = $(TEST_DEPS)
147testsocket_DEPENDENCIES = $(DEPS)
148testsocket_child_DEPENDENCIES = $(DEPS)
149testspinbutton_DEPENDENCIES = $(TEST_DEPS)
150teststatusicon_DEPENDENCIES = $(TEST_DEPS)
151testtext_DEPENDENCIES = $(TEST_DEPS)
152testtreeedit_DEPENDENCIES = $(DEPS)
153testtreemodel_DEPENDENCIES = $(DEPS)
154testtreeview_DEPENDENCIES = $(DEPS)
155testtreefocus_DEPENDENCIES = $(DEPS)
156testtreeflow_DEPENDENCIES = $(DEPS)
157testtreecolumns_DEPENDENCIES = $(DEPS)
158testtreecolumnsizing_DEPENDENCIES = $(DEPS)
159testtreesort_DEPENDENCIES = $(DEPS)
160treestoretest_DEPENDENCIES = $(TEST_DEPS)
161testxinerama_DEPENDENCIES = $(TEST_DEPS)
162testmerge_DEPENDENCIES = $(TEST_DEPS)
163testactions_DEPENDENCIES = $(TEST_DEPS)
164testgrouping_DEPENDENCIES = $(TEST_DEPS)
165testtooltips_DEPENDENCIES = $(TEST_DEPS)
166testvolumebutton_DEPENDENCIES = $(TEST_DEPS)
167testwindows_DEPENDENCIES = $(TEST_DEPS)
168
169testentrycompletion_SOURCES = 	\
170	prop-editor.c		\
171	testentrycompletion.c
172
173testentryicons_SOURCES =	\
174	prop-editor.c		\
175	testentryicons.c
176
177testfilechooser_SOURCES = 	\
178	prop-editor.c		\
179	testfilechooser.c
180
181testfilechooserbutton_SOURCES =	\
182	prop-editor.c		\
183	testfilechooserbutton.c
184
185testgtk_SOURCES =	\
186	prop-editor.c   \
187	testgtk.c
188
189testtreeedit_SOURCES = 	\
190	testtreeedit.c
191
192testtreemodel_SOURCES = \
193	testtreemodel.c
194
195testtreeview_SOURCES =	\
196	prop-editor.c	\
197	testtreeview.c
198
199testtext_SOURCES =	\
200	prop-editor.c	\
201	testtext.c
202
203testtoolbar_SOURCES =	\
204	testtoolbar.c	\
205	prop-editor.c
206
207testprint_SOURCES =    	\
208	testprint.c		\
209	testprintfileoperation.h \
210	testprintfileoperation.c
211
212testsocket_SOURCES =    	\
213	testsocket.c		\
214	testsocket_common.c
215
216testsocket_child_SOURCES =    	\
217	testsocket_child.c	\
218	testsocket_common.c
219
220testspinbutton_SOURCES =    	\
221	testspinbutton.c
222
223teststatusicon_SOURCES =    	\
224	prop-editor.c		\
225	teststatusicon.c
226
227testmerge_SOURCES = 		\
228	testmerge.c
229
230testactions_SOURCES = 		\
231	testactions.c
232
233testbbox_SOURCES = 		\
234	testbbox.c
235
236testbuttons_SOURCES = 		\
237	testbuttons.c
238
239testframe_SOURCES = 		\
240	testframe.c
241
242testiconview_SOURCES = 		\
243	testiconview.c		\
244	prop-editor.c
245
246testiconview_keynav_SOURCES = 	\
247	testiconview-keynav.c
248
249testrecentchooser_SOURCES = 	\
250	prop-editor.c 		\
251	testrecentchooser.c
252
253testgrouping_SOURCES =		\
254	testgrouping.c
255
256testtooltips_SOURCES =		\
257	testtooltips.c
258
259testrecentchoosermenu_SOURCES =	\
260	testrecentchoosermenu.c
261
262testvolumebutton_SOURCES =	\
263	testvolumebutton.c
264
265testoffscreen_SOURCES = 	\
266	gtkoffscreenbox.c	\
267	gtkoffscreenbox.h	\
268	testoffscreen.c
269
270testoffscreenwindow_SOURCES =	\
271	testoffscreenwindow.c
272
273testwindows_SOURCES = 	\
274	testwindows.c
275
276EXTRA_DIST += 			\
277	prop-editor.h		\
278	testgtk.1 		\
279	testgtkrc 		\
280	testgtkrc2 		\
281	circles.xbm		\
282	3DRings.xpm		\
283	FilesQueue.xpm		\
284	Modeller.xpm		\
285	check-y.xpm		\
286	check-n.xpm		\
287	marble.xpm		\
288	test.xpm		\
289	check-y.xpm		\
290	check-n.xpm		\
291	test.xpm		\
292	merge-1.ui		\
293	merge-2.ui		\
294	merge-3.ui		\
295	gnome-textfile.png	\
296	makefile.msc		\
297	file-chooser-test-dir/empty \
298	file-chooser-test-dir/text.txt
299
300
301-include $(top_srcdir)/git.mk
302