Makefile.am 2.62 KB
Newer Older
1 2 3
## Process this file with automake to produce Makefile.in

# The name of the module.
4
DOC_MODULE = libgimpwidgets3
5 6

# The top-level SGML file.
7
DOC_MAIN_SGML_FILE = $(DOC_MODULE)-docs.sgml
8

9
# The directory containing the source code.
10
DOC_SOURCE_DIR = $(top_srcdir)/libgimpwidgets
11

12
# Extra options to pass to gtkdoc-scangobj
13 14
# make sure babl is initialized, otherwise we segfault.
SCANGOBJ_OPTIONS = --type-init-func="do { void babl_init (void); babl_init (); } while (0)"
15

16
# Extra options to supply to gtkdoc-scan
17
SCAN_OPTIONS = --deprecated-guards="GIMP_DISABLE_DEPRECATED"
18 19

# Extra options to supply to gtkdoc-mkdb
20
MKDB_OPTIONS = --sgml-mode --output-format=xml --name-space=gimp
21 22

# Extra options to supply to gtkdoc-fixref
23 24 25 26 27 28
FIXXREF_OPTIONS = \
	--extra-dir=../libgimpbase/html		\
	--extra-dir=../libgimpcolor/html	\
	--extra-dir=../libgimpconfig/html	\
	--extra-dir=../libgimpmath/html		\
	--extra-dir=../libgimp/html
29 30 31 32 33 34

# Used for dependencies
HFILE_GLOB = $(DOC_SOURCE_DIR)/*.h
CFILE_GLOB = $(DOC_SOURCE_DIR)/*.c

# Header files to ignore when scanning
35
IGNORE_HFILES = \
36 37
	gimp-icon-pixbufs.h		\
	gimp-color-picker-cursors.h	\
38
	gimpcolorprofilestore-private.h	\
39
	gimpeevl.h			\
40
	gimpwidgets-private.h
41

42
# Images to copy into HTML directory
43
HTML_IMAGES = \
44 45 46 47 48 49 50 51 52 53 54 55
	$(top_srcdir)/icons/Color/12/gimp-*.png		\
	$(top_srcdir)/icons/Color/16/gimp-*.png		\
	$(top_srcdir)/icons/Color/18/gimp-*.png		\
	$(top_srcdir)/icons/Color/20/gimp-*.png		\
	$(top_srcdir)/icons/Color/22/gimp-*.png		\
	$(top_srcdir)/icons/Color/24/gimp-*.png		\
	$(top_srcdir)/icons/Color/32/gimp-*.png		\
	$(top_srcdir)/icons/Color/48/gimp-*.png		\
	$(top_srcdir)/icons/Color/64/gimp-*.png		\
	$(top_srcdir)/icons/Color/128/gimp-*.png	\
	$(top_srcdir)/icons/Color/192/gimp-*.png	\
	$(top_srcdir)/icons/Color/256/gimp-*.png	\
56
	$(srcdir)/images/gimp-widget-*.png
57 58

# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE)
59
content_files = visual-index.xml
60 61

# Other files to distribute
62
extra_files =
63 64 65

# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.
66
GTKDOC_CFLAGS = \
67 68 69
	@CFLAGS@					\
	-I$(top_srcdir) 				\
	-I$(top_builddir) 				\
70
	@GEGL_CFLAGS@					\
71 72 73
	@GTK_CFLAGS@					\
	-DGIMP_ENABLE_CONTROLLER_UNDER_CONSTRUCTION	\
	-UGIMP_DISABLE_DEPRECATED
74 75

GTKDOC_LIBS = \
Michael Natterer's avatar
Michael Natterer committed
76 77 78 79 80
	$(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la		\
	$(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la	\
	$(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la		\
	$(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la	\
	$(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la	\
81
	@GEGL_LIBS@								\
82
	@GTK_LIBS@
83

84 85

include $(top_srcdir)/gtk-doc.make