Makefile.am 37.9 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
INTROSPECTION_GIRS =
INTROSPECTION_SCANNER_ARGS = \
	--add-include-path=../gdk
INTROSPECTION_COMPILER_ARGS = \
	--includedir=$(srcdir) \
    --includedir=. \
    --includedir=../gdk
Elliot Lee's avatar
Elliot Lee committed
11

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

Matthias Clasen's avatar
Matthias Clasen committed
18
SUBDIRS = theme-bits . tests
Emmanuele Bassi's avatar
Emmanuele Bassi committed
19
DIST_SUBDIRS = theme-bits 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
INCLUDES =						\
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				\
Manish Singh's avatar
Manish Singh committed
51
	-DGDK_DISABLE_DEPRECATED			\
52
	-DGTK_DISABLE_DEPRECATED			\
53
	-DGTK_FILE_SYSTEM_ENABLE_UNSUPPORTED		\
54
	-DGTK_PRINT_BACKEND_ENABLE_UNSUPPORTED		\
55
	$(GTK_DEBUG_FLAGS)				\
56
	$(GTK_DEP_CFLAGS)				\
57
58
	$(gtk_clipboard_dnd_c_sources_CFLAGS)		\
	$(INCLUDED_IMMODULE_DEFINE)
59

60
gtarget=$(gdktarget)
Elliot Lee's avatar
Elliot Lee committed
61

Tor Lillqvist's avatar
Tor Lillqvist committed
62
63
64
65
66
67
if PLATFORM_WIN32
no_undefined = -no-undefined
endif

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

Tor Lillqvist's avatar
Tor Lillqvist committed
70
gtk_win32_res = gtk-win32-res.o
71
gtk_win32_res_ldflag = -Wl,gtk-win32-res.o
Tor Lillqvist's avatar
Tor Lillqvist committed
72

Tor Lillqvist's avatar
Tor Lillqvist committed
73
74
gtk-win32-res.o : gtk-win32.rc
	$(WINDRES) gtk-win32.rc $@
Tor Lillqvist's avatar
Tor Lillqvist committed
75

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

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

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

install-ms-lib:
Owen Taylor's avatar
Owen Taylor committed
92
	$(INSTALL) gtk-win32-$(GTK_API_VERSION).lib $(DESTDIR)$(libdir)
Tor Lillqvist's avatar
Tor Lillqvist committed
93
94

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

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

106
TESTS_ENVIRONMENT = srcdir="$(srcdir)" gtk_all_c_sources="$(gtk_all_c_sources)"
Matthias Clasen's avatar
Matthias Clasen committed
107
if OS_LINUX
108
TESTS = abicheck.sh
109
110
endif

111
libgtkincludedir = $(includedir)/gtk-3.0/gtk
Matthias Clasen's avatar
Matthias Clasen committed
112
113
libadd = \
	$(top_builddir)/gdk/libgdk-3.0.la	\
114
	$(GTK_DEP_LIBS)
115
deps =
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)

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

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

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

366
if ENABLE_PACKAGEKIT
367
gtk_appchooser_impl_h_sources = \
368
	gtkappchooseronlinepk.h
369
370
371
endif

if ENABLE_PACKAGEKIT
372
gtk_appchooser_impl_c_sources = \
373
	gtkappchooseronlinepk.c
374
375
endif

376
# GTK+ header files that don't get installed
Soeren Sandmann's avatar
Soeren Sandmann committed
377
gtk_private_h_sources =		\
378
	gtk9slice.h		\
379
	gtkaccelgroupprivate.h	\
380
381
382
383
384
	gtkanimationdescription.h \
	gtkappchooserprivate.h	\
	gtkappchoosermodule.h	\
	gtkappchooseronline.h	\
	gtkbuilderprivate.h	\
385
	gtkbuttonprivate.h	\
386
	gtkcustompaperunixdialog.h \
Matthias Clasen's avatar
Matthias Clasen committed
387
	gtkdndcursors.h		\
388
	gtkentryprivate.h	\
389
	gtkfilechooserdefault.h	\
390
	gtkfilechooserembed.h	\
391
392
393
	gtkfilechooserentry.h	\
	gtkfilechooserprivate.h	\
	gtkfilechooserutils.h	\
394
	gtkfilesystem.h		\
395
	gtkfilesystemmodel.h	\
396
	gtkiconcache.h		\
397
	gtkimcontextsimpleseqs.h \
398
399
	gtkintl.h		\
	gtkkeyhash.h		\
400
	gtkmenuprivate.h	\
401
	gtkmenuitemprivate.h	\
402
	gtkmenushellprivate.h	\
403
	gtkmnemonichash.h	\
404
	gtkmodifierstyle.h	\
Matthias Clasen's avatar
Matthias Clasen committed
405
	gtkmountoperationprivate.h \
406
	gtkpango.h		\
407
	gtkpathbar.h		\
408
	gtkplugprivate.h	\
409
	gtkprintoperation-private.h \
Matthias Clasen's avatar
Matthias Clasen committed
410
	gtkprintutils.h		\
411
	gtkprivate.h		\
412
	gtkquery.h		\
Soeren Sandmann's avatar
Soeren Sandmann committed
413
	gtkrbtree.h		\
414
415
	gtkrecentchooserdefault.h \
	gtkrecentchooserprivate.h \
416
417
418
	gtkrecentchooserutils.h	\
	gtksearchengine.h	\
	gtksearchenginesimple.h	\
419
	gtkselectionprivate.h	\
420
	gtksettingsprivate.h	\
421
	gtksizegroup-private.h	\
422
	gtksocketprivate.h	\
423
	gtktextbtree.h		\
424
	gtktextbufferserialize.h \
Soeren Sandmann's avatar
Soeren Sandmann committed
425
	gtktextchildprivate.h	\
426
427
	gtktextiterprivate.h	\
	gtktextmarkprivate.h	\
428
	gtktextsegment.h	\
429
	gtktexttagprivate.h	\
430
431
	gtktexttypes.h		\
	gtktextutil.h		\
432
	gtktimeline.h		\
Matthias Clasen's avatar
Matthias Clasen committed
433
	gtktoolpaletteprivate.h	\
Owen Taylor's avatar
Owen Taylor committed
434
	gtktreedatalist.h	\
435
	gtktreeprivate.h	\
Emmanuele Bassi's avatar
Emmanuele Bassi committed
436
	gtkwidgetprivate.h	\
Matthias Clasen's avatar
Matthias Clasen committed
437
	gtkwindowprivate.h	\
438
	$(gtk_clipboard_dnd_h_sources) \
439
	$(gtk_appchooser_impl_h_sources)
440

441
# GTK+ C sources to build the library from
442
gtk_base_c_sources = 		\
Carlos Garnacho's avatar
Carlos Garnacho committed
443
	gtk9slice.c		\
444
445
446
	gtkquery.c		\
	gtksearchengine.c	\
	gtksearchenginesimple.c	\
Soeren Sandmann's avatar
Soeren Sandmann committed
447
	fnmatch.c		\
Matthias Clasen's avatar
Matthias Clasen committed
448
	gtkaboutdialog.c	\
449
450
	gtkaccelgroup.c		\
	gtkaccellabel.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
451
452
	gtkaccelmap.c		\
	gtkaccessible.c		\
453
454
	gtkaction.c		\
	gtkactiongroup.c	\
455
	gtkactivatable.c	\
456
457
	gtkadjustment.c		\
	gtkalignment.c		\
458
459
	gtkappchooser.c		\
	gtkappchooserwidget.c	\
460
	gtkappchooserbutton.c	\
461
462
463
	gtkappchooserdialog.c	\
	gtkappchoosermodule.c	\
	gtkappchooseronline.c	\
464
	gtkapplication.c	\
465
	gtkanimationdescription.c \
466
467
	gtkarrow.c		\
	gtkaspectframe.c	\
468
	gtkassistant.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
469
	gtkbbox.c		\
470
471
	gtkbin.c		\
	gtkbindings.c		\
Matthias Clasen's avatar
Matthias Clasen committed
472
	gtkborder.c		\
473
	gtkbox.c		\
Johan Dahlin's avatar
Johan Dahlin committed
474
475
476
	gtkbuildable.c		\
	gtkbuilder.c		\
	gtkbuilderparser.c	\
477
478
	gtkbutton.c		\
	gtkcalendar.c		\
479
	gtkcellarea.c		\
480
	gtkcellareabox.c	\
481
482
	gtkcellareaboxcontext.c	\
	gtkcellareacontext.c	\
Soeren Sandmann's avatar
Soeren Sandmann committed
483
	gtkcelleditable.c	\
484
	gtkcelllayout.c		\
485
	gtkcellrenderer.c	\
486
	gtkcellrendereraccel.c	\
487
	gtkcellrenderercombo.c	\
Soeren Sandmann's avatar
Soeren Sandmann committed
488
	gtkcellrendererpixbuf.c	\
489
	gtkcellrendererprogress.c \
490
491
	gtkcellrendererspin.c	\
	gtkcellrendererspinner.c \
492
493
	gtkcellrenderertext.c	\
	gtkcellrenderertoggle.c	\
494
	gtkcellview.c		\
495
496
	gtkcheckbutton.c	\
	gtkcheckmenuitem.c	\
497
	gtkcolorbutton.c	\
498
	gtkcolorsel.c		\
Owen Taylor's avatar
Owen Taylor committed
499
	gtkcolorseldialog.c	\
500
	gtkcombobox.c		\
501
	gtkcomboboxtext.c	\
502
	gtkcontainer.c		\
Carlos Garnacho's avatar
Carlos Garnacho committed
503
	gtkcssprovider.c	\
504
505
	gtkdialog.c		\
	gtkdrawingarea.c	\
Matthias Clasen's avatar
Matthias Clasen committed
506
	gtkeditable.c		\
507
	gtkentry.c		\
508
	gtkentrybuffer.c	\
509
	gtkentrycompletion.c	\
510
	gtkeventbox.c		\
511
	gtkexpander.c		\
512
	gtkfilechooser.c	\
513
	gtkfilechooserbutton.c	\
514
	gtkfilechooserdefault.c	\
515
	gtkfilechooserdialog.c	\
516
	gtkfilechooserembed.c	\
517
518
519
520
521
522
	gtkfilechooserentry.c	\
	gtkfilechooserutils.c	\
	gtkfilechooserwidget.c	\
	gtkfilefilter.c		\
	gtkfilesystem.c		\
	gtkfilesystemmodel.c	\
523
	gtkfixed.c		\
Matthias Clasen's avatar
Matthias Clasen committed
524
525
	gtkfontbutton.c		\
	gtkfontsel.c		\
526
	gtkframe.c		\
Matthias Clasen's avatar
Matthias Clasen committed
527
	gtkgradient.c		\
Matthias Clasen's avatar
Matthias Clasen committed
528
	gtkgrid.c		\
529
530
531
532
533
534
535
	gtkhandlebox.c		\
	gtkhbbox.c		\
	gtkhbox.c		\
	gtkhpaned.c		\
	gtkhscale.c		\
	gtkhscrollbar.c		\
	gtkhseparator.c		\
Owen Taylor's avatar
Owen Taylor committed
536
	gtkhsv.c		\
537
	gtkiconcache.c		\
Matthias Clasen's avatar
Matthias Clasen committed
538
	gtkiconcachevalidator.c	\
539
	gtkiconfactory.c	\
540
	gtkicontheme.c		\
541
	gtkiconview.c		\
542
	gtkimage.c		\
543
	gtkimagemenuitem.c	\
544
545
	gtkimcontext.c		\
	gtkimcontextsimple.c	\
Owen Taylor's avatar
Owen Taylor committed
546
	gtkimmodule.c		\
547
	gtkimmulticontext.c	\
Matthias Clasen's avatar
Matthias Clasen committed
548
	gtkinfobar.c		\
549
	gtkinvisible.c		\
550
	gtkkeyhash.c		\
551
552
	gtklabel.c		\
	gtklayout.c		\
553
	gtklinkbutton.c		\
554
	gtkliststore.c		\
555
	gtkmain.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
556
	gtkmarshalers.c		\
557
558
559
560
	gtkmenu.c		\
	gtkmenubar.c		\
	gtkmenuitem.c		\
	gtkmenushell.c		\
561
	gtkmenutoolbutton.c	\
562
	gtkmessagedialog.c	\
563
	gtkmisc.c		\
564
	gtkmnemonichash.c	\
565
	gtkmodifierstyle.c	\
566
	gtkmodules.c		\
Matthias Clasen's avatar
Matthias Clasen committed
567
	gtkmountoperation.c	\
568
	gtknotebook.c		\
569
	gtkoffscreenwindow.c	\
570
	gtkorientable.c		\
571
	gtkpagesetup.c		\
572
	gtkpaned.c		\
573
	gtkpango.c		\
574
	gtkpapersize.c		\
575
	gtkpathbar.c		\
576
	gtkplug.c		\
577
578
	gtkprintcontext.c	\
	gtkprintoperation.c	\
Matthias Clasen's avatar
Matthias Clasen committed
579
	gtkprintoperationpreview.c \
580
	gtkprintsettings.c	\
Matthias Clasen's avatar
Matthias Clasen committed
581
	gtkprintutils.c		\
582
	gtkprogressbar.c	\
583
	gtkradioaction.c	\
584
585
	gtkradiobutton.c	\
	gtkradiomenuitem.c	\
Soeren Sandmann's avatar
Soeren Sandmann committed
586
	gtkradiotoolbutton.c	\
587
	gtkrange.c		\
Matthias Clasen's avatar
Matthias Clasen committed
588
	gtkrbtree.c		\
589
	gtkrc.c			\
590
	gtkrecentaction.c	\
591
	gtkrecentchooserdefault.c \
592
	gtkrecentchooserdialog.c \
Matthias Clasen's avatar
Matthias Clasen committed
593
	gtkrecentchoosermenu.c	\
594
595
596
597
598
	gtkrecentchooserwidget.c \
	gtkrecentchooserutils.c	\
	gtkrecentchooser.c	\
	gtkrecentfilter.c	\
	gtkrecentmanager.c	\
599
	gtkscale.c		\
600
	gtkscalebutton.c	\
Matthias Clasen's avatar
Matthias Clasen committed
601
	gtkscrollable.c		\
602
603
604
605
	gtkscrollbar.c		\
	gtkscrolledwindow.c	\
	gtkselection.c		\
	gtkseparator.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
606
607
	gtkseparatormenuitem.c	\
	gtkseparatortoolitem.c	\
608
	gtksettings.c		\
609
	gtksizegroup.c		\
610
	gtksizerequest.c	\
Jaap A. Haitsma's avatar
Jaap A. Haitsma committed
611
	gtkshow.c		\
612
	gtksocket.c		\
613
	gtkspinbutton.c		\
614
	gtkspinner.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
615
	gtkstatusbar.c		\
616
	gtkstatusicon.c		\
617
	gtkstock.c		\
Carlos Garnacho's avatar
Carlos Garnacho committed
618
	gtkstylecontext.c	\
619
	gtkstyleproperties.c	\
620
	gtkstyleprovider.c	\
621
	gtkstyle.c		\
622
	gtkswitch.c		\
Carlos Garnacho's avatar
Carlos Garnacho committed
623
	gtksymboliccolor.c	\
624
	gtktable.c		\
Matthias Clasen's avatar
Matthias Clasen committed
625
	gtktearoffmenuitem.c	\
Tim Janik's avatar
Tim Janik committed
626
	gtktestutils.c		\
627
628
	gtktextbtree.c		\
	gtktextbuffer.c		\
629
	gtktextbufferrichtext.c	\
630
	gtktextbufferserialize.c \
631
632
633
634
635
636
637
638
639
	gtktextchild.c		\
	gtktextdisplay.c	\
	gtktextiter.c		\
	gtktextlayout.c		\
	gtktextmark.c		\
	gtktextsegment.c	\
	gtktexttag.c		\
	gtktexttagtable.c	\
	gtktexttypes.c		\
640
	gtktextutil.c		\
641
	gtktextview.c		\
Carlos Garnacho's avatar
Carlos Garnacho committed
642
	gtkthemingengine.c	\
643
	gtktimeline.c		\
644
	gtktoggleaction.c	\
645
	gtktogglebutton.c	\
Soeren Sandmann's avatar
Soeren Sandmann committed
646
647
648
649
	gtktoggletoolbutton.c	\
	gtktoolbar.c		\
	gtktoolbutton.c		\
	gtktoolitem.c		\
Matthias Clasen's avatar
Matthias Clasen committed
650
	gtktoolitemgroup.c	\
Johannes Schmid's avatar
Johannes Schmid committed
651
	gtktoolpalette.c	\
652
	gtktoolshell.c		\
Kristian Rietveld's avatar
Kristian Rietveld committed
653
	gtktooltip.c		\
654
	gtktreedatalist.c	\
Havoc Pennington's avatar
Havoc Pennington committed
655
	gtktreednd.c		\
656
	gtktreemodel.c		\
657
	gtktreemodelfilter.c	\
658
	gtktreemodelsort.c	\
659
	gtktreeselection.c	\
660
	gtktreesortable.c	\
661
662
663
	gtktreestore.c		\
	gtktreeview.c		\
	gtktreeviewcolumn.c	\
664
	gtktypebuiltins.c	\
665
	gtktypeutils.c		\
666
	gtkuimanager.c		\
667
668
	gtkvbbox.c		\
	gtkvbox.c		\
669
	gtkvolumebutton.c	\
670
671
672
673
674
675
	gtkviewport.c		\
	gtkvpaned.c		\
	gtkvscale.c		\
	gtkvscrollbar.c		\
	gtkvseparator.c		\
	gtkwidget.c		\
Carlos Garnacho's avatar
Carlos Garnacho committed
676
	gtkwidgetpath.c		\
Soeren Sandmann's avatar
Soeren Sandmann committed
677
	gtkwindow.c		\
678
	$(gtk_clipboard_dnd_c_sources) \
679
	$(gtk_appchooser_impl_c_sources)
680

681
682
gtk_c_sources = $(gtk_base_c_sources)
gtk_all_c_sources = $(gtk_base_c_sources)
683

684
gtk_os_unix_c_sources = 		\
685
	gtkcustompaperunixdialog.c	\
686
687
688
689
690
691
692
693
	gtkpagesetupunixdialog.c	\
	gtkprinter.c			\
	gtkprinteroption.c		\
	gtkprinteroptionset.c		\
	gtkprinteroptionwidget.c	\
	gtkprintjob.c			\
	gtkprintoperation-unix.c	\
	gtkprintunixdialog.c		\
694
695
696
        gtkprintbackend.c		\
	gtksearchenginebeagle.c		\
	gtksearchenginetracker.c
697
698
699
gtk_all_c_sources += $(gtk_os_unix_c_sources)
if OS_UNIX
gtk_private_h_sources += \
Matthias Clasen's avatar
Matthias Clasen committed
700
	gtkiconcachevalidator.h		\
701
702
703
704
	gtkprintbackend.h		\
	gtkprinter-private.h		\
	gtkprinteroption.h		\
	gtkprinteroptionset.h		\
705
706
707
	gtkprinteroptionwidget.h	\
	gtksearchenginebeagle.h		\
	gtksearchenginetracker.h
708
gtk_c_sources += $(gtk_os_unix_c_sources)
709
710
endif

711
gtk_os_win32_c_sources = \
712
713
	gtkprint-win32.c		\
	gtkprintoperation-win32.c
714
715
gtk_all_c_sources += $(gtk_os_win32_c_sources)
if OS_WIN32
716
gtk_private_h_sources += gtkprint-win32.h
717
gtk_c_sources += $(gtk_os_win32_c_sources)
718
719
endif

720
721
722
723
724
gtk_use_x11_c_sources = 	\
	gtkplug-x11.c		\
	gtksocket-x11.c		\
	gtkxembed.c		\
	gtktrayicon-x11.c	\
725
	gtkmountoperation-x11.c
726
727
728
729
730
gtk_use_win32_c_sources = 	\
	gtkplug-win32.c		\
	gtksocket-win32.c	\
	gtkwin32embed.c		\
	gtkwin32embedwidget.c	\
731
	gtkmountoperation-stub.c
732
gtk_use_quartz_c_sources = 	\
733
734
	gtksearchenginequartz.c	\
	gtkplug-stub.c		\
735
736
	gtksocket-stub.c	\
	gtkmountoperation-stub.c
737
738
739
gtk_use_stub_c_sources = 	\
	gtkplug-stub.c		\
	gtksocket-stub.c	\
740
	gtkmountoperation-stub.c
741
gtk_all_c_sources += $(gtk_use_x11_c_sources) $(gtk_use_win32_c_sources) $(gtk_use_quartz_c_sources) $(gtk_use_stub_c_sources)
742
if USE_X11
743
744
745
746
gtk_private_h_sources += 	\
	gtkxembed.h		\
	gtktrayicon.h		\
	xembed.h
747
gtk_c_sources += $(gtk_use_x11_c_sources)
748
749
else
if USE_WIN32
750
751
752
gtk_private_h_sources += 	\
	gtkwin32embed.h		\
	gtkwin32embedwidget.h
753
gtk_c_sources += $(gtk_use_win32_c_sources)
754
else
755
if USE_QUARTZ
756
757
gtk_private_h_sources += 	\
	gtksearchenginequartz.h
758
759
760
gtk_c_sources += $(gtk_use_quartz_c_sources)
gtk_use_quartz_c_sources_CFLAGS = "-xobjective-c"
else
761
gtk_c_sources += $(gtk_use_stub_c_sources)
762
763
endif
endif
764
endif
765

Anders Carlsson's avatar
Anders Carlsson committed
766
if USE_QUARTZ
767
768
769
770
gtk_clipboard_dnd_c_sources = 	\
	gtkclipboard-quartz.c	\
	gtkdnd-quartz.c		\
	gtkquartz.c
771
gtk_clipboard_dnd_h_sources = gtkquartz.h
Anders Carlsson's avatar