1## Process this file with automake to produce Makefile.in
2
3# We require automake 1.6 at least.
4AUTOMAKE_OPTIONS = 1.6
5
6# The name of the module, e.g. 'glib'.
7DOC_MODULE=tester
8
9# The top-level SGML file. You can change this if you want to.
10DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.xml
11
12# The directory containing the source code. Relative to $(srcdir).
13# gtk-doc will search all .c & .h files beneath here for inline comments
14# documenting the functions and macros.
15DOC_SOURCE_DIR=$(top_srcdir)/tests/gobject/src
16
17# Extra options to pass to gtkdoc-scangobj. Not normally needed.
18SCANGOBJ_OPTIONS=
19
20# Extra options to supply to gtkdoc-scan.
21SCAN_OPTIONS=--deprecated-guards="GTKDOC_TESTER_DISABLE_DEPRECATED" \
22  --rebuild-types
23
24# Extra options to supply to gtkdoc-mkdb.
25MKDB_OPTIONS=--xml-mode
26
27# Extra options to supply to gtkdoc-mkhtml
28MKHTML_OPTIONS=--path=$(abs_top_srcdir)/tests/gobject/examples
29
30# Extra options to supply to gtkdoc-mkpdf
31MKPDF_OPTIONS=--path=$(abs_top_srcdir)/tests/gobject/examples
32
33# Extra options to supply to gtkdoc-fixref. Not normally needed.
34# --html-dir=$(HTML_DIR)
35FIXXREF_OPTIONS=--extra-dir=$(glib_prefix)/share/gtk-doc/html
36
37# Used for dependencies. The docs will be rebuilt if any of these change.
38HFILE_GLOB=$(top_srcdir)/tests/gobject/src/*.h
39CFILE_GLOB=$(top_srcdir)/tests/gobject/src/*.c
40
41# Header files to ignore when scanning.
42IGNORE_HFILES=config.h
43
44# Images to copy into HTML directory.
45HTML_IMAGES = \
46	$(srcdir)/images/object.png
47
48# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
49# e.g. content_files=running.sgml building.sgml changes-2.0.sgml
50content_files =
51
52# SGML files where gtk-doc abbreviations (#GtkWidget) are expanded
53# These files must be listed here *and* in content_files
54# e.g. expand_content_files=running.sgml
55expand_content_files=
56
57# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
58# Only needed if you are using gtkdoc-scangobj to dynamically query widget
59# signals and properties.
60GTKDOC_CFLAGS = -I$(top_srcdir)/tests/gobject/src $(TEST_DEPS_CFLAGS)
61GTKDOC_LIBS = $(TEST_DEPS_LIBS) $(top_builddir)/tests/gobject/src/libtester.la
62
63# include generic part
64include $(top_srcdir)/tests/gtk-doc.make
65
66# Other files to distribute
67# e.g. EXTRA_DIST += version.xml.in
68EXTRA_DIST += tester.types
69
70CLEANFILES += \
71  $(DOC_MODULE)-overrides.txt \
72  $(DOC_MODULE).types
73
74if BUILD_TESTS
75TESTS_ENVIRONMENT = \
76	DOC_MODULE=$(DOC_MODULE) DOC_MAIN_SGML_FILE=$(DOC_MAIN_SGML_FILE) \
77	PATH=$(abs_top_builddir):$(srcdir):$(PATH)
78endif
79
80EXTRA_DIST += meson.build
81EXTRA_DIST += images/meson.build
82EXTRA_DIST += xml/meson.build
83
84-include $(top_srcdir)/git.mk
85