summaryrefslogtreecommitdiff
path: root/docs/reference/libqmi-glib/Makefile.am
blob: 1a272426e40bdbb3ae130faf414796d041470153 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119

# The name of the module.
DOC_MODULE = libqmi-glib

# The top-level SGML file.
DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.xml

# Sections file building
ALL_SECTIONS = \
	$(srcdir)/libqmi-glib-common.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-dms.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-nas.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-wds.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-wms.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-pdc.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-pds.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-pbm.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-uim.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-oma.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-wda.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-voice.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-loc.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-qos.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-gas.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-gms.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-dsd.sections \
	$(top_builddir)/src/libqmi-glib/generated/qmi-sar.sections \
	$(NULL)

$(DOC_MODULE)-sections.mstamp: $(ALL_SECTIONS)
	$(AM_V_GEN) \
		rm -f $(DOC_MODULE)-sections.txt && \
		cat $(ALL_SECTIONS) > $(DOC_MODULE)-sections.txt && \
		touch $(DOC_MODULE)-sections.mstamp

BUILT_SOURCES = $(DOC_MODULE)-sections.mstamp

# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS = --rebuild-types --deprecated-guards="QMI_DISABLE_DEPRECATED"

# The directory containing the source code.
DOC_SOURCE_DIR = \
	$(top_srcdir)/src/libqmi-glib \
	$(top_builddir)/src/libqmi-glib/generated

# Used for dependencies
HFILE_GLOB = \
	$(top_srcdir)/src/libqmi-glib/*.h \
	$(top_builddir)/src/libqmi-glib/*.h \
	$(top_builddir)/src/libqmi-glib/generated/*.h
CFILE_GLOB = \
	$(top_srcdir)/src/libqmi-glib/*.c \
	$(top_builddir)/src/libqmi-glib/generated/*.c

# Headers to ignore
IGNORE_HFILES = \
	qmi-enums-private.h \
	qmi-enum-types-private.h \
	qmi-endpoint.h \
	qmi-endpoint-qmux.h \
	qmi-endpoint-mbim.h \
	qmi-endpoint-qrtr.h \
	qmi-file.h \
	qmi-ctl.h \
	test-port-context.h \
	test-fixture.h

# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
AM_CPPFLAGS = \
	-I$(srcdir) \
	-I$(top_srcdir) \
	-I$(top_builddir) \
	$(GLIB_CFLAGS)

GTKDOC_LIBS = \
	$(GLIB_LIBS) \
	$(top_builddir)/src/libqmi-glib/libqmi-glib.la

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

# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
content_files = version.xml

expand_content_files =

extra_files =

include $(top_srcdir)/gtk-doc.make

EXTRA_DIST += \
	libqmi-glib-common.sections \
	$(DOC_MODULE)-sections.txt \
	$(DOC_MODULE)-sections.mstamp \
	version.xml.in \
	$(DIAGRAMS) \
	$(NULL)

CLEANFILES += \
	$(DOC_MODULE)-decl-list.txt \
	$(DOC_MODULE)-decl.txt \
	$(DOC_MODULE)-overrides.txt \
	$(DOC_MODULE)-undeclared.txt \
	$(DOC_MODULE)-undocumented.txt \
	$(DOC_MODULE)-overrides.txt \
	$(DOC_MODULE)-unused.txt \
	$(DOC_MODULE).args \
	$(DOC_MODULE).hierarchy \
	$(DOC_MODULE).interfaces \
	$(DOC_MODULE).prerequisites \
	$(DOC_MODULE).signals \
	$(DOC_MODULE).actions \
	$(DOC_MODULE).types \
	$(DOC_MODULE)-sections.txt \
	$(DOC_MODULE)-sections.mstamp \
	*.stamp \
	-rf xml html tmpl \
	$(NULL)