Makefile.am 2.2 KB
Newer Older
Dan Winship's avatar
Dan Winship committed
1 2 3 4 5 6 7 8 9 10 11 12
## Process this file with automake to produce Makefile.in
AUTOMAKE_OPTIONS = 1.6

# The name of the module
DOC_MODULE=libnm

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

# The directory containing the source code. Relative to $(srcdir).
# gtk-doc will search all .c & .h files beneath here for inline comments
# documenting functions and macros.
13 14 15 16 17
DOC_SOURCE_DIR= \
	$(top_srcdir)/libnm-core \
	$(top_builddir)/libnm-core \
	$(top_srcdir)/libnm \
	$(top_builddir)/libnm
Dan Winship's avatar
Dan Winship committed
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33

# Extra options to supply to gtkdoc-scan.
SCAN_OPTIONS=--rebuild-types --rebuild-sections

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

# Extra options to supply to gtkdoc-fixref.
FIXXREF_OPTIONS=

# Used for dependencies.
HFILE_GLOB=$(top_srcdir)/libnm-core/*.h $(top_srcdir)/libnm/*.h
CFILE_GLOB=$(top_srcdir)/libnm-core/*.c $(top_srcdir)/libnm/*.c

# Header files to ignore when scanning.
IGNORE_HFILES= \
Dan Winship's avatar
Dan Winship committed
34
	common.h \
Dan Winship's avatar
Dan Winship committed
35
	crypto.h \
Dan Winship's avatar
Dan Winship committed
36
	nm-dbus-helpers.h \
37
	nm-core-internal.h \
38
	nm-core-types-internal.h \
Dan Winship's avatar
Dan Winship committed
39
	nm-device-private.h \
40 41
	nm-dhcp4-config.h \
	nm-dhcp6-config.h \
42
	nm-dns-manager.h \
43 44
	nm-ip4-config.h \
	nm-ip6-config.h \
45
	nm-manager.h \
Dan Winship's avatar
Dan Winship committed
46
	nm-object-private.h \
Dan Winship's avatar
Dan Winship committed
47
	nm-property-compare.h \
Dan Winship's avatar
Dan Winship committed
48
	nm-remote-connection-private.h \
49
	nm-remote-settings.h \
Dan Winship's avatar
Dan Winship committed
50
	nm-setting-private.h \
Dan Winship's avatar
Dan Winship committed
51
	nm-utils-private.h \
52 53 54 55
	nm-core-tests-enum-types.h \
	nm-keyfile-internal.h \
	nm-keyfile-utils.h \
	test-general-enums.h
Dan Winship's avatar
Dan Winship committed
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74

# Images to copy into HTML directory.
HTML_IMAGES = libnm.png

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

# Other files to distribute.
extra_files = libnm.png


# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
GTKDOC_CFLAGS =				\
	-I$(top_srcdir)/libnm-core	\
	-I$(top_builddir)/libnm-core	\
	-I$(top_srcdir)/libnm		\
	-I$(top_builddir)/libnm		\
	-DNM_VERSION_MAX_ALLOWED=NM_VERSION_NEXT_STABLE \
75
	-DNM_VERSION_MIN_REQUIRED=NM_VERSION_0_9_8 \
76
	$(GLIB_CFLAGS)
Dan Winship's avatar
Dan Winship committed
77 78 79 80 81 82 83 84 85

GTKDOC_LIBS =  \
	$(top_builddir)/libnm/libnm.la \
	$(GLIB_LIBS)


# include common portion ...
include $(top_srcdir)/gtk-doc.make

86
EXTRA_DIST += version.xml.in meson.build
Dan Winship's avatar
Dan Winship committed
87 88 89 90 91 92 93 94

CLEANFILES += \
	libnm-sections.txt \
	libnm-overrides.txt \
	html/* \
	tmpl/* \
	xml/*