forked from AuroraMiddleware/gtk
375 lines
13 KiB
Makefile
375 lines
13 KiB
Makefile
## Process this file with automake to produce Makefile.in
|
|
include $(top_srcdir)/Makefile.decl
|
|
|
|
AUTOMAKE_OPTIONS = 1.6
|
|
|
|
# The name of the module.
|
|
DOC_MODULE=gtk3
|
|
|
|
# The top-level SGML file.
|
|
DOC_MAIN_SGML_FILE=gtk-docs.sgml
|
|
|
|
# Extra options to supply to gtkdoc-scan
|
|
SCAN_OPTIONS=--deprecated-guards="GTK_ENABLE_BROKEN|GTK_DISABLE_DEPRECATED"
|
|
|
|
# The directory containing the source code. Relative to $(srcdir)
|
|
DOC_SOURCE_DIR=../../../gtk
|
|
|
|
# Used for dependencies
|
|
HFILE_GLOB=$(top_srcdir)/gtk/*.h
|
|
CFILE_GLOB=$(top_srcdir)/gtk/*.c
|
|
|
|
# Header files to ignore when scanning
|
|
IGNORE_HFILES= \
|
|
gtkalias.h \
|
|
fnmatch.h \
|
|
gdk-pixbuf-loader.h \
|
|
gtkdebug.h \
|
|
gtkbuilderprivate.h \
|
|
gtkdndcursors.h \
|
|
gtkentryprivate.h \
|
|
gtkfilechooserdefault.h \
|
|
gtkfilechooserembed.h \
|
|
gtkfilechooserentry.h \
|
|
gtkfilechooserprivate.h \
|
|
gtkfilechoosersettings.h \
|
|
gtkfilechooserutils.h \
|
|
gtkfilesystem.h \
|
|
gtkfilesystemmodel.h \
|
|
gtkfilesystemunix.h \
|
|
gtkfilesystemwin32.h \
|
|
gtkiconcache.h \
|
|
gtkiconcachevalidator.h \
|
|
gtkiconthemeparser.h \
|
|
gtkintl.h \
|
|
gtkkeyhash.h \
|
|
gtkmarshal.h \
|
|
gtkmnemonichash.h \
|
|
gtkpathbar.h \
|
|
gtkplugprivate.h \
|
|
gtkprintbackend.h \
|
|
gtkprinteroption.h \
|
|
gtkprinteroptionset.h \
|
|
gtkprinteroptionwidget.h \
|
|
gtkprinter-private.h \
|
|
gtkprint-win32.h \
|
|
gtkprintutils.h \
|
|
gtkprintoperation-private.h \
|
|
gtkprivate.h \
|
|
gtkquery.h \
|
|
gtkrbtree.h \
|
|
gtkrecentchooserdefault.h \
|
|
gtkrecentchooserutils.h \
|
|
gtkrecentchooserprivate.h \
|
|
gtksearchengine.h \
|
|
gtksearchenginebeagle.h \
|
|
gtksearchenginetracker.h \
|
|
gtksearchenginesimple.h \
|
|
gtksearchenginequartz.h \
|
|
gtksequence.h \
|
|
gtksocketprivate.h \
|
|
gtktextbtree.h \
|
|
gtktextbufferserializ.h \
|
|
gtktextchildprivate.h \
|
|
gtktextdisplay.h \
|
|
gtktextiterprivate.h \
|
|
gtktextlayout.h \
|
|
gtktextmarkprivate.h \
|
|
gtktextsegment.h \
|
|
gtktexttagprivate.h \
|
|
gtktexttypes.h \
|
|
gtktextutil.h \
|
|
gtkthemes.h \
|
|
gtktoggleactionprivate.h \
|
|
gtktrayicon.h \
|
|
gtktreedatalist.h \
|
|
gtktreeprivate.h \
|
|
gtktoolpaletteprivate.h \
|
|
gtktypebuiltins.h \
|
|
gtkxembed.h \
|
|
gtkwin32embed.h \
|
|
gtkwin32embedwidget.h \
|
|
gtkwindow-decorate.h \
|
|
xdgmime \
|
|
xembed.h
|
|
|
|
# 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)
|
|
|
|
CPPFLAGS += \
|
|
-UGTK_DISABLE_SINGLE_INCLUDES
|
|
|
|
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 --name-space=gtk
|
|
|
|
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
|
|
content_files = \
|
|
version.xml \
|
|
running.sgml \
|
|
building.sgml \
|
|
compiling.sgml \
|
|
directfb.sgml \
|
|
drawing-model.xml \
|
|
glossary.xml \
|
|
migrating-2to3.xml \
|
|
migrating-checklist.sgml \
|
|
objects_grouped.sgml \
|
|
osx.sgml \
|
|
question_index.sgml \
|
|
resources.sgml \
|
|
text_widget.sgml \
|
|
tree_widget.sgml \
|
|
windows.sgml \
|
|
x11.sgml \
|
|
gtk-query-immodules-3.0.xml \
|
|
gtk-update-icon-cache-3.0.xml \
|
|
gtk-builder-convert-3.0.xml \
|
|
visual_index.xml
|
|
|
|
expand_content_files = \
|
|
drawing-model.xml \
|
|
glossary.xml \
|
|
migrating-2to3.xml \
|
|
migrating-checklist.sgml \
|
|
tree_widget.sgml \
|
|
text_widget.sgml \
|
|
question_index.sgml
|
|
|
|
# Images to copy into HTML directory
|
|
HTML_IMAGES = \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-about.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-add.png \
|
|
$(top_srcdir)/gtk/stock-icons/20/gtk-apply.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-bold.png \
|
|
$(top_srcdir)/gtk/stock-icons/20/gtk-cancel.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-caps-lock-warning.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-cdrom.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-clear.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-close.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-connect.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-convert.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-copy.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-cut.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-delete.png \
|
|
$(top_srcdir)/gtk/stock-icons/48/gtk-dialog-authentication.png \
|
|
$(top_srcdir)/gtk/stock-icons/48/gtk-dialog-error.png \
|
|
$(top_srcdir)/gtk/stock-icons/48/gtk-dialog-info.png \
|
|
$(top_srcdir)/gtk/stock-icons/48/gtk-dialog-question.png \
|
|
$(top_srcdir)/gtk/stock-icons/48/gtk-dialog-warning.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-directory.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-disconnect.png \
|
|
$(top_srcdir)/gtk/stock-icons/32/gtk-dnd.png \
|
|
$(top_srcdir)/gtk/stock-icons/32/gtk-dnd-multiple.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-edit.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-execute.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-file.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-find.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-find-and-replace.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-bottom.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-first-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-first-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-last-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-last-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-goto-top.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-go-back-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-go-back-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-go-down.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-go-forward-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-go-forward-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-go-up.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-harddisk.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-network.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-help.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-home.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-index.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-indent-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-indent-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-unindent-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-unindent-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-italic.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-jump-to-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-jump-to-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-justify-center.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-justify-fill.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-justify-left.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-justify-right.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-missing-image.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-new.png \
|
|
$(top_srcdir)/gtk/stock-icons/20/gtk-no.png \
|
|
$(top_srcdir)/gtk/stock-icons/20/gtk-ok.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-open.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-landscape.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-portrait.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-reverse-landscape.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-orientation-reverse-portrait.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-paste.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-preferences.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-print.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-print-error.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-print-paused.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-print-preview.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-print-report.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-print-warning.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-properties.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-quit.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-redo-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-redo-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-refresh.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-remove.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-revert-to-saved-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-revert-to-saved-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-floppy.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-save.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-save-as.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-select-all.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-select-color.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-color-picker.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-font.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-sort-ascending.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-sort-descending.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-spell-check.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-stop.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-strikethrough.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-undelete-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-undelete-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-underline.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-undo-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-undo-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/20/gtk-yes.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-zoom-100.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-zoom-fit.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-zoom-in.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-zoom-out.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-forward-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-forward-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-next-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-next-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-pause.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-play-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-play-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-previous-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-previous-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-record.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-rewind-ltr.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-rewind-rtl.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-media-stop.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-fullscreen.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-leave-fullscreen.png \
|
|
$(top_srcdir)/gtk/stock-icons/24/gtk-info.png \
|
|
$(srcdir)/images/aboutdialog.png \
|
|
$(srcdir)/images/accel-label.png \
|
|
$(srcdir)/images/assistant.png \
|
|
$(srcdir)/images/button.png \
|
|
$(srcdir)/images/check-button.png \
|
|
$(srcdir)/images/color-button.png \
|
|
$(srcdir)/images/colorsel.png \
|
|
$(srcdir)/images/combo-box.png \
|
|
$(srcdir)/images/combo-box-entry.png \
|
|
$(srcdir)/images/entry.png \
|
|
$(srcdir)/images/figure-hierarchical-drawing.png \
|
|
$(srcdir)/images/figure-windowed-label.png \
|
|
$(srcdir)/images/file-button.png \
|
|
$(srcdir)/images/filechooser.png \
|
|
$(srcdir)/images/font-button.png \
|
|
$(srcdir)/images/fontsel.png \
|
|
$(srcdir)/images/frame.png \
|
|
$(srcdir)/images/icon-view.png \
|
|
$(srcdir)/images/image.png \
|
|
$(srcdir)/images/label.png \
|
|
$(srcdir)/images/link-button.png \
|
|
$(srcdir)/images/list-and-tree.png \
|
|
$(srcdir)/images/menubar.png \
|
|
$(srcdir)/images/messagedialog.png \
|
|
$(srcdir)/images/multiline-text.png \
|
|
$(srcdir)/images/notebook.png \
|
|
$(srcdir)/images/panes.png \
|
|
$(srcdir)/images/pagesetupdialog.png \
|
|
$(srcdir)/images/printdialog.png \
|
|
$(srcdir)/images/progressbar.png \
|
|
$(srcdir)/images/radio-group.png \
|
|
$(srcdir)/images/recentchooserdialog.png \
|
|
$(srcdir)/images/scales.png \
|
|
$(srcdir)/images/scrolledwindow.png \
|
|
$(srcdir)/images/separator.png \
|
|
$(srcdir)/images/spinbutton.png \
|
|
$(srcdir)/images/spinner.png \
|
|
$(srcdir)/images/statusbar.png \
|
|
$(srcdir)/images/toggle-button.png \
|
|
$(srcdir)/images/toolbar.png \
|
|
$(srcdir)/images/toolpalette.png \
|
|
$(srcdir)/images/tree-view-coordinates.png \
|
|
$(srcdir)/images/volumebutton.png \
|
|
$(srcdir)/images/window.png \
|
|
$(srcdir)/images/layout-btlr.png \
|
|
$(srcdir)/images/layout-btrl.png \
|
|
$(srcdir)/images/layout-lrbt.png \
|
|
$(srcdir)/images/layout-lrtb.png \
|
|
$(srcdir)/images/layout-rlbt.png \
|
|
$(srcdir)/images/layout-rltb.png \
|
|
$(srcdir)/images/layout-tblr.png \
|
|
$(srcdir)/images/layout-tbrl.png
|
|
|
|
# Extra options to supply to gtkdoc-fixref
|
|
FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html \
|
|
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/gobject \
|
|
--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html/glib \
|
|
--extra-dir=$(ATK_PREFIX)/share/gtk-doc/html/atk \
|
|
--extra-dir=$(PANGO_PREFIX)/share/gtk-doc/html/pango \
|
|
--extra-dir=$(CAIRO_PREFIX)/share/gtk-doc/html/cairo
|
|
|
|
include $(top_srcdir)/gtk-doc.make
|
|
|
|
# Other files to distribute
|
|
EXTRA_DIST += version.xml.in
|
|
|
|
########################################################################
|
|
|
|
man_MANS = \
|
|
gtk-query-immodules-3.0.1 \
|
|
gtk-update-icon-cache-3.0.1 \
|
|
gtk-builder-convert-3.0.1
|
|
|
|
if ENABLE_MAN
|
|
|
|
.xml.1:
|
|
@XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
|
|
|
dist-local-check-mans-enabled:
|
|
if grep "Man generation disabled" $(man_MANS) >/dev/null; then $(RM) $(man_MANS); fi
|
|
|
|
else
|
|
|
|
$(man_MANS):
|
|
echo Man generation disabled. Creating dummy $@. Configure with --enable-man to enable it.
|
|
echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
|
|
|
|
dist-local-check-mans-enabled:
|
|
echo "*** --enable-man must be used in order to make dist"
|
|
false
|
|
|
|
endif
|
|
|
|
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
|
|
|
|
EXTRA_DIST += $(man_MANS)
|
|
|
|
dist-hook-local: dist-local-check-mans-enabled gtk-docs-clean all-local
|
|
|
|
gtk-docs-clean: clean
|
|
cd $(srcdir) && rm -rf xml html
|
|
|
|
-include $(top_srcdir)/git.mk
|