Makefile.am 9.21 KB
Newer Older
Owen Taylor's avatar
Owen Taylor committed
1
2
## Process this file with automake to produce Makefile.in

3
4
AUTOMAKE_OPTIONS = 1.6

Owen Taylor's avatar
Owen Taylor committed
5
6
7
8
9
10
# The name of the module.
DOC_MODULE=gtk

# The top-level SGML file.
DOC_MAIN_SGML_FILE=gtk-docs.sgml

11
12
13
# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED" 

14
15
# Extra options to pass to gtkdoc-scangobj
SCANGOBJ_OPTIONS=--type-init-func="gtk_type_init(0)" 
16

17
18
# The directory containing the source code. Relative to $(srcdir)
DOC_SOURCE_DIR=../../../gtk
19

20
21
22
23
# Used for dependencies
HFILE_GLOB=$(top_srcdir)/gtk/*.h
CFILE_GLOB=$(top_srcdir)/gtk/*.c

24
# Header files to ignore when scanning
25
IGNORE_HFILES=				\
Matthias Clasen's avatar
Matthias Clasen committed
26
	gtkalias.h			\
27
28
29
	fnmatch.h			\
	gdk-pixbuf-loader.h		\
	gtkdebug.h			\
Matthias Clasen's avatar
Matthias Clasen committed
30
	gtkentryprivate.h		\
31
	gtkfilechooserdefault.h		\
Owen Taylor's avatar
Owen Taylor committed
32
	gtkfilechooserembed.h		\
33
	gtkfilechooserentry.h		\
Matthias Clasen's avatar
Matthias Clasen committed
34
	gtkfilechooserprivate.h		\
35
36
37
38
	gtkfilechooserutils.h		\
	gtkfilesystem.h			\
	gtkfilesystemmodel.h		\
	gtkfilesystemunix.h		\
39
	gtkfilesystemwin32.h		\
40
41
42
43
44
45
	gtkhsv.h			\
	gtkiconthemeparser.h		\
	gtkimmodule.h			\
	gtkintl.h			\
	gtkkeyhash.h			\
	gtkmarshal.h			\
46
	gtkpathbar.h			\
47
48
49
	gtkprivate.h			\
	gtkrbtree.h			\
	gtktreedatalist.h		\
50
	gtktreeprivate.h		\
51
52
53
54
55
56
57
58
59
60
61
	gtktextbtree.h			\
	gtktextdisplay.h		\
	gtktextiterprivate.h		\
	gtktextlayout.h			\
	gtktextmarkprivate.h		\
	gtktextsegment.h		\
	gtktexttagprivate.h		\
	gtktexttypes.h			\
	gtktextutil.h			\
	gtktypebuiltins.h		\
	gtkxembed.h			\
62
	xdgmime				\
63
	xembed.h			\
Matthias Clasen's avatar
Matthias Clasen committed
64
	gtktoggleactionprivate.h
65

66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
INCLUDES = \
	-I$(top_srcdir) 	\
	-I$(top_builddir) 	\
	-I$(top_builddir)/gdk	\
	-DGTK_ENABLE_BROKEN	\
	$(GTK_DEBUG_FLAGS)	\
	$(GTK_DEP_CFLAGS)

GTKDOC_LIBS = \
	$(top_builddir)/gdk-pixbuf/libgdk_pixbuf-$(GTK_API_VERSION).la	\
	$(top_builddir)/gdk/$(gdktargetlib)        			\
	$(top_builddir)/gtk/$(gtktargetlib)


# Extra options to supply to gtkdoc-mkdb
MKDB_OPTIONS=--sgml-mode --output-format=xml

# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
86
87
88
89
90
91
92
93
content_files =					\
	version.xml				\
	running.sgml				\
	building.sgml				\
	changes-1.2.sgml			\
	changes-2.0.sgml			\
	compiling.sgml				\
	framebuffer.sgml			\
94
	glossary.xml				\
95
	migrating-checklist.sgml		\
96
	migrating-GtkAction.sgml		\
97
	migrating-GtkComboBox.sgml		\
98
99
100
101
102
103
104
105
	migrating-GtkFileChooser.sgml		\
	objects_grouped.sgml			\
	question_index.sgml			\
	resources.sgml				\
	text_widget.sgml			\
	tree_widget.sgml			\
	windows.sgml				\
	x11.sgml				\
Matthias Clasen's avatar
Matthias Clasen committed
106
107
	gtk-query-immodules-2.0.xml		\
	visual_index.xml
108

109
# Images to copy into HTML directory
110
HTML_IMAGES = \
Matthias Clasen's avatar
Matthias Clasen committed
111
	$(top_srcdir)/gtk/stock-icons/stock_about_24.png		\
Anders Carlsson's avatar
Anders Carlsson committed
112
113
114
115
116
117
118
	$(top_srcdir)/gtk/stock-icons/stock_add_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_apply_20.png		\
	$(top_srcdir)/gtk/stock-icons/stock_text_bold_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_cancel_20.png		\
	$(top_srcdir)/gtk/stock-icons/stock_cdrom_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_clear_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_close_24.png		\
Matthias Clasen's avatar
Matthias Clasen committed
119
	$(top_srcdir)/gtk/stock-icons/stock_connect_24.png		\
Anders Carlsson's avatar
Anders Carlsson committed
120
121
122
123
	$(top_srcdir)/gtk/stock-icons/stock_convert_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_copy_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_cut_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_trash_24.png		\
124
	$(top_srcdir)/gtk/stock-icons/stock_dialog_authentication_48.png \
Anders Carlsson's avatar
Anders Carlsson committed
125
126
127
128
	$(top_srcdir)/gtk/stock-icons/stock_dialog_error_48.png		\
	$(top_srcdir)/gtk/stock-icons/stock_dialog_info_48.png		\
	$(top_srcdir)/gtk/stock-icons/stock_dialog_question_48.png	\
	$(top_srcdir)/gtk/stock-icons/stock_dialog_warning_48.png	\
Matthias Clasen's avatar
Matthias Clasen committed
129
	$(top_srcdir)/gtk/stock-icons/stock_directory_24.png		\
Matthias Clasen's avatar
Matthias Clasen committed
130
	$(top_srcdir)/gtk/stock-icons/stock_disconnect_24.png		\
Anders Carlsson's avatar
Anders Carlsson committed
131
132
	$(top_srcdir)/gtk/stock-icons/stock_dnd_32.png			\
	$(top_srcdir)/gtk/stock-icons/stock_dnd_multiple_32.png		\
Matthias Clasen's avatar
Matthias Clasen committed
133
	$(top_srcdir)/gtk/stock-icons/stock_edit_24.png			\
Anders Carlsson's avatar
Anders Carlsson committed
134
	$(top_srcdir)/gtk/stock-icons/stock_exec_24.png			\
Matthias Clasen's avatar
Matthias Clasen committed
135
	$(top_srcdir)/gtk/stock-icons/stock_file_24.png			\
Anders Carlsson's avatar
Anders Carlsson committed
136
137
138
139
140
141
142
143
144
145
	$(top_srcdir)/gtk/stock-icons/stock_search_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_search_replace_24.png	\
	$(top_srcdir)/gtk/stock-icons/stock_bottom_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_first_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_last_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_top_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_left_arrow_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_down_arrow_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_right_arrow_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_up_arrow_24.png		\
Matthias Clasen's avatar
Matthias Clasen committed
146
147
	$(top_srcdir)/gtk/stock-icons/stock_harddisk_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_network_24.png		\
Anders Carlsson's avatar
Anders Carlsson committed
148
149
150
	$(top_srcdir)/gtk/stock-icons/stock_help_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_home_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_index_24.png		\
Matthias Clasen's avatar
Matthias Clasen committed
151
152
	$(top_srcdir)/gtk/stock-icons/stock_text_indent_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_text_unindent_24.png	\
Anders Carlsson's avatar
Anders Carlsson committed
153
154
	$(top_srcdir)/gtk/stock-icons/stock_text_italic_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_jump_to_24.png		\
155
	$(top_srcdir)/gtk/stock-icons/stock_jump_to_rtl_24.png		\
Anders Carlsson's avatar
Anders Carlsson committed
156
157
158
159
	$(top_srcdir)/gtk/stock-icons/stock_align_center_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_align_justify_24.png	\
	$(top_srcdir)/gtk/stock-icons/stock_align_left_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_align_right_24.png		\
160
	$(top_srcdir)/gtk/stock-icons/stock_broken_image_24.png		\
Anders Carlsson's avatar
Anders Carlsson committed
161
162
163
164
165
166
167
168
169
170
171
	$(top_srcdir)/gtk/stock-icons/stock_new_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_no_20.png			\
	$(top_srcdir)/gtk/stock-icons/stock_ok_20.png			\
	$(top_srcdir)/gtk/stock-icons/stock_open_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_paste_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_preferences_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_print_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_print_preview_24.png	\
	$(top_srcdir)/gtk/stock-icons/stock_properties_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_exit_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_redo_24.png			\
172
	$(top_srcdir)/gtk/stock-icons/stock_redo_rtl_24.png		\
Anders Carlsson's avatar
Anders Carlsson committed
173
174
175
	$(top_srcdir)/gtk/stock-icons/stock_refresh_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_remove_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_revert_24.png		\
176
	$(top_srcdir)/gtk/stock-icons/stock_revert_rtl_24.png		\
Anders Carlsson's avatar
Anders Carlsson committed
177
178
179
	$(top_srcdir)/gtk/stock-icons/stock_save_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_save_as_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_colorselector_24.png	\
180
	$(top_srcdir)/gtk/stock-icons/stock_color_picker_25.png		\
Anders Carlsson's avatar
Anders Carlsson committed
181
182
183
184
185
	$(top_srcdir)/gtk/stock-icons/stock_font_24.png			\
	$(top_srcdir)/gtk/stock-icons/stock_sort_ascending_24.png	\
	$(top_srcdir)/gtk/stock-icons/stock_sort_descending_24.png	\
	$(top_srcdir)/gtk/stock-icons/stock_spellcheck_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_stop_24.png			\
186
	$(top_srcdir)/gtk/stock-icons/stock_text_strikethrough_24.png	\
Anders Carlsson's avatar
Anders Carlsson committed
187
	$(top_srcdir)/gtk/stock-icons/stock_undelete_24.png		\
188
	$(top_srcdir)/gtk/stock-icons/stock_undelete_rtl_24.png		\
Anders Carlsson's avatar
Anders Carlsson committed
189
190
	$(top_srcdir)/gtk/stock-icons/stock_text_underline_24.png	\
	$(top_srcdir)/gtk/stock-icons/stock_undo_24.png			\
191
	$(top_srcdir)/gtk/stock-icons/stock_undo_rtl_24.png		\
Anders Carlsson's avatar
Anders Carlsson committed
192
193
194
195
	$(top_srcdir)/gtk/stock-icons/stock_yes_20.png			\
	$(top_srcdir)/gtk/stock-icons/stock_zoom_1_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_zoom_fit_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_zoom_in_24.png		\
Matthias Clasen's avatar
Matthias Clasen committed
196
197
198
199
200
201
202
203
	$(top_srcdir)/gtk/stock-icons/stock_zoom_out_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_media_forward_24.png	\
	$(top_srcdir)/gtk/stock-icons/stock_media_next_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_media_pause_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_media_play_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_media_previous_24.png	\
	$(top_srcdir)/gtk/stock-icons/stock_media_record_24.png		\
	$(top_srcdir)/gtk/stock-icons/stock_media_rewind_24.png		\
Matthias Clasen's avatar
Matthias Clasen committed
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
	$(top_srcdir)/gtk/stock-icons/stock_media_stop_24.png		\
	$(srcdir)/images/font-button.png				\
	$(srcdir)/images/button.png					\
	$(srcdir)/images/check-button.png				\
	$(srcdir)/images/color-button.png				\
	$(srcdir)/images/combo-box-entry.png				\
	$(srcdir)/images/entry.png					\
	$(srcdir)/images/frame.png					\
	$(srcdir)/images/label.png					\
	$(srcdir)/images/list-and-tree.png				\
	$(srcdir)/images/multiline-text.png				\
	$(srcdir)/images/panes.png					\
	$(srcdir)/images/radio-group.png				\
	$(srcdir)/images/separator.png					\
	$(srcdir)/images/toggle-button.png				\
219
220
221
	$(srcdir)/images/window.png					\
	$(srcdir)/images/accel-label.png				\
	$(srcdir)/images/file-button.png				\
222
223
224
225
226
227
	$(srcdir)/images/icon-view.png					\
	$(srcdir)/images/toolbar.png					\
	$(srcdir)/images/menubar.png					\
	$(srcdir)/images/notebook.png					\
	$(srcdir)/images/progressbar.png				\
	$(srcdir)/images/messagedialog.png
228

229
230
# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
231

Owen Taylor's avatar
Owen Taylor committed
232
233
234
235
236
237
238
include $(top_srcdir)/gtk-doc.make

# Other files to distribute
EXTRA_DIST += version.xml.in

########################################################################

239
240
241
242
243
244
245
246
247
man_MANS = gtk-query-immodules-2.0.1 

if ENABLE_MAN

%.1 : %.xml 
	@XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<

endif

Owen Taylor's avatar
Owen Taylor committed
248
BUILT_EXTRA_DIST = $(man_MANS)
Owen Taylor's avatar
Owen Taylor committed
249

Owen Taylor's avatar
Owen Taylor committed
250
251
252
253
254
dist-hook-local: $(BUILT_EXTRA_DIST)
	files='$(BUILT_EXTRA_DIST)';				\
	for f in $$files; do					\
	  if test -f $$f; then d=.; else d=$(srcdir); fi;	\
	  cp $$d/$$f $(distdir) || exit 1; done