Makefile.am 47.4 KB
Newer Older
Owen Taylor's avatar
Owen Taylor committed
1
# Makefile.am for gtk+/gtk
2
include $(top_srcdir)/Makefile.decl
3
-include $(INTROSPECTION_MAKEFILE)
4 5
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = \
6 7
	--add-include-path=../gdk \
	--warn-all
8 9 10 11
INTROSPECTION_COMPILER_ARGS = \
	--includedir=$(srcdir) \
    --includedir=. \
    --includedir=../gdk
Elliot Lee's avatar
Elliot Lee committed
12

13
if USE_QUARTZ
14
GTK_PRINT_PREVIEW_COMMAND="open -a /Applications/Preview.app %f"
15
else
16
GTK_PRINT_PREVIEW_COMMAND="evince --unlink-tempfile --preview --print-settings %s %f"
17 18
endif

Matthias Clasen's avatar
Matthias Clasen committed
19
SUBDIRS = a11y . tests
20

gheet's avatar
gheet committed
21 22 23
if HAVE_PAPI_CUPS
GTK_PRINT_BACKENDS=file,papi,cups
else
24
if HAVE_CUPS
25
GTK_PRINT_BACKENDS=file,cups
26
else
gheet's avatar
gheet committed
27 28 29
if HAVE_PAPI
GTK_PRINT_BACKENDS=file,papi
else
30
GTK_PRINT_BACKENDS=file,lpr
31
endif
gheet's avatar
gheet committed
32 33
endif
endif
34

35
AM_CPPFLAGS =						\
36
	-DG_LOG_DOMAIN=\"Gtk\"				\
37
	-DGTK_LIBDIR=\"$(libdir)\"			\
38
	-DGTK_DATADIR=\"$(datadir)\"			\
39 40
	-DGTK_DATA_PREFIX=\"$(prefix)\"			\
	-DGTK_SYSCONFDIR=\"$(sysconfdir)\"		\
41 42 43
	-DGTK_VERSION=\"$(GTK_VERSION)\"		\
	-DGTK_BINARY_VERSION=\"$(GTK_BINARY_VERSION)\"	\
	-DGTK_HOST=\"$(host)\"				\
Tor Lillqvist's avatar
Tor Lillqvist committed
44
	-DGTK_COMPILATION				\
45
	-DGTK_PRINT_BACKENDS=\"$(GTK_PRINT_BACKENDS)\"	\
46
	-DGTK_PRINT_PREVIEW_COMMAND=\"$(GTK_PRINT_PREVIEW_COMMAND)\"	\
47
	-I$(top_builddir)				\
Owen Taylor's avatar
Owen Taylor committed
48
	-I$(top_builddir)/gtk				\
49 50
	-I$(top_srcdir) -I../gdk			\
	-I$(top_srcdir)/gdk				\
51
	-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED		\
52
	-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED		\
53
	$(GMODULE_CFLAGS)				\
54
	$(GTK_DEBUG_FLAGS)				\
55
	$(GTK_DEP_CFLAGS)				\
56
	$(INCLUDED_IMMODULE_DEFINE)
57

Tor Lillqvist's avatar
Tor Lillqvist committed
58 59 60 61 62 63
if PLATFORM_WIN32
no_undefined = -no-undefined
endif

if OS_WIN32
gtk_def = gtk.def
64
gtk_win32_symbols = -export-symbols $(srcdir)/gtk.def
Tor Lillqvist's avatar
Tor Lillqvist committed
65

66
gtk_win32_res = gtk-win32-res.o
67
gtk_win32_res_ldflag = -Wl,gtk-win32-res.o
Tor Lillqvist's avatar
Tor Lillqvist committed
68

69 70
gtk-win32-res.o : gtk-win32.rc
	$(WINDRES) gtk-win32.rc $@
Tor Lillqvist's avatar
Tor Lillqvist committed
71

72
install-def-file: gtk.def
73
	$(INSTALL) $(srcdir)/gtk.def $(DESTDIR)$(libdir)/gtk-win32-3.0.def
74
uninstall-def-file:
75
	-rm $(DESTDIR)$(libdir)/gtk-win32-3.0.def
Tor Lillqvist's avatar
Tor Lillqvist committed
76
else
77 78
install-def-file:
uninstall-def-file:
Tor Lillqvist's avatar
Tor Lillqvist committed
79 80 81
endif

if MS_LIB_AVAILABLE
Owen Taylor's avatar
Owen Taylor committed
82
noinst_DATA = gtk-win32-$(GTK_API_VERSION).lib
Tor Lillqvist's avatar
Tor Lillqvist committed
83

Owen Taylor's avatar
Owen Taylor committed
84
gtk-win32-$(GTK_API_VERSION).lib: libgtk-win32-$(GTK_API_VERSION).la gtk.def
85
	lib -machine:@LIB_EXE_MACHINE_FLAG@ -name:libgtk-win32-$(GTK_API_VERSION)-@LT_CURRENT_MINUS_AGE@.dll -def:gtk.def -out:$@
Tor Lillqvist's avatar
Tor Lillqvist committed
86 87

install-ms-lib:
Owen Taylor's avatar
Owen Taylor committed
88
	$(INSTALL) gtk-win32-$(GTK_API_VERSION).lib $(DESTDIR)$(libdir)
Tor Lillqvist's avatar
Tor Lillqvist committed
89 90

uninstall-ms-lib:
Owen Taylor's avatar
Owen Taylor committed
91
	-rm $(DESTDIR)$(libdir)/gtk-win32-$(GTK_API_VERSION).lib
Tor Lillqvist's avatar
Tor Lillqvist committed
92 93 94 95 96
else
install-ms-lib:
uninstall-ms-lib:
endif

97 98
# This places the generated .def file in srcdir, since it is expected to be there.
# (The one from a tarball is)
99
gtk.def: gtk.symbols
100
	$(AM_V_GEN) (echo -e EXPORTS; $(CPP) -P -DG_OS_WIN32 - <$(srcdir)/gtk.symbols | $(SED) -e '/^$$/d' -e 's/^/	/') > $(srcdir)/gtk.def
101

102
TESTS_ENVIRONMENT = srcdir="$(srcdir)" gtk_all_c_sources="$(gtk_all_c_sources)"
103
if OS_LINUX
104
TESTS = abicheck.sh
105 106
endif

107
libgtkincludedir = $(includedir)/gtk-3.0/gtk
108
libadd = \
109
	$(top_builddir)/gdk/libgdk-3.la	\
110
	$(top_builddir)/gtk/a11y/libgail.la \
111
	$(GMODULE_LIBS) \
112
	$(GTK_DEP_LIBS)
113 114 115
deps = \
	$(top_builddir)/gdk/libgdk-3.la	\
	$(top_builddir)/gtk/a11y/libgail.la
116

117 118 119
# libtool stuff: set version and export symbols for resolving
# since automake doesn't support conditionalized libsomething_la_LDFLAGS
# we use the general approach here
120
libtool_opts =							\
121
  $(GTK_LINK_FLAGS)						\
122 123 124 125
  -version-info $(LT_VERSION_INFO)				\
  -export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS)	\
  -rpath $(libdir) $(libgtk_target_ldflags)

126

127 128 129 130 131 132 133 134 135 136 137 138 139
included-modules:
if HAVE_INCLUDED_IMMMODULES
	@cd $(top_builddir)/modules/input && $(MAKE) $(AM_MAKEFLAGS) included-modules

libadd += $(INCLUDED_IMMODULE_OBJ)
deps += $(INCLUDED_IMMODULE_OBJ)

$(INCLUDED_IMMODULE_OBJ): included-modules
	@true
endif

.PHONY: included-modules

140 141 142
#
# setup source file variables
#
143

144 145
# GTK+ header files for public installation (non-generated, or generated
# by configure)
146 147

deprecated_h_sources = 			\
148 149
	deprecated/gtkcolorsel.h	\
	deprecated/gtkcolorseldialog.h	\
150 151 152 153 154 155 156 157
	deprecated/gtkfontsel.h		\
	deprecated/gtkhandlebox.h	\
	deprecated/gtkhbbox.h		\
	deprecated/gtkhbox.h		\
	deprecated/gtkhpaned.h		\
	deprecated/gtkhscale.h		\
	deprecated/gtkhscrollbar.h	\
	deprecated/gtkhseparator.h	\
158
	deprecated/gtkhsv.h		\
159 160
	deprecated/gtkstyle.h		\
	deprecated/gtkrc.h		\
161 162 163 164 165 166 167 168 169
	deprecated/gtktable.h		\
	deprecated/gtktearoffmenuitem.h	\
	deprecated/gtkvbbox.h		\
	deprecated/gtkvbox.h		\
	deprecated/gtkvscale.h		\
	deprecated/gtkvscrollbar.h	\
	deprecated/gtkvseparator.h	\
	deprecated/gtkvpaned.h

170
gtk_public_h_sources = 		\
Elliot Lee's avatar
Elliot Lee committed
171
	gtk.h			\
172
	gtkx.h			\
173
	gtkaboutdialog.h	\
Tim Janik's avatar
Tim Janik committed
174 175
	gtkaccelgroup.h		\
	gtkaccellabel.h		\
176
	gtkaccelmap.h		\
177
	gtkaccessible.h		\
178
	gtkactionable.h		\
179 180
	gtkaction.h		\
	gtkactiongroup.h	\
181
	gtkactivatable.h	\
Elliot Lee's avatar
Elliot Lee committed
182 183
	gtkadjustment.h		\
	gtkalignment.h		\
184
	gtkappchooser.h		\
185
	gtkappchooserbutton.h	\
186 187
	gtkappchooserdialog.h	\
	gtkappchooserwidget.h	\
188
	gtkapplication.h	\
189
	gtkapplicationwindow.h	\
Elliot Lee's avatar
Elliot Lee committed
190
	gtkarrow.h		\
191
	gtkaspectframe.h	\
192
	gtkassistant.h		\
193
	gtkbbox.h		\
Elliot Lee's avatar
Elliot Lee committed
194
	gtkbin.h		\
Tim Janik's avatar
Tim Janik committed
195
	gtkbindings.h		\
Matthias Clasen's avatar
Matthias Clasen committed
196
	gtkborder.h		\
Elliot Lee's avatar
Elliot Lee committed
197
	gtkbox.h		\
198 199
	gtkbuilder.h		\
	gtkbuildable.h		\
Elliot Lee's avatar
Elliot Lee committed
200
	gtkbutton.h		\
201
	gtkcalendar.h		\
202
	gtkcellarea.h		\
203
	gtkcellareacontext.h	\
204
	gtkcellareabox.h	\
205
	gtkcelleditable.h	\
206
	gtkcelllayout.h		\
207
	gtkcellrenderer.h	\
208
	gtkcellrendereraccel.h	\
209
	gtkcellrenderercombo.h	\
210
	gtkcellrendererpixbuf.h	\
211
	gtkcellrendererprogress.h \
Matthias Clasen's avatar
Matthias Clasen committed
212
	gtkcellrendererspin.h	\
213
	gtkcellrendererspinner.h\
214 215
	gtkcellrenderertext.h	\
	gtkcellrenderertoggle.h	\
216
	gtkcellview.h		\
Elliot Lee's avatar
Elliot Lee committed
217 218
	gtkcheckbutton.h	\
	gtkcheckmenuitem.h	\
Owen Taylor's avatar
Owen Taylor committed
219
	gtkclipboard.h		\
220
	gtkcolorbutton.h	\
221 222 223
	gtkcolorchooser.h	\
	gtkcolorchooserwidget.h	\
	gtkcolorchooserdialog.h	\
224
	gtkcolorutils.h		\
225
	gtkcombobox.h		\
226
	gtkcomboboxtext.h	\
Elliot Lee's avatar
Elliot Lee committed
227
	gtkcontainer.h		\
Carlos Garnacho's avatar
Carlos Garnacho committed
228
	gtkcssprovider.h	\
229
	gtkcsssection.h 	\
Matthias Clasen's avatar
Matthias Clasen committed
230
	gtkdebug.h		\
Elliot Lee's avatar
Elliot Lee committed
231
	gtkdialog.h		\
232
	gtkdnd.h		\
Elliot Lee's avatar
Elliot Lee committed
233
	gtkdrawingarea.h	\
Matthias Clasen's avatar
Matthias Clasen committed
234
	gtkeditable.h		\
Elliot Lee's avatar
Elliot Lee committed
235
	gtkentry.h		\
236
	gtkentrybuffer.h	\
237
	gtkentrycompletion.h	\
Elliot Lee's avatar
Elliot Lee committed
238 239
	gtkenums.h		\
	gtkeventbox.h		\
240
	gtkexpander.h		\
Matthias Clasen's avatar
Matthias Clasen committed
241 242 243 244
	gtkfilechooser.h	\
	gtkfilechooserbutton.h	\
	gtkfilechooserdialog.h	\
	gtkfilechooserwidget.h	\
245
	gtkfilefilter.h		\
Elliot Lee's avatar
Elliot Lee committed
246
	gtkfixed.h		\
247
	gtkfontbutton.h		\
248
	gtkfontchooser.h	\
249
	gtkfontchooserdialog.h  \
250
	gtkfontchooserwidget.h	\
Elliot Lee's avatar
Elliot Lee committed
251
	gtkframe.h		\
Matthias Clasen's avatar
Matthias Clasen committed
252
	gtkgradient.h		\
Matthias Clasen's avatar
Matthias Clasen committed
253
	gtkgrid.h		\
254
	gtkiconfactory.h	\
255
	gtkicontheme.h		\
256
	gtkiconview.h		\
Elliot Lee's avatar
Elliot Lee committed
257
	gtkimage.h		\
258
	gtkimagemenuitem.h	\
259
	gtkimcontext.h		\
Benjamin Otte's avatar
Benjamin Otte committed
260
	gtkimcontextinfo.h	\
261
	gtkimcontextsimple.h	\
Owen Taylor's avatar
Owen Taylor committed
262
	gtkimmodule.h		\
263
	gtkimmulticontext.h	\
264
	gtkinfobar.h		\
265
	gtkinvisible.h		\
Elliot Lee's avatar
Elliot Lee committed
266
	gtklabel.h		\
Matthias Clasen's avatar
Matthias Clasen committed
267
	gtklayout.h		\
268
	gtklevelbar.h		\
269
	gtklinkbutton.h		\
270
	gtkliststore.h		\
271
	gtklockbutton.h		\
Elliot Lee's avatar
Elliot Lee committed
272 273 274
	gtkmain.h		\
	gtkmenu.h		\
	gtkmenubar.h		\
275
	gtkmenubutton.h		\
Elliot Lee's avatar
Elliot Lee committed
276 277
	gtkmenuitem.h		\
	gtkmenushell.h		\
278
	gtkmenutoolbutton.h	\
279
	gtkmessagedialog.h	\
Elliot Lee's avatar
Elliot Lee committed
280
	gtkmisc.h		\
281
	gtkmodules.h		\
Matthias Clasen's avatar
Matthias Clasen committed
282
	gtkmountoperation.h	\
Elliot Lee's avatar
Elliot Lee committed
283
	gtknotebook.h		\
Matthias Clasen's avatar
Matthias Clasen committed
284
	gtknumerableicon.h	\
285
	gtkoffscreenwindow.h	\
286
	gtkorientable.h		\
287
	gtkoverlay.h		\
288
	gtkpagesetup.h		\
Elliot Lee's avatar
Elliot Lee committed
289
	gtkpaned.h		\
290
	gtkpapersize.h		\
291
	gtkplug.h		\
292 293
	gtkprintcontext.h	\
	gtkprintoperation.h	\
Matthias Clasen's avatar
Matthias Clasen committed
294
	gtkprintoperationpreview.h \
295
	gtkprintsettings.h	\
Elliot Lee's avatar
Elliot Lee committed
296
	gtkprogressbar.h	\
297
	gtkradioaction.h	\
Elliot Lee's avatar
Elliot Lee committed
298 299
	gtkradiobutton.h	\
	gtkradiomenuitem.h	\
300
	gtkradiotoolbutton.h	\
Elliot Lee's avatar
Elliot Lee committed
301
	gtkrange.h		\
302
	gtkrecentaction.h	\
303
	gtkrecentchooser.h	\
304
	gtkrecentchooserdialog.h \
Matthias Clasen's avatar
Matthias Clasen committed
305
	gtkrecentchoosermenu.h	\
306
	gtkrecentchooserwidget.h \
Matthias Clasen's avatar
Matthias Clasen committed
307
	gtkrecentfilter.h	\
308
	gtkrecentmanager.h	\
Elliot Lee's avatar
Elliot Lee committed
309
	gtkscale.h		\
310
	gtkscalebutton.h	\
Matthias Clasen's avatar
Matthias Clasen committed
311
	gtkscrollable.h		\
Elliot Lee's avatar
Elliot Lee committed
312 313
	gtkscrollbar.h		\
	gtkscrolledwindow.h	\
Bastien Nocera's avatar
Bastien Nocera committed
314
	gtksearchentry.h	\
Elliot Lee's avatar
Elliot Lee committed
315 316
	gtkselection.h		\
	gtkseparator.h		\
317 318
	gtkseparatormenuitem.h	\
	gtkseparatortoolitem.h	\
319
	gtksettings.h		\
320
	gtkshow.h		\
321
	gtksizegroup.h		\
322
	gtksizerequest.h	\
323
	gtksocket.h		\
324
	gtkspinbutton.h		\
325
	gtkspinner.h		\
326
	gtkstatusbar.h		\
327
	gtkstatusicon.h		\
328
	gtkstock.h		\
Carlos Garnacho's avatar
Carlos Garnacho committed
329
	gtkstylecontext.h	\
330
	gtkstyleproperties.h	\
331
	gtkstyleprovider.h	\
332
	gtkswitch.h		\
Carlos Garnacho's avatar
Carlos Garnacho committed
333
	gtksymboliccolor.h	\
334
	gtktestutils.h		\
335
	gtktextattributes.h	\
336
	gtktextbuffer.h		\
337
	gtktextbufferrichtext.h	\
338
	gtktextchild.h		\
339
	gtktextdisplay.h	\
340 341 342 343 344
	gtktextiter.h		\
	gtktextmark.h		\
	gtktexttag.h		\
	gtktexttagtable.h	\
	gtktextview.h		\
Carlos Garnacho's avatar
Carlos Garnacho committed
345
	gtkthemingengine.h	\
346
	gtktoggleaction.h	\
Elliot Lee's avatar
Elliot Lee committed
347
	gtktogglebutton.h	\
348
	gtktoggletoolbutton.h	\
349
	gtktoolbar.h		\
350 351
	gtktoolbutton.h		\
	gtktoolitem.h		\
Matthias Clasen's avatar
Matthias Clasen committed
352 353
	gtktoolitemgroup.h	\
	gtktoolpalette.h	\
354
	gtktoolshell.h		\
Kristian Rietveld's avatar
Kristian Rietveld committed
355
	gtktooltip.h		\
356
	gtktreednd.h		\
357
	gtktreemodel.h		\
358
	gtktreemodelfilter.h	\
359
	gtktreemodelsort.h	\
360
	gtktreeselection.h	\
361
	gtktreesortable.h	\
362 363 364
	gtktreestore.h		\
	gtktreeview.h		\
	gtktreeviewcolumn.h	\
Benjamin Otte's avatar
Benjamin Otte committed
365
	gtktypes.h		\
366
	gtkuimanager.h		\
Elliot Lee's avatar
Elliot Lee committed
367
	gtkviewport.h		\
368
	gtkvolumebutton.h	\
Elliot Lee's avatar
Elliot Lee committed
369
	gtkwidget.h		\
Carlos Garnacho's avatar
Carlos Garnacho committed
370
	gtkwidgetpath.h		\
371
	gtkwindow.h
372

373
if OS_UNIX
374
gtk_unix_print_public_h_sources = 	\
375
	gtkpagesetupunixdialog.h	\
376
	gtkprintunixdialog.h		\
377
	gtkprinter.h			\
378 379
	gtkprintjob.h			\
	gtkunixprint.h
380
endif
381

382
# Installed header files without compatibility guarantees
383
# that are not included in gtk/gtk.h
384
gtk_semi_private_h_sources = \
385
	gtktextlayout.h
386

387
if ENABLE_PACKAGEKIT
388
gtk_appchooser_impl_h_sources = \
389
	gtkappchooseronlinepk.h
390 391 392
endif

if ENABLE_PACKAGEKIT
393
gtk_appchooser_impl_c_sources = \
394
	gtkappchooseronlinepk.c
395 396
endif

Carlos Garnacho's avatar
Carlos Garnacho committed
397 398 399
gtk_private_type_h_sources =	\
	gtkcsstypesprivate.h	\
	gtktexthandleprivate.h
400 401


402
# GTK+ header files that don't get installed
Soeren Sandmann's avatar
Soeren Sandmann committed
403
gtk_private_h_sources =		\
404 405 406
	gactionmuxer.h		\
	gactionobserver.h	\
	gactionobservable.h	\
407
	gtkapplicationprivate.h	\
408
	gtkaccelgroupprivate.h	\
409
	gtkaccelmapprivate.h	\
410
	gtkactionhelper.h	\
411
	gtkallocatedbitmaskprivate.h	\
412 413 414
	gtkappchooserprivate.h	\
	gtkappchoosermodule.h	\
	gtkappchooseronline.h	\
415
	gtkbindingsprivate.h	\
Benjamin Otte's avatar
Benjamin Otte committed
416
	gtkbitmaskprivate.h	\
417
	gtkbitmaskprivateimpl.h	\
418
	gtkborderimageprivate.h \
419
	gtkboxprivate.h         \
420
	gtkbuilderprivate.h	\
421
	gtkbuttonprivate.h	\
422
	gtkcairoblurprivate.h	\
423
	gtkcellareaboxcontextprivate.h	\
424 425 426 427
	gtkcolorswatchprivate.h	\
	gtkcoloreditorprivate.h	\
	gtkcolorplaneprivate.h	\
	gtkcolorscaleprivate.h	\
428
	gtkcolorchooserprivate.h	\
429
	gtkcontainerprivate.h   \
430
	gtkcssanimationprivate.h	\
431
	gtkcssarrayvalueprivate.h	\
432
	gtkcssbgsizevalueprivate.h	\
433
	gtkcssbordervalueprivate.h	\
434
	gtkcsscomputedvaluesprivate.h \
435
	gtkcsscornervalueprivate.h	\
436
	gtkcsscustompropertyprivate.h \
437
	gtkcsseasevalueprivate.h	\
438
	gtkcssenginevalueprivate.h	\
439
	gtkcssenumvalueprivate.h	\
440
	gtkcssimagecrossfadeprivate.h	\
441
	gtkcssimagegradientprivate.h	\
442
	gtkcssimagelinearprivate.h	\
443
	gtkcssimageprivate.h	\
444
	gtkcssimageurlprivate.h	\
445
	gtkcssimagevalueprivate.h	\
446
	gtkcssimagewin32private.h	\
447 448
	gtkcssinheritvalueprivate.h	\
	gtkcssinitialvalueprivate.h	\
449
	gtkcsskeyframesprivate.h	\
450
	gtkcsslookupprivate.h	\
Benjamin Otte's avatar
Benjamin Otte committed
451
	gtkcssmatcherprivate.h	\
452
	gtkcssnumbervalueprivate.h	\
Benjamin Otte's avatar
Benjamin Otte committed
453
	gtkcssparserprivate.h	\
454
	gtkcsspositionvalueprivate.h	\
455
	gtkcssproviderprivate.h	\
456
	gtkcssrepeatvalueprivate.h	\
457
	gtkcssrgbavalueprivate.h	\
458
	gtkcsssectionprivate.h 	\
Benjamin Otte's avatar
Benjamin Otte committed
459
	gtkcssselectorprivate.h	\
460
	gtkcssshadowsvalueprivate.h	\
461
	gtkcssshadowvalueprivate.h      \
462
	gtkcssshorthandpropertyprivate.h \
463
	gtkcssstringvalueprivate.h	\
464
	gtkcssstylefuncsprivate.h \
465
	gtkcssstylepropertyprivate.h \
466
	gtkcsstransitionprivate.h	\
467
	gtkcsstypedvalueprivate.h	\
468
	gtkcssvalueprivate.h	\
469
	gtkcustompaperunixdialog.h \
470
	gtkentryprivate.h	\
471
	gtkfilechooserdefault.h	\
472
	gtkfilechooserembed.h	\
473 474 475
	gtkfilechooserentry.h	\
	gtkfilechooserprivate.h	\
	gtkfilechooserutils.h	\
476
	gtkfilesystem.h		\
477
	gtkfilesystemmodel.h	\
478 479
	gtkfontchooserprivate.h	\
	gtkfontchooserutils.h	\
480
	gtkgradientprivate.h	\
481
	gtkiconcache.h		\
482
	gtkiconhelperprivate.h  \
483
	gtkiconviewprivate.h	\
484
	gtkimageprivate.h	\
485
	gtkimmoduleprivate.h	\
486
	gtkimcontextsimpleseqs.h \
487 488
	gtkintl.h		\
	gtkkeyhash.h		\
489
	gtklockbuttonprivate.h	\
490
	gtkmenubuttonprivate.h	\
491
	gtkmenuprivate.h	\
492
	gtkmenuitemprivate.h	\
493
	gtkmenushellprivate.h	\
494
	gtkmnemonichash.h	\
495
	gtkmodelmenuitem.h	\
496
	gtkmodifierstyle.h	\
497
	gtkmodulesprivate.h	\
498
	gtkmountoperationprivate.h \
Matthias Clasen's avatar
Matthias Clasen committed
499
	gtknumerableiconprivate.h \
500
	gtkorientableprivate.h	\
501
	gtkpango.h		\
502
	gtkpathbar.h		\
503
	gtkpressandholdprivate.h \
504
	gtkprintoperation-private.h \
Matthias Clasen's avatar
Matthias Clasen committed
505
	gtkprintutils.h		\
506
	gtkprivate.h		\
507
	gtkquery.h		\
Soeren Sandmann's avatar
Soeren Sandmann committed
508
	gtkrbtree.h		\
509 510
	gtkrecentchooserdefault.h \
	gtkrecentchooserprivate.h \
511
	gtkrecentchooserutils.h	\
512
	gtkresources.h		\
Benjamin Otte's avatar
Benjamin Otte committed
513
	gtkroundedboxprivate.h	\
514
	gtkscaleprivate.h	\
515 516
	gtksearchengine.h	\
	gtksearchenginesimple.h	\
517
	gtkselectionprivate.h	\
518
	gtksettingsprivate.h	\
519
	gtksizegroup-private.h	\
520
	gtksocketprivate.h	\
521
	gtkstyleanimationprivate.h \
522
	gtkstylecascadeprivate.h \
523
	gtkstylecontextprivate.h \
524
	gtkstylepropertiesprivate.h \
525
	gtkstylepropertyprivate.h \
526
	gtkstyleproviderprivate.h \
527
	gtksymboliccolorprivate.h \
528
	gtktextbtree.h		\
529
	gtktextbufferserialize.h \
Soeren Sandmann's avatar
Soeren Sandmann committed
530
	gtktextchildprivate.h	\
Carlos Garnacho's avatar
Carlos Garnacho committed
531
	gtktexthandleprivate.h	\
532 533
	gtktextiterprivate.h	\
	gtktextmarkprivate.h	\
534
	gtktextsegment.h	\
535
	gtktexttagprivate.h	\
536 537
	gtktexttypes.h		\
	gtktextutil.h		\
538
	gtkthemingbackgroundprivate.h \
539
	gtkthemingengineprivate.h \
Matthias Clasen's avatar
Matthias Clasen committed
540
	gtktoolpaletteprivate.h	\
Owen Taylor's avatar
Owen Taylor committed
541
	gtktreedatalist.h	\
542
	gtktreeprivate.h	\
Emmanuele Bassi's avatar
Emmanuele Bassi committed
543
	gtkwidgetprivate.h	\
544
	gtkwin32themeprivate.h	\
545
	gtkwindowprivate.h	\
546
	gtktreemenu.h		\
547
	$(gtk_private_type_h_sources) \
548
	$(gtk_clipboard_dnd_h_sources) \
549
	$(gtk_appchooser_impl_h_sources)
550

551
# GTK+ C sources to build the library from
552
deprecated_c_sources = 			\
553 554
	deprecated/gtkcolorsel.c	\
	deprecated/gtkcolorseldialog.c	\
555 556 557 558 559 560 561 562
	deprecated/gtkfontsel.c		\
	deprecated/gtkhandlebox.c	\
	deprecated/gtkhbbox.c		\
	deprecated/gtkhbox.c		\
	deprecated/gtkhpaned.c		\
	deprecated/gtkhscale.c		\
	deprecated/gtkhscrollbar.c	\
	deprecated/gtkhseparator.c	\
563
	deprecated/gtkhsv.c		\
564 565
	deprecated/gtkrc.c		\
	deprecated/gtkstyle.c		\
566 567 568 569 570 571 572 573 574
	deprecated/gtktable.c		\
	deprecated/gtktearoffmenuitem.c	\
	deprecated/gtkvbbox.c		\
	deprecated/gtkvbox.c		\
	deprecated/gtkvscale.c		\
	deprecated/gtkvscrollbar.c	\
	deprecated/gtkvseparator.c	\
	deprecated/gtkvpaned.c

575
gtk_base_c_sources = 		\
576
	$(deprecated_c_sources)	\
577 578 579
	gactionmuxer.c		\
	gactionobserver.c	\
	gactionobservable.c	\
580
	gtkactionable.c		\
581
	gtkquery.c		\
Bastien Nocera's avatar
Bastien Nocera committed
582
	gtksearchentry.c	\
583 584
	gtksearchengine.c	\
	gtksearchenginesimple.c	\
585
	fnmatch.c		\
586
	gtkaboutdialog.c	\
587 588
	gtkaccelgroup.c		\
	gtkaccellabel.c		\
589 590
	gtkaccelmap.c		\
	gtkaccessible.c		\
591
	gtkaction.c		\
592
	gtkactionhelper.c	\
593
	gtkactiongroup.c	\
594
	gtkactivatable.c	\
595 596
	gtkadjustment.c		\
	gtkalignment.c		\
597
	gtkallocatedbitmask.c	\
598 599
	gtkappchooser.c		\
	gtkappchooserwidget.c	\
600
	gtkappchooserbutton.c	\
601 602 603
	gtkappchooserdialog.c	\
	gtkappchoosermodule.c	\
	gtkappchooseronline.c	\
604
	gtkapplication.c	\
605
	gtkapplicationwindow.c	\
606 607
	gtkarrow.c		\
	gtkaspectframe.c	\
608
	gtkassistant.c		\
609
	gtkbbox.c		\
610 611
	gtkbin.c		\
	gtkbindings.c		\
Matthias Clasen's avatar
Matthias Clasen committed
612
	gtkborder.c		\
613
	gtkborderimage.c	\
614
	gtkbox.c		\
615 616 617
	gtkbuildable.c		\
	gtkbuilder.c		\
	gtkbuilderparser.c	\
618
	gtkbuilder-menus.c	\
619
	gtkbutton.c		\
620
	gtkcairoblur.c		\
621
	gtkcalendar.c		\
622
	gtkcellarea.c		\
623
	gtkcellareabox.c	\
624 625
	gtkcellareaboxcontext.c	\
	gtkcellareacontext.c	\
626
	gtkcelleditable.c	\
627
	gtkcelllayout.c		\
628
	gtkcellrenderer.c	\
629
	gtkcellrendereraccel.c	\
630
	gtkcellrenderercombo.c	\
631
	gtkcellrendererpixbuf.c	\
632
	gtkcellrendererprogress.c \
633 634
	gtkcellrendererspin.c	\
	gtkcellrendererspinner.c \
635 636
	gtkcellrenderertext.c	\
	gtkcellrenderertoggle.c	\
637
	gtkcellview.c		\
638 639
	gtkcheckbutton.c	\
	gtkcheckmenuitem.c	\
640
	gtkcolorbutton.c	\
641 642 643
	gtkcolorchooser.c	\
	gtkcolorchooserwidget.c	\
	gtkcolorchooserdialog.c	\
644
	gtkcoloreditor.c	\
645 646
	gtkcolorplane.c		\
	gtkcolorscale.c		\
647
	gtkcolorswatch.c	\
648
	gtkcolorutils.c		\
649
	gtkcombobox.c		\
650
	gtkcomboboxtext.c	\
651
	gtkcontainer.c		\
652
	gtkcssanimation.c	\
653
	gtkcssarrayvalue.c	\
654
	gtkcssbgsizevalue.c	\
655
	gtkcssbordervalue.c	\
656
	gtkcsscomputedvalues.c	\
657
	gtkcsscornervalue.c	\
658
	gtkcsscustomproperty.c	\
659
	gtkcsseasevalue.c	\
660
	gtkcssenumvalue.c	\
661
	gtkcssenginevalue.c	\
662
	gtkcssimage.c		\
663
	gtkcssimagecrossfade.c	\
664
	gtkcssimagegradient.c	\
665
	gtkcssimagelinear.c	\
666
	gtkcssimageurl.c	\
667
	gtkcssimagevalue.c	\
668
	gtkcssimagewin32.c	\
669 670
	gtkcssinheritvalue.c	\
	gtkcssinitialvalue.c	\
671
	gtkcsskeyframes.c	\
672
	gtkcsslookup.c		\
Benjamin Otte's avatar
Benjamin Otte committed
673
	gtkcssmatcher.c		\
674
	gtkcssnumbervalue.c	\
Benjamin Otte's avatar
Benjamin Otte committed
675
	gtkcssparser.c		\
676
	gtkcsspositionvalue.c	\
Carlos Garnacho's avatar
Carlos Garnacho committed
677
	gtkcssprovider.c	\
678
	gtkcssrepeatvalue.c	\
679
	gtkcssrgbavalue.c	\
680
	gtkcsssection.c 	\
Benjamin Otte's avatar
Benjamin Otte committed
681
	gtkcssselector.c	\
682
	gtkcssstringvalue.c	\
683
	gtkcssshadowsvalue.c	\
684
	gtkcssshadowvalue.c	\
685
	gtkcssshorthandproperty.c \
686
	gtkcssshorthandpropertyimpl.c \
687
	gtkcssstylefuncs.c	\
688
	gtkcssstyleproperty.c	\
689
	gtkcssstylepropertyimpl.c \
690
	gtkcsstransition.c	\
691
	gtkcsstypedvalue.c	\
692
	gtkcssvalue.c		\
693
	gtkcsstypes.c		\
694 695
	gtkdialog.c		\
	gtkdrawingarea.c	\
Matthias Clasen's avatar
Matthias Clasen committed
696
	gtkeditable.c		\
697
	gtkentry.c		\
698
	gtkentrybuffer.c	\
699
	gtkentrycompletion.c	\
700
	gtkeventbox.c		\
701
	gtkexpander.c		\
702
	gtkfilechooser.c	\
703
	gtkfilechooserbutton.c	\
704
	gtkfilechooserdefault.c	\
705
	gtkfilechooserdialog.c	\
706
	gtkfilechooserembed.c	\
707 708 709 710 711 712
	gtkfilechooserentry.c	\
	gtkfilechooserutils.c	\
	gtkfilechooserwidget.c	\
	gtkfilefilter.c		\
	gtkfilesystem.c		\
	gtkfilesystemmodel.c	\
713
	gtkfixed.c		\
Matthias Clasen's avatar
Matthias Clasen committed
714
	gtkfontbutton.c		\
715 716
	gtkfontchooser.c	\
	gtkfontchooserdialog.c	\
717 718
	gtkfontchooserutils.c	\
	gtkfontchooserwidget.c	\
719
	gtkframe.c		\
Matthias Clasen's avatar
Matthias Clasen committed
720
	gtkgradient.c		\
Matthias Clasen's avatar
Matthias Clasen committed
721
	gtkgrid.c		\
722
	gtkiconcache.c		\
723
	gtkiconcachevalidator.c	\
724
	gtkiconfactory.c	\
725
	gtkiconhelper.c		\
726
	gtkicontheme.c		\
727
	gtkiconview.c		\
728
	gtkimage.c		\
729
	gtkimagemenuitem.c	\
730 731
	gtkimcontext.c		\
	gtkimcontextsimple.c	\
Owen Taylor's avatar
Owen Taylor committed
732
	gtkimmodule.c		\
733
	gtkimmulticontext.c	\
734
	gtkinfobar.c		\
735
	gtkinvisible.c		\
736
	gtkkeyhash.c		\
737 738
	gtklabel.c		\
	gtklayout.c		\
739
	gtklevelbar.c		\
740
	gtklinkbutton.c		\
741
	gtkliststore.c		\
742
	gtklockbutton.c		\
743
	gtkmain.c		\
744
	gtkmarshalers.c		\
745 746
	gtkmenu.c		\
	gtkmenubar.c		\
747
	gtkmenubutton.c		\
748 749
	gtkmenuitem.c		\
	gtkmenushell.c		\
750
	gtkmenutoolbutton.c	\
751
	gtkmessagedialog.c	\
752
	gtkmisc.c		\
753
	gtkmnemonichash.c	\
754
	gtkmodelmenu.c		\
755
	gtkmodelmenuitem.c	\
756
	gtkmodifierstyle.c	\
757
	gtkmodules.c		\
Matthias Clasen's avatar
Matthias Clasen committed
758
	gtkmountoperation.c	\
759
	gtknotebook.c		\
Matthias Clasen's avatar
Matthias Clasen committed
760
	gtknumerableicon.c	\
761
	gtkoffscreenwindow.c	\
762
	gtkorientable.c		\
763
	gtkoverlay.c		\
764
	gtkpagesetup.c		\
765
	gtkpaned.c		\
766
	gtkpango.c		\
767
	gtkpapersize.c		\
768
	gtkpathbar.c		\
769
	gtkpressandhold.c	\
770 771
	gtkprintcontext.c	\
	gtkprintoperation.c	\
Matthias Clasen's avatar
Matthias Clasen committed
772
	gtkprintoperationpreview.c \
773
	gtkprintsettings.c	\
Matthias Clasen's avatar
Matthias Clasen committed
774
	gtkprintutils.c		\
775
	gtkprivate.c		\
776
	gtkprivatetypebuiltins.c \
777
	gtkprogressbar.c	\
778
	gtkradioaction.c	\
779 780
	gtkradiobutton.c	\
	gtkradiomenuitem.c	\
781
	gtkradiotoolbutton.c	\
782
	gtkrange.c		\
Matthias Clasen's avatar
Matthias Clasen committed
783
	gtkrbtree.c		\
784
	gtkrecentaction.c	\
785
	gtkrecentchooserdefault.c \
786
	gtkrecentchooserdialog.c \
Matthias Clasen's avatar
Matthias Clasen committed
787
	gtkrecentchoosermenu.c	\
788 789 790 791 792
	gtkrecentchooserwidget.c \
	gtkrecentchooserutils.c	\
	gtkrecentchooser.c	\
	gtkrecentfilter.c	\
	gtkrecentmanager.c	\
793
	gtkresources.c		\
Benjamin Otte's avatar
Benjamin Otte committed
794
	gtkroundedbox.c		\
795
	gtkscale.c		\
796
	gtkscalebutton.c	\
Matthias Clasen's avatar
Matthias Clasen committed
797
	gtkscrollable.c		\
798 799 800 801
	gtkscrollbar.c		\
	gtkscrolledwindow.c	\
	gtkselection.c		\
	gtkseparator.c		\
802 803
	gtkseparatormenuitem.c	\
	gtkseparatortoolitem.c	\
804
	gtksettings.c		\
805
	gtksizegroup.c		\
806
	gtksizerequest.c	\
807
	gtkshow.c		\
808
	gtkspinbutton.c		\
809
	gtkspinner.c		\
810
	gtkstatusbar.c		\
811
	gtkstatusicon.c		\
812
	gtkstock.c		\
813
	gtkstyleanimation.c	\
814
	gtkstylecascade.c	\
Carlos Garnacho's avatar
Carlos Garnacho committed
815
	gtkstylecontext.c	\
816
	gtkstyleproperties.c	\
817
	gtkstyleproperty.c	\
818
	gtkstyleprovider.c	\
819
	gtkstyleproviderprivate.c	\
820
	gtkswitch.c		\
Carlos Garnacho's avatar
Carlos Garnacho committed
821
	gtksymboliccolor.c	\
822
	gtktestutils.c		\
823
	gtktextattributes.c	\
824 825
	gtktextbtree.c		\
	gtktextbuffer.c		\
826
	gtktextbufferrichtext.c	\
827
	gtktextbufferserialize.c \
828 829
	gtktextchild.c		\
	gtktextdisplay.c	\
Carlos Garnacho's avatar
Carlos Garnacho committed
830
	gtktexthandle.c		\
831 832 833 834 835 836 837
	gtktextiter.c		\
	gtktextlayout.c		\
	gtktextmark.c		\
	gtktextsegment.c	\
	gtktexttag.c		\
	gtktexttagtable.c	\
	gtktexttypes.c		\
838
	gtktextutil.c		\
839
	gtktextview.c		\
840
	gtkthemingbackground.c  \
Carlos Garnacho's avatar
Carlos Garnacho committed
841
	gtkthemingengine.c	\
842
	gtktoggleaction.c	\
843
	gtktogglebutton.c	\
844 845 846 847
	gtktoggletoolbutton.c	\
	gtktoolbar.c		\
	gtktoolbutton.c		\
	gtktoolitem.c		\
Matthias Clasen's avatar
Matthias Clasen committed
848
	gtktoolitemgroup.c	\
Johannes Schmid's avatar
Johannes Schmid committed
849
	gtktoolpalette.c	\
850
	gtktoolshell.c		\
Kristian Rietveld's avatar
Kristian Rietveld committed
851
	gtktooltip.c		\
852
	gtktreedatalist.c	\
853
	gtktreednd.c		\
854
	gtktreemenu.c		\
855
	gtktreemodel.c		\
856
	gtktreemodelfilter.c	\
857
	gtktreemodelsort.c	\
858
	gtktreeselection.c	\
859
	gtktreesortable.c	\
860 861 862
	gtktreestore.c		\
	gtktreeview.c		\
	gtktreeviewcolumn.c	\
863
	gtktypebuiltins.c	\
864
	gtkuimanager.c		\
865
	gtkvolumebutton.c	\
866 867
	gtkviewport.c		\
	gtkwidget.c		\
Carlos Garnacho's avatar
Carlos Garnacho committed
868
	gtkwidgetpath.c		\
869
	gtkwindow.c		\
870
	gtkwin32theme.c		\
871
	$(gtk_clipboard_dnd_c_sources) \
872
	$(gtk_appchooser_impl_c_sources)
873

874 875
gtk_c_sources = $(gtk_base_c_sources)
gtk_all_c_sources = $(gtk_base_c_sources)
876

877 878 879
gtk_dbus_built_sources = gtkdbusgenerated.c gtkdbusgenerated.h

$(gtk_dbus_built_sources) : Makefile.am gtkdbusinterfaces.xml
Matthias Clasen's avatar
Matthias Clasen committed
880
	$(AM_V_GEN) gdbus-codegen \
881
	--interface-prefix org.Gtk. \
882
	--c-namespace _Gtk \
883
	--generate-c-code gtkdbusgenerated \
884
	$(srcdir)/gtkdbusinterfaces.xml
885

886
gtk_os_unix_c_sources = 		\
887
	gtkcustompaperunixdialog.c	\
888 889 890 891 892 893 894 895
	gtkpagesetupunixdialog.c	\
	gtkprinter.c			\
	gtkprinteroption.c		\
	gtkprinteroptionset.c		\
	gtkprinteroptionwidget.c	\
	gtkprintjob.c			\
	gtkprintoperation-unix.c	\
	gtkprintunixdialog.c		\
896
        gtkprintbackend.c		\
897 898
	gtksearchenginetracker.c        \
	$(gtk_dbus_built_sources)
899 900 901
gtk_all_c_sources += $(gtk_os_unix_c_sources)
if OS_UNIX
gtk_private_h_sources += \
902
	gtkiconcachevalidator.h		\
903 904 905 906
	gtkprintbackend.h		\
	gtkprinter-private.h		\
	gtkprinteroption.h		\
	gtkprinteroptionset.h		\
907 908
	gtkprinteroptionwidget.h	\
	gtksearchenginetracker.h
909
gtk_c_sources += $(gtk_os_unix_c_sources)
910 911
else
gtk_c_sources += $(gtk_dbus_built_sources)
912 913
endif

914
gtk_os_win32_c_sources = \
915
	gtkprint-win32.c		\
916 917
	gtkprintoperation-win32.c	\
	gtkwin32.c
918 919
gtk_all_c_sources += $(gtk_os_win32_c_sources)
if OS_WIN32
920
gtk_private_h_sources += gtkprint-win32.h
921
gtk_c_sources += $(gtk_os_win32_c_sources)