Makefile.am 38.8 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)
Johan Dahlin's avatar
Johan Dahlin committed
4 5 6 7 8 9 10 11 12
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = \
	--add-include-path=../gdk-pixbuf \
	--add-include-path=../gdk
INTROSPECTION_COMPILER_ARGS = \
	--includedir=$(srcdir) \
    --includedir=. \
    --includedir=../gdk-pixbuf \
    --includedir=../gdk
Elliot Lee's avatar
Elliot Lee committed
13

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

Matthias Clasen's avatar
Matthias Clasen committed
20
SUBDIRS = theme-bits . tests
21
DIST_SUBDIRS=theme-bits tests
22

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

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

63
gtarget=$(gdktarget)
Elliot Lee's avatar
Elliot Lee committed
64

Tor Lillqvist's avatar
Tor Lillqvist committed
65 66 67 68 69 70
if PLATFORM_WIN32
no_undefined = -no-undefined
endif

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

Tor Lillqvist's avatar
Tor Lillqvist committed
73
gtk_win32_res = gtk-win32-res.o
74
gtk_win32_res_ldflag = -Wl,gtk-win32-res.o
Tor Lillqvist's avatar
Tor Lillqvist committed
75

Tor Lillqvist's avatar
Tor Lillqvist committed
76 77
gtk-win32-res.o : gtk-win32.rc
	$(WINDRES) gtk-win32.rc $@
Tor Lillqvist's avatar
Tor Lillqvist committed
78

79
install-def-file: gtk.def
80
	$(INSTALL) $(srcdir)/gtk.def $(DESTDIR)$(libdir)/gtk-win32-3.0.def
81
uninstall-def-file:
82
	-rm $(DESTDIR)$(libdir)/gtk-win32-3.0.def
Tor Lillqvist's avatar
Tor Lillqvist committed
83
else
84 85
install-def-file:
uninstall-def-file:
Tor Lillqvist's avatar
Tor Lillqvist committed
86 87 88
endif

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

Owen Taylor's avatar
Owen Taylor committed
91
gtk-win32-$(GTK_API_VERSION).lib: libgtk-win32-$(GTK_API_VERSION).la gtk.def
92
	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
93 94

install-ms-lib:
Owen Taylor's avatar
Owen Taylor committed
95
	$(INSTALL) gtk-win32-$(GTK_API_VERSION).lib $(DESTDIR)$(libdir)
Tor Lillqvist's avatar
Tor Lillqvist committed
96 97

uninstall-ms-lib:
Owen Taylor's avatar
Owen Taylor committed
98
	-rm $(DESTDIR)$(libdir)/gtk-win32-$(GTK_API_VERSION).lib
Tor Lillqvist's avatar
Tor Lillqvist committed
99 100 101 102 103
else
install-ms-lib:
uninstall-ms-lib:
endif

104 105
# This places the generated .def file in srcdir, since it is expected to be there.
# (The one from a tarball is)
106
gtk.def: gtk.symbols
107
	(echo -e EXPORTS; $(CPP) -P -DINCLUDE_VARIABLES -DG_OS_WIN32 -DALL_FILES - <$(srcdir)/gtk.symbols | sed -e '/^$$/d' -e 's/^/	/' -e 's/G_GNUC_[^ ]*//g') > $(srcdir)/gtk.def
108 109

gtkalias.h: gtk.symbols
110
	  $(PERL) $(srcdir)/makegtkalias.pl < $(srcdir)/gtk.symbols > gtkalias.h
111 112
gtkaliasdef.c: gtk.symbols
	  $(PERL) $(srcdir)/makegtkalias.pl -def < $(srcdir)/gtk.symbols > gtkaliasdef.c
113

114 115 116 117 118
check-aliases:
	@$(TESTS_ENVIRONMENT) $(srcdir)/aliasfilescheck.sh

.PHONY: check-aliases

119
TESTS_ENVIRONMENT = srcdir="$(srcdir)" gtk_all_c_sources="$(gtk_all_c_sources)"
120
TESTS = aliasfilescheck.sh
Matthias Clasen's avatar
Matthias Clasen committed
121
if OS_LINUX
122
TESTS += abicheck.sh pltcheck.sh
123 124
endif

125
libgtkincludedir = $(includedir)/gtk-3.0/gtk
126 127 128 129
libadd =								\
	$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la	\
	$(top_builddir)/gdk/$(gdktargetlib)				\
	$(GTK_DEP_LIBS)
130
deps =
131

132 133 134
# libtool stuff: set version and export symbols for resolving
# since automake doesn't support conditionalized libsomething_la_LDFLAGS
# we use the general approach here
135 136 137 138 139
libtool_opts =							\
  -version-info $(LT_VERSION_INFO)				\
  -export-dynamic $(no_undefined) $(LIBTOOL_EXPORT_OPTIONS)	\
  -rpath $(libdir) $(libgtk_target_ldflags)

Elliot Lee's avatar
Elliot Lee committed
140

141 142 143 144 145 146 147 148 149 150 151 152 153
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

154 155 156
#
# setup source file variables
#
157

158 159
# GTK+ header files for public installation (non-generated, or generated
# by configure)
160
gtk_public_h_sources =          \
Elliot Lee's avatar
Elliot Lee committed
161
	gtk.h			\
Matthias Clasen's avatar
Matthias Clasen committed
162
	gtkaboutdialog.h	\
Tim Janik's avatar
Tim Janik committed
163 164
	gtkaccelgroup.h		\
	gtkaccellabel.h		\
165
	gtkaccelmap.h		\
166
	gtkaccessible.h		\
167 168
	gtkaction.h		\
	gtkactiongroup.h	\
169
	gtkaccelgroupprivate.h	\
170
	gtkactivatable.h	\
Elliot Lee's avatar
Elliot Lee committed
171 172
	gtkadjustment.h		\
	gtkalignment.h		\
Matthias Clasen's avatar
Matthias Clasen committed
173
	gtkapplication.h    \
Elliot Lee's avatar
Elliot Lee committed
174
	gtkarrow.h		\
175
	gtkaspectframe.h	\
176
	gtkassistant.h		\
177
	gtkbbox.h		\
Elliot Lee's avatar
Elliot Lee committed
178
	gtkbin.h		\
Tim Janik's avatar
Tim Janik committed
179
	gtkbindings.h		\
Elliot Lee's avatar
Elliot Lee committed
180
	gtkbox.h		\
Johan Dahlin's avatar
Johan Dahlin committed
181 182
	gtkbuilder.h		\
	gtkbuildable.h		\
Elliot Lee's avatar
Elliot Lee committed
183
	gtkbutton.h		\
184
	gtkcalendar.h		\
185
	gtkcelleditable.h	\
186
	gtkcelllayout.h		\
187
	gtkcellrenderer.h	\
188
	gtkcellrendereraccel.h	\
189
	gtkcellrenderercombo.h	\
190
	gtkcellrendererpixbuf.h	\
191
	gtkcellrendererprogress.h \
192
	gtkcellrendererspin.h   \
193
	gtkcellrendererspinner.h\
194 195
	gtkcellrenderertext.h	\
	gtkcellrenderertoggle.h	\
196
	gtkcellview.h		\
Elliot Lee's avatar
Elliot Lee committed
197 198
	gtkcheckbutton.h	\
	gtkcheckmenuitem.h	\
Owen Taylor's avatar
Owen Taylor committed
199
	gtkclipboard.h		\
200
	gtkcolorbutton.h	\
Elliot Lee's avatar
Elliot Lee committed
201
	gtkcolorsel.h		\
Owen Taylor's avatar
Owen Taylor committed
202
	gtkcolorseldialog.h	\
203 204
	gtkcombobox.h		\
	gtkcomboboxentry.h	\
Elliot Lee's avatar
Elliot Lee committed
205
	gtkcontainer.h		\
206
	gtkdebug.h              \
Elliot Lee's avatar
Elliot Lee committed
207
	gtkdialog.h		\
208
	gtkdnd.h		\
Elliot Lee's avatar
Elliot Lee committed
209
	gtkdrawingarea.h	\
210
	gtkeditable.h           \
Elliot Lee's avatar
Elliot Lee committed
211
	gtkentry.h		\
212
	gtkentrybuffer.h	\
213
	gtkentrycompletion.h	\
Elliot Lee's avatar
Elliot Lee committed
214 215
	gtkenums.h		\
	gtkeventbox.h		\
216
	gtkexpander.h		\
217
	gtkfilechooser.h        \
218
	gtkfilechooserbutton.h  \
219 220 221
	gtkfilechooserdialog.h  \
	gtkfilechooserwidget.h  \
	gtkfilefilter.h		\
Elliot Lee's avatar
Elliot Lee committed
222
	gtkfixed.h		\
223
	gtkfontbutton.h		\
224
	gtkfontsel.h		\
Elliot Lee's avatar
Elliot Lee committed
225 226
	gtkframe.h		\
	gtkgc.h			\
227
	gtkhandlebox.h		\
Elliot Lee's avatar
Elliot Lee committed
228 229 230 231 232 233 234
	gtkhbbox.h		\
	gtkhbox.h		\
	gtkhpaned.h		\
	gtkhruler.h		\
	gtkhscale.h		\
	gtkhscrollbar.h		\
	gtkhseparator.h		\
235
	gtkhsv.h		\
236
	gtkiconfactory.h	\
237
	gtkicontheme.h		\
238
	gtkiconview.h		\
Elliot Lee's avatar
Elliot Lee committed
239
	gtkimage.h		\
240
	gtkimagemenuitem.h	\
241
	gtkimcontext.h		\
242
	gtkimcontextsimple.h	\
Owen Taylor's avatar
Owen Taylor committed
243
	gtkimmodule.h		\
244
	gtkimmulticontext.h	\
Matthias Clasen's avatar
Matthias Clasen committed
245
	gtkinfobar.h		\
246
	gtkinvisible.h		\
Elliot Lee's avatar
Elliot Lee committed
247 248
	gtkitem.h		\
	gtklabel.h		\
249
	gtklayout.h             \
250
	gtklinkbutton.h		\
251
	gtkliststore.h		\
Elliot Lee's avatar
Elliot Lee committed
252 253 254 255 256
	gtkmain.h		\
	gtkmenu.h		\
	gtkmenubar.h		\
	gtkmenuitem.h		\
	gtkmenushell.h		\
257
	gtkmenutoolbutton.h	\
258
	gtkmessagedialog.h	\
Elliot Lee's avatar
Elliot Lee committed
259
	gtkmisc.h		\
260
	gtkmodules.h		\
261
	gtkmountoperation.h     \
Elliot Lee's avatar
Elliot Lee committed
262 263
	gtknotebook.h		\
	gtkobject.h		\
264
	gtkoffscreenwindow.h	\
265
	gtkorientable.h		\
266
	gtkpagesetup.h		\
Elliot Lee's avatar
Elliot Lee committed
267
	gtkpaned.h		\
268
	gtkpapersize.h		\
269
	gtkplug.h		\
270 271
	gtkprintcontext.h	\
	gtkprintoperation.h	\
272
	gtkprintoperationpreview.h	\
273
	gtkprintsettings.h	\
274
	gtkprivate.h		\
Elliot Lee's avatar
Elliot Lee committed
275
	gtkprogressbar.h	\
276
	gtkradioaction.h	\
Elliot Lee's avatar
Elliot Lee committed
277 278
	gtkradiobutton.h	\
	gtkradiomenuitem.h	\
279
	gtkradiotoolbutton.h	\
Elliot Lee's avatar
Elliot Lee committed
280 281
	gtkrange.h		\
	gtkrc.h			\
282
	gtkrecentaction.h	\
283 284 285 286 287 288
	gtkrecentchooser.h 	\
	gtkrecentchooserdialog.h \
	gtkrecentchoosermenu.h 	\
	gtkrecentchooserwidget.h \
	gtkrecentfilter.h 	\
	gtkrecentmanager.h 	\
Elliot Lee's avatar
Elliot Lee committed
289 290
	gtkruler.h		\
	gtkscale.h		\
291
	gtkscalebutton.h	\
Elliot Lee's avatar
Elliot Lee committed
292 293 294 295
	gtkscrollbar.h		\
	gtkscrolledwindow.h	\
	gtkselection.h		\
	gtkseparator.h		\
296 297
	gtkseparatormenuitem.h	\
	gtkseparatortoolitem.h	\
298
	gtkshow.h		\
299
	gtksettings.h		\
300
	gtksizegroup.h		\
301
	gtksizerequest.h	\
302
	gtksocket.h		\
303
	gtkspinbutton.h		\
304
	gtkspinner.h		\
Shawn Amundson's avatar
Shawn Amundson committed
305
	gtkstatusbar.h		\
306
	gtkstatusicon.h		\
307
	gtkstock.h		\
308
	gtkstyle.h		\
Elliot Lee's avatar
Elliot Lee committed
309
	gtktable.h		\
310
	gtktearoffmenuitem.h    \
Tim Janik's avatar
Tim Janik committed
311
	gtktestutils.h		\
312
	gtktextbuffer.h		\
313
	gtktextbufferrichtext.h	\
314
	gtktextchild.h		\
315
	gtktextdisplay.h	\
316 317 318 319 320
	gtktextiter.h		\
	gtktextmark.h		\
	gtktexttag.h		\
	gtktexttagtable.h	\
	gtktextview.h		\
321
	gtktoggleaction.h	\
Elliot Lee's avatar
Elliot Lee committed
322
	gtktogglebutton.h	\
323
	gtktoggletoolbutton.h	\
324
	gtktoolbar.h		\
325 326
	gtktoolbutton.h		\
	gtktoolitem.h		\
Matthias Clasen's avatar
Matthias Clasen committed
327 328
	gtktoolitemgroup.h	\
	gtktoolpalette.h	\
329
	gtktoolshell.h		\
Kristian Rietveld's avatar
Kristian Rietveld committed
330
	gtktooltip.h		\
Havoc Pennington's avatar
Havoc Pennington committed
331
	gtktreednd.h		\
332
	gtktreemodel.h		\
333
	gtktreemodelfilter.h	\
334
	gtktreemodelsort.h	\
335
	gtktreeselection.h	\
Havoc Pennington's avatar
Havoc Pennington committed
336
	gtktreesortable.h	\
337 338 339
	gtktreestore.h		\
	gtktreeview.h		\
	gtktreeviewcolumn.h	\
Elliot Lee's avatar
Elliot Lee committed
340
	gtktypeutils.h		\
341
	gtkuimanager.h		\
Elliot Lee's avatar
Elliot Lee committed
342 343 344
	gtkvbbox.h		\
	gtkvbox.h		\
	gtkviewport.h		\
345
	gtkvolumebutton.h	\
Elliot Lee's avatar
Elliot Lee committed
346 347 348 349 350 351
	gtkvpaned.h		\
	gtkvruler.h		\
	gtkvscale.h		\
	gtkvscrollbar.h		\
	gtkvseparator.h		\
	gtkwidget.h		\
352 353
	gtkwindow.h

354
if OS_UNIX
355 356
gtk_unix_print_public_h_sources =    \
	gtkpagesetupunixdialog.h	\
357
	gtkprintunixdialog.h		\
358
	gtkprinter.h			\
359 360
	gtkprintjob.h			\
	gtkunixprint.h
361
endif
362

363
# Installed header files without compatibility guarantees
364
# that are not included in gtk/gtk.h
365
gtk_semi_private_h_sources =    \
366
	gtktextlayout.h
367

368
# GTK+ header files that don't get installed
Soeren Sandmann's avatar
Soeren Sandmann committed
369
gtk_private_h_sources =		\
370 371 372
	gtkquery.h		\
	gtksearchengine.h	\
	gtksearchenginesimple.h	\
Matthias Clasen's avatar
Matthias Clasen committed
373
	gtkdndcursors.h		\
374
	gtkentryprivate.h	\
375
	gtkbuilderprivate.h 	\
376
	gtkcustompaperunixdialog.h\
377
	gtkfilechooserdefault.h	\
378
	gtkfilechooserembed.h	\
379 380
	gtkfilechooserentry.h	\
	gtkfilechooserprivate.h	\
381
	gtkfilechoosersettings.h \
382
	gtkfilechooserutils.h	\
383
	gtkfilesystem.h		\
384
	gtkfilesystemmodel.h	\
385
	gtkiconcache.h		\
386 387 388
	gtkintl.h		\
	gtkkeyhash.h		\
	gtkmnemonichash.h	\
Matthias Clasen's avatar
Matthias Clasen committed
389
	gtkmountoperationprivate.h \
390
	gtkpathbar.h		\
391
	gtkplugprivate.h	\
392
	gtkprintoperation-private.h\
Matthias Clasen's avatar
Matthias Clasen committed
393
	gtkprintutils.h		\
Soeren Sandmann's avatar
Soeren Sandmann committed
394
	gtkrbtree.h		\
395 396 397
	gtkrecentchooserdefault.h \
	gtkrecentchooserprivate.h \
	gtkrecentchooserutils.h \
398
	gtksocketprivate.h	\
399
	gtktextbtree.h		\
400
	gtktextbufferserialize.h\
Soeren Sandmann's avatar
Soeren Sandmann committed
401
	gtktextchildprivate.h	\
402 403
	gtktextiterprivate.h	\
	gtktextmarkprivate.h	\
404
	gtktextsegment.h	\
405
	gtktexttagprivate.h	\
406 407
	gtktexttypes.h		\
	gtktextutil.h		\
Owen Taylor's avatar
Owen Taylor committed
408
	gtkthemes.h		\
409
	gtktoggleactionprivate.h\
Matthias Clasen's avatar
Matthias Clasen committed
410
	gtktoolpaletteprivate.h	\
Owen Taylor's avatar
Owen Taylor committed
411
	gtktreedatalist.h	\
412
	gtktreeprivate.h	\
413 414
	gtkwindow-decorate.h	\
	$(gtk_clipboard_dnd_h_sources)
415

416
# GTK+ C sources to build the library from
417
gtk_base_c_sources =            \
418 419 420
	gtkquery.c		\
	gtksearchengine.c	\
	gtksearchenginesimple.c	\
Soeren Sandmann's avatar
Soeren Sandmann committed
421
	fnmatch.c		\
Matthias Clasen's avatar
Matthias Clasen committed
422
	gtkaboutdialog.c	\
423 424
	gtkaccelgroup.c		\
	gtkaccellabel.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
425 426
	gtkaccelmap.c		\
	gtkaccessible.c		\
427 428
	gtkaction.c		\
	gtkactiongroup.c	\
429
	gtkactivatable.c	\
430 431
	gtkadjustment.c		\
	gtkalignment.c		\
Matthias Clasen's avatar
Matthias Clasen committed
432
	gtkapplication.c \
433 434
	gtkarrow.c		\
	gtkaspectframe.c	\
435
	gtkassistant.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
436
	gtkbbox.c		\
437 438 439
	gtkbin.c		\
	gtkbindings.c		\
	gtkbox.c		\
Johan Dahlin's avatar
Johan Dahlin committed
440 441 442
	gtkbuildable.c		\
	gtkbuilder.c		\
	gtkbuilderparser.c	\
443 444
	gtkbutton.c		\
	gtkcalendar.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
445
	gtkcelleditable.c	\
446
	gtkcelllayout.c		\
447
	gtkcellrenderer.c	\
448
	gtkcellrendereraccel.c	\
449
	gtkcellrenderercombo.c	\
Soeren Sandmann's avatar
Soeren Sandmann committed
450
	gtkcellrendererpixbuf.c	\
451
	gtkcellrendererprogress.c \
452
	gtkcellrendererspin.c   \
453
	gtkcellrendererspinner.c\
454 455
	gtkcellrenderertext.c	\
	gtkcellrenderertoggle.c	\
456
	gtkcellview.c		\
457 458
	gtkcheckbutton.c	\
	gtkcheckmenuitem.c	\
459
	gtkcolorbutton.c	\
460
	gtkcolorsel.c		\
Owen Taylor's avatar
Owen Taylor committed
461
	gtkcolorseldialog.c	\
462 463
	gtkcombobox.c		\
	gtkcomboboxentry.c	\
464 465 466 467 468
	gtkcontainer.c		\
	gtkdialog.c		\
	gtkdrawingarea.c	\
	gtkeditable.c           \
	gtkentry.c		\
469
	gtkentrybuffer.c	\
470
	gtkentrycompletion.c	\
471
	gtkeventbox.c		\
472
	gtkexpander.c		\
473
	gtkfilechooser.c	\
474
	gtkfilechooserbutton.c	\
475
	gtkfilechooserdefault.c	\
476
	gtkfilechooserdialog.c	\
477
	gtkfilechooserembed.c	\
478
	gtkfilechooserentry.c	\
479
	gtkfilechoosersettings.c \
480 481 482 483 484
	gtkfilechooserutils.c	\
	gtkfilechooserwidget.c	\
	gtkfilefilter.c		\
	gtkfilesystem.c		\
	gtkfilesystemmodel.c	\
485
	gtkfixed.c		\
486
	gtkfontbutton.c         \
487 488 489 490 491 492 493 494 495 496 497
	gtkfontsel.c            \
	gtkframe.c		\
	gtkgc.c			\
	gtkhandlebox.c		\
	gtkhbbox.c		\
	gtkhbox.c		\
	gtkhpaned.c		\
	gtkhruler.c		\
	gtkhscale.c		\
	gtkhscrollbar.c		\
	gtkhseparator.c		\
Owen Taylor's avatar
Owen Taylor committed
498
	gtkhsv.c		\
499
	gtkiconcache.c		\
Matthias Clasen's avatar
Matthias Clasen committed
500
	gtkiconcachevalidator.c	\
501
	gtkiconfactory.c	\
502
	gtkicontheme.c		\
503
	gtkiconview.c		\
504
	gtkimage.c		\
505
	gtkimagemenuitem.c	\
506 507
	gtkimcontext.c		\
	gtkimcontextsimple.c	\
Owen Taylor's avatar
Owen Taylor committed
508
	gtkimmodule.c		\
509
	gtkimmulticontext.c	\
Matthias Clasen's avatar
Matthias Clasen committed
510
	gtkinfobar.c		\
511 512
	gtkinvisible.c		\
	gtkitem.c		\
513
	gtkkeyhash.c		\
514 515
	gtklabel.c		\
	gtklayout.c		\
516
	gtklinkbutton.c		\
517
	gtkliststore.c		\
518
	gtkmain.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
519
	gtkmarshalers.c		\
520 521 522 523
	gtkmenu.c		\
	gtkmenubar.c		\
	gtkmenuitem.c		\
	gtkmenushell.c		\
524
	gtkmenutoolbutton.c	\
525
	gtkmessagedialog.c	\
526
	gtkmisc.c		\
527
	gtkmnemonichash.c	\
528
	gtkmodules.c		\
529
	gtkmountoperation.c     \
530 531
	gtknotebook.c		\
	gtkobject.c		\
532
	gtkoffscreenwindow.c	\
533
	gtkorientable.c		\
534
	gtkpagesetup.c		\
535
	gtkpaned.c		\
536
	gtkpapersize.c		\
537
	gtkpathbar.c		\
538
	gtkplug.c		\
539 540
	gtkprintcontext.c	\
	gtkprintoperation.c	\
541
	gtkprintoperationpreview.c	\
542
	gtkprintsettings.c	\
Matthias Clasen's avatar
Matthias Clasen committed
543
	gtkprintutils.c		\
544
	gtkprogressbar.c	\
545
	gtkradioaction.c	\
546 547
	gtkradiobutton.c	\
	gtkradiomenuitem.c	\
Soeren Sandmann's avatar
Soeren Sandmann committed
548
	gtkradiotoolbutton.c	\
549
	gtkrange.c		\
550
	gtkrbtree.c 		\
551
	gtkrc.c			\
552
	gtkrecentaction.c	\
553 554 555 556 557 558 559 560
	gtkrecentchooserdefault.c \
	gtkrecentchooserdialog.c \
	gtkrecentchoosermenu.c 	\
	gtkrecentchooserwidget.c \
	gtkrecentchooserutils.c \
	gtkrecentchooser.c 	\
	gtkrecentfilter.c 	\
	gtkrecentmanager.c 	\
561 562
	gtkruler.c		\
	gtkscale.c		\
563
	gtkscalebutton.c	\
564 565 566 567
	gtkscrollbar.c		\
	gtkscrolledwindow.c	\
	gtkselection.c		\
	gtkseparator.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
568 569
	gtkseparatormenuitem.c	\
	gtkseparatortoolitem.c	\
570
	gtksettings.c		\
571
	gtksizegroup.c		\
572
	gtksizerequest.c	\
Jaap A. Haitsma's avatar
Jaap A. Haitsma committed
573
	gtkshow.c		\
574
	gtksocket.c		\
575
	gtkspinbutton.c		\
576
	gtkspinner.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
577
	gtkstatusbar.c		\
578
	gtkstatusicon.c		\
579
	gtkstock.c		\
580 581 582
	gtkstyle.c		\
	gtktable.c		\
	gtktearoffmenuitem.c    \
Tim Janik's avatar
Tim Janik committed
583
	gtktestutils.c		\
584 585
	gtktextbtree.c		\
	gtktextbuffer.c		\
586 587
	gtktextbufferrichtext.c	\
	gtktextbufferserialize.c\
588 589 590 591 592 593 594 595 596
	gtktextchild.c		\
	gtktextdisplay.c	\
	gtktextiter.c		\
	gtktextlayout.c		\
	gtktextmark.c		\
	gtktextsegment.c	\
	gtktexttag.c		\
	gtktexttagtable.c	\
	gtktexttypes.c		\
597
	gtktextutil.c		\
598
	gtktextview.c		\
599
	gtkthemes.c		\
600
	gtktoggleaction.c	\
601
	gtktogglebutton.c	\
Soeren Sandmann's avatar
Soeren Sandmann committed
602 603 604 605
	gtktoggletoolbutton.c	\
	gtktoolbar.c		\
	gtktoolbutton.c		\
	gtktoolitem.c		\
Johannes Schmid's avatar
Johannes Schmid committed
606 607
	gtktoolitemgroup.c		\
	gtktoolpalette.c	\
608
	gtktoolshell.c		\
Kristian Rietveld's avatar
Kristian Rietveld committed
609
	gtktooltip.c		\
610
	gtktreedatalist.c	\
Havoc Pennington's avatar
Havoc Pennington committed
611
	gtktreednd.c		\
612
	gtktreemodel.c		\
613
	gtktreemodelfilter.c	\
614
	gtktreemodelsort.c	\
615
	gtktreeselection.c	\
616
	gtktreesortable.c	\
617 618 619
	gtktreestore.c		\
	gtktreeview.c		\
	gtktreeviewcolumn.c	\
620
	gtktypebuiltins.c	\
621
	gtktypeutils.c		\
622
	gtkuimanager.c		\
623 624
	gtkvbbox.c		\
	gtkvbox.c		\
625
	gtkvolumebutton.c	\
626 627 628 629 630 631 632
	gtkviewport.c		\
	gtkvpaned.c		\
	gtkvruler.c		\
	gtkvscale.c		\
	gtkvscrollbar.c		\
	gtkvseparator.c		\
	gtkwidget.c		\
633
	gtkwindow-decorate.c    \
Soeren Sandmann's avatar
Soeren Sandmann committed
634
	gtkwindow.c		\
Anders Carlsson's avatar
Anders Carlsson committed
635
	$(gtk_clipboard_dnd_c_sources)
636

637 638
gtk_c_sources = $(gtk_base_c_sources)
gtk_all_c_sources = $(gtk_base_c_sources)
639

640
gtk_os_unix_c_sources = \
641
	gtkcustompaperunixdialog.c	\
642 643 644 645 646 647 648 649
	gtkpagesetupunixdialog.c	\
	gtkprinter.c			\
	gtkprinteroption.c		\
	gtkprinteroptionset.c		\
	gtkprinteroptionwidget.c	\
	gtkprintjob.c			\
	gtkprintoperation-unix.c	\
	gtkprintunixdialog.c		\
650 651 652
        gtkprintbackend.c		\
	gtksearchenginebeagle.c		\
	gtksearchenginetracker.c
653 654 655
gtk_all_c_sources += $(gtk_os_unix_c_sources)
if OS_UNIX
gtk_private_h_sources += \
Matthias Clasen's avatar
Matthias Clasen committed
656
	gtkiconcachevalidator.h		\
657 658 659 660
	gtkprintbackend.h		\
	gtkprinter-private.h		\
	gtkprinteroption.h		\
	gtkprinteroptionset.h		\
661 662 663
	gtkprinteroptionwidget.h	\
	gtksearchenginebeagle.h		\
	gtksearchenginetracker.h
664
gtk_c_sources += $(gtk_os_unix_c_sources)
665 666
endif

667
gtk_os_win32_c_sources = \
668 669
	gtkprint-win32.c		\
	gtkprintoperation-win32.c
670 671
gtk_all_c_sources += $(gtk_os_win32_c_sources)
if OS_WIN32
672
gtk_private_h_sources += gtkprint-win32.h
673
gtk_c_sources += $(gtk_os_win32_c_sources)
674 675
endif

676
gtk_use_x11_c_sources = \
677 678 679
	gtkplug-x11.c   \
	gtksocket-x11.c \
	gtkxembed.c     \
680 681
	gtktrayicon-x11.c \
	gtkmountoperation-x11.c
682 683 684 685
gtk_use_win32_c_sources = \
	gtkplug-win32.c   \
	gtksocket-win32.c \
	gtkwin32embed.c   \
686 687
	gtkwin32embedwidget.c \
	gtkmountoperation-stub.c
688 689 690
gtk_use_quartz_c_sources =	\
	gtksearchenginequartz.c	\
	gtkplug-stub.c		\
691 692
	gtksocket-stub.c	\
	gtkmountoperation-stub.c
Michael David Emmel's avatar
Michael David Emmel committed
693
gtk_use_stub_c_sources = \
694
	gtkplug-stub.c   \
695 696
	gtksocket-stub.c \
	gtkmountoperation-stub.c
697
gtk_all_c_sources += $(gtk_use_x11_c_sources) $(gtk_use_win32_c_sources) $(gtk_use_quartz_c_sources) $(gtk_use_stub_c_sources)
698 699 700
if USE_X11
gtk_private_h_sources += gtkxembed.h gtktrayicon.h xembed.h
gtk_c_sources += $(gtk_use_x11_c_sources)
701 702
else
if USE_WIN32
703
gtk_private_h_sources += gtkwin32embed.h gtkwin32embedwidget.h
704
gtk_c_sources += $(gtk_use_win32_c_sources)
705
else
706 707 708 709 710
if USE_QUARTZ
gtk_private_h_sources += gtksearchenginequartz.h
gtk_c_sources += $(gtk_use_quartz_c_sources)
gtk_use_quartz_c_sources_CFLAGS = "-xobjective-c"
else
711
gtk_c_sources += $(gtk_use_stub_c_sources)
712 713
endif
endif
714
endif
715

Anders Carlsson's avatar
Anders Carlsson committed
716
if USE_QUARTZ
717 718
gtk_clipboard_dnd_c_sources = gtkclipboard-quartz.c gtkdnd-quartz.c gtkquartz.c
gtk_clipboard_dnd_h_sources = gtkquartz.h
Anders Carlsson's avatar
Anders Carlsson committed
719 720 721
gtk_clipboard_dnd_c_sources_CFLAGS = "-xobjective-c"
else
gtk_clipboard_dnd_c_sources = gtkclipboard.c gtkdnd.c
722
gtk_clipboard_dnd_c_sources_CFLAGS =
Anders Carlsson's avatar
Anders Carlsson committed
723
endif