2007-11-26 17:13:05 +01:00
|
|
|
include $(top_srcdir)/Makefile.decl
|
2009-05-18 11:29:11 +02:00
|
|
|
NULL =
|
2007-11-26 17:13:05 +01:00
|
|
|
|
2011-06-03 19:22:31 +02:00
|
|
|
SUBDIRS = gdbus-object-manager-example
|
|
|
|
|
2007-11-26 17:13:05 +01:00
|
|
|
# The name of the module.
|
|
|
|
DOC_MODULE=gio
|
|
|
|
|
|
|
|
# The top-level SGML file.
|
|
|
|
DOC_MAIN_SGML_FILE=gio-docs.xml
|
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-scan
|
2011-12-19 13:45:43 +01:00
|
|
|
SCAN_OPTIONS=--deprecated-guards="G_DISABLE_DEPRECATED" \
|
|
|
|
--ignore-decorators="G_GNUC_WARN_UNUSED_RESULT"
|
2007-11-26 17:13:05 +01:00
|
|
|
|
|
|
|
# The directory containing the source code. Relative to $(srcdir)
|
|
|
|
DOC_SOURCE_DIR=$(top_srcdir)/gio
|
|
|
|
|
2011-07-05 15:42:39 +02:00
|
|
|
BUILT_HFILES=gioenumtypes.h
|
2011-09-05 23:54:52 +02:00
|
|
|
HFILE_GLOB=$(top_srcdir)/gio/*.h
|
2007-11-26 17:13:05 +01:00
|
|
|
CFILE_GLOB=$(top_srcdir)/gio/*.c
|
|
|
|
|
2011-09-06 01:10:04 +02:00
|
|
|
IGNORE_HFILES = \
|
2011-09-06 01:35:16 +02:00
|
|
|
fam \
|
|
|
|
fen \
|
|
|
|
gdbus-2.0 \
|
|
|
|
gvdb \
|
|
|
|
inotify \
|
|
|
|
libasyncns \
|
|
|
|
tests \
|
|
|
|
win32 \
|
|
|
|
xdgmime \
|
|
|
|
gapplicationimpl.h \
|
|
|
|
gasynchelper.h \
|
|
|
|
gcontenttypeprivate.h \
|
|
|
|
gdbusauth.h \
|
|
|
|
gdbusauthmechanismanon.h \
|
|
|
|
gdbusauthmechanismexternal.h \
|
|
|
|
gdbusauthmechanism.h \
|
|
|
|
gdbusauthmechanismsha1.h \
|
|
|
|
gdbusprivate.h \
|
|
|
|
gdelayedsettingsbackend.h \
|
|
|
|
gdummyfile.h \
|
|
|
|
gdummyproxyresolver.h \
|
|
|
|
gdummytlsbackend.h \
|
|
|
|
gfileattribute-priv.h \
|
|
|
|
gfileinfo-priv.h \
|
|
|
|
giomodule-priv.h \
|
|
|
|
glocaldirectorymonitor.h \
|
|
|
|
glocalfileenumerator.h \
|
|
|
|
glocalfile.h \
|
|
|
|
glocalfileinfo.h \
|
|
|
|
glocalfileinputstream.h \
|
|
|
|
glocalfileiostream.h \
|
|
|
|
glocalfilemonitor.h \
|
|
|
|
glocalfileoutputstream.h \
|
|
|
|
glocalvfs.h \
|
|
|
|
gmountprivate.h \
|
|
|
|
gnetworkingprivate.h \
|
|
|
|
gpollfilemonitor.h \
|
|
|
|
gregistrysettingsbackend.h \
|
|
|
|
gsettingsbackendinternal.h \
|
|
|
|
gsettings-mapping.h \
|
2011-11-17 11:06:49 +01:00
|
|
|
gsettingsschema-internal.h \
|
2011-09-06 01:35:16 +02:00
|
|
|
gsocketinputstream.h \
|
|
|
|
gsocketoutputstream.h \
|
|
|
|
gsocks4aproxy.h \
|
|
|
|
gsocks4proxy.h \
|
|
|
|
gsocks5proxy.h \
|
|
|
|
gthreadedresolver.h \
|
|
|
|
gunionvolumemonitor.h \
|
|
|
|
gunixmount.h \
|
|
|
|
gunixresolver.h \
|
|
|
|
gunixvolume.h \
|
|
|
|
gunixvolumemonitor.h \
|
|
|
|
gwin32appinfo.h \
|
|
|
|
gwin32mount.h \
|
|
|
|
gwin32resolver.h \
|
|
|
|
gwin32volumemonitor.h
|
|
|
|
|
2011-09-06 01:10:04 +02:00
|
|
|
|
2007-11-26 17:13:05 +01:00
|
|
|
# CFLAGS and LDFLAGS for compiling scan program. Only needed
|
|
|
|
# if $(DOC_MODULE).types is non-empty.
|
|
|
|
INCLUDES = \
|
2010-08-06 19:09:26 +02:00
|
|
|
$(gio_INCLUDES) \
|
2007-11-26 17:13:05 +01:00
|
|
|
$(GLIB_DEBUG_FLAGS)
|
|
|
|
|
|
|
|
GTKDOC_LIBS = \
|
|
|
|
$(top_builddir)/glib/libglib-2.0.la \
|
|
|
|
$(top_builddir)/gobject/libgobject-2.0.la \
|
|
|
|
$(top_builddir)/gmodule/libgmodule-2.0.la \
|
|
|
|
$(top_builddir)/gio/libgio-2.0.la \
|
|
|
|
$(NULL)
|
|
|
|
|
|
|
|
# Extra options to supply to gtkdoc-mkdb
|
2008-12-29 18:53:47 +01:00
|
|
|
MKDB_OPTIONS = --output-format=xml --sgml-mode --name-space=g \
|
2011-09-06 06:12:12 +02:00
|
|
|
--ignore-files='libasyncns tests'
|
2007-11-26 17:13:05 +01:00
|
|
|
|
|
|
|
# Images to copy into HTML directory
|
2007-12-17 18:28:40 +01:00
|
|
|
HTML_IMAGES = \
|
2011-11-27 04:46:51 +01:00
|
|
|
gvfs-overview.png \
|
|
|
|
menu-example.png \
|
|
|
|
menu-model.png
|
2007-11-26 17:13:05 +01:00
|
|
|
|
2009-05-18 11:29:11 +02:00
|
|
|
content_files = \
|
2007-12-17 18:28:40 +01:00
|
|
|
version.xml \
|
2007-12-18 04:14:39 +01:00
|
|
|
overview.xml \
|
2010-05-06 23:52:54 +02:00
|
|
|
migrating-posix.xml \
|
|
|
|
migrating-gnome-vfs.xml \
|
|
|
|
migrating-gconf.xml \
|
2010-05-11 21:42:15 +02:00
|
|
|
migrating-gdbus.xml \
|
2010-04-18 21:54:54 +02:00
|
|
|
gio-querymodules.xml \
|
2010-04-23 23:27:26 +02:00
|
|
|
glib-compile-schemas.xml\
|
2010-04-22 07:15:54 +02:00
|
|
|
gsettings.xml \
|
2012-01-23 06:23:18 +01:00
|
|
|
gresource.xml \
|
2010-05-07 01:39:16 +02:00
|
|
|
gdbus.xml \
|
2011-04-08 22:57:31 +02:00
|
|
|
gdbus-codegen.xml \
|
2010-05-07 01:39:16 +02:00
|
|
|
$(NULL)
|
2007-12-18 04:14:39 +01:00
|
|
|
|
|
|
|
expand_content_files = \
|
|
|
|
overview.xml \
|
2010-05-06 23:52:54 +02:00
|
|
|
migrating-posix.xml \
|
|
|
|
migrating-gnome-vfs.xml \
|
|
|
|
migrating-gconf.xml \
|
2011-04-12 17:50:34 +02:00
|
|
|
migrating-gdbus.xml \
|
|
|
|
gdbus-codegen.xml \
|
|
|
|
$(NULL)
|
2007-11-26 17:13:05 +01:00
|
|
|
|
2009-05-18 11:29:11 +02:00
|
|
|
extra_files = \
|
2007-12-17 18:28:40 +01:00
|
|
|
version.xml.in \
|
|
|
|
gvfs-overview.odg
|
2007-11-26 17:13:05 +01:00
|
|
|
|
2011-07-11 05:55:52 +02:00
|
|
|
# Extra options to supply to gtkdoc-fixref
|
|
|
|
FIXXREF_OPTIONS=--extra-dir=$(srcdir)/../glib/html --extra-dir=$(srcdir)/../gobject/html
|
|
|
|
|
2007-11-26 17:13:05 +01:00
|
|
|
include $(top_srcdir)/gtk-doc.make
|
|
|
|
|
2009-05-18 11:29:11 +02:00
|
|
|
EXTRA_DIST += \
|
2007-11-26 17:13:05 +01:00
|
|
|
version.xml.in
|
2010-04-17 06:31:41 +02:00
|
|
|
|
|
|
|
man_MANS = \
|
2010-04-18 21:54:54 +02:00
|
|
|
gio-querymodules.1 \
|
2010-04-23 23:27:26 +02:00
|
|
|
glib-compile-schemas.1 \
|
2012-01-13 16:39:28 +01:00
|
|
|
glib-compile-resources.1 \
|
2011-04-08 22:57:31 +02:00
|
|
|
gsettings.1 \
|
2012-01-23 06:23:18 +01:00
|
|
|
gresource.1 \
|
2011-04-08 22:57:31 +02:00
|
|
|
gdbus.1 \
|
|
|
|
gdbus-codegen.1
|
2010-04-17 06:31:41 +02:00
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
if ENABLE_MAN
|
2010-04-17 22:57:28 +02:00
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
.xml.1:
|
2010-04-17 06:31:41 +02:00
|
|
|
@XSLTPROC@ -nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $<
|
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
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.
|
2010-05-11 18:48:22 +02:00
|
|
|
echo Man generation disabled. Remove this file, configure with --enable-man, and rebuild > $@
|
2010-04-23 20:52:26 +02:00
|
|
|
|
|
|
|
dist-local-check-mans-enabled:
|
|
|
|
echo "*** --enable-man must be used in order to make dist"
|
|
|
|
false
|
|
|
|
|
2010-04-17 06:31:41 +02:00
|
|
|
endif
|
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
MAINTAINERCLEANFILES = $(man_MANS) $(BUILT_SOURCES)
|
|
|
|
|
|
|
|
EXTRA_DIST += $(man_MANS)
|
2010-04-18 02:13:59 +02:00
|
|
|
|
2011-11-24 00:13:44 +01:00
|
|
|
dist-hook-local: dist-local-check-mans-enabled all-local
|
2010-04-17 06:31:41 +02:00
|
|
|
|
2010-04-23 20:52:26 +02:00
|
|
|
gio-docs-clean: clean
|
|
|
|
cd $(srcdir) && rm -rf xml html
|