summaryrefslogtreecommitdiffstats
path: root/devel-docs/app/Makefile.am
blob: 9d14ddae02efc1dd20e6fc4023773a20640dd600 (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
120
121
122
123
124
125
126
127
128
129
## Process this file with automake to produce Makefile.in

# The name of the module.
DOC_MODULE = app

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

# The directory containing the source code.
DOC_SOURCE_DIR = $(top_srcdir)/$(DOC_MODULE)

# Extra options to pass to gtkdoc-scangobj
SCANGOBJ_OPTIONS =

# Extra options to supply to gtkdoc-scan
SCAN_OPTIONS =

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

# Extra options to supply to gtkdoc-fixref
FIXXREF_OPTIONS = --extra-dir=../libgimpbase/html --extra-dir=../libgimpcolor/html --extra-dir=../libgimpconfig/html --extra-dir=../libgimpmath/html --extra-dir=../libgimpwidgets/html


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

# Header files to ignore when scanning
IGNORE_HFILES = \
	gimp-intl.h			\
	gimpdbusservice-glue.h		\
	gimpimage-convert-data.h	\
	gimpimage-convert-fsdither.h	\
	gimphelp-ids.h			\
	gimprc-blurbs.h

# Images to copy into HTML directory
HTML_IMAGES =

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

# CFLAGS and LDFLAGS for compiling scan program. Only needed
# if $(DOC_MODULE).types is non-empty.

GTKDOC_CFLAGS = \
	-g		\
	-I$(top_srcdir)	\
	$(GTK_CFLAGS)	\
	-I$(includedir)	\
	-UGTK_DISABLE_SINGLE_INCLUDES

if OS_WIN32
else
libm = -lm
endif

GTKDOC_LIBS = \
	-Wl,-u,$(SYMPREFIX)xcf_init		   			     \
	-Wl,-u,$(SYMPREFIX)internal_procs_init 				     \
	-Wl,-u,$(SYMPREFIX)gimp_coords_mix	   			     \
	-Wl,-u,$(SYMPREFIX)gimp_plug_in_manager_restore			     \
	-Wl,-u,$(SYMPREFIX)gimp_lebl_dialog				     \
	-Wl,-u,$(SYMPREFIX)gimp_param_spec_duplicate			     \
	$(top_builddir)/app/app.o					     \
        $(top_builddir)/app/batch.o					     \
        $(top_builddir)/app/errors.o					     \
        $(top_builddir)/app/language.o					     \
        $(top_builddir)/app/sanity.o					     \
        $(top_builddir)/app/units.o					     \
	$(top_builddir)/app/gimp-debug.o				     \
	$(top_builddir)/app/gimp-log.o					     \
        $(top_builddir)/app/gui/libappgui.a				     \
	$(top_builddir)/app/actions/libappactions.a			     \
        $(top_builddir)/app/dialogs/libappdialogs.a			     \
        $(top_builddir)/app/menus/libappmenus.a				     \
        $(top_builddir)/app/tools/libapptools.a				     \
        $(top_builddir)/app/display/libappdisplay.a			     \
        $(top_builddir)/app/propgui/libapppropgui.a			     \
        $(top_builddir)/app/widgets/libappwidgets.a			     \
	$(top_builddir)/app/pdb/libappinternal-procs.a			     \
        $(top_builddir)/app/xcf/libappxcf.a				     \
        $(top_builddir)/app/file/libappfile.a				     \
        $(top_builddir)/app/plug-in/libappplug-in.a			     \
        $(top_builddir)/app/pdb/libapppdb.a				     \
        $(top_builddir)/app/core/libappcore.a				     \
        $(top_builddir)/app/vectors/libappvectors.a			     \
        $(top_builddir)/app/paint/libapppaint.a				     \
        $(top_builddir)/app/text/libapptext.a				     \
        $(top_builddir)/app/config/libappconfig.a			     \
        $(top_builddir)/app/gegl/libappgegl.a				     \
        $(top_builddir)/app/operations/libappoperations.a		     \
        $(top_builddir)/libgimpwidgets/libgimpwidgets-$(GIMP_API_VERSION).la \
        $(top_builddir)/libgimpmodule/libgimpmodule-$(GIMP_API_VERSION).la   \
        $(top_builddir)/libgimpcolor/libgimpcolor-$(GIMP_API_VERSION).la     \
        $(top_builddir)/libgimpthumb/libgimpthumb-$(GIMP_API_VERSION).la     \
        $(top_builddir)/libgimpmath/libgimpmath-$(GIMP_API_VERSION).la       \
        $(top_builddir)/libgimpconfig/libgimpconfig-$(GIMP_API_VERSION).la   \
        $(top_builddir)/libgimpbase/libgimpbase-$(GIMP_API_VERSION).la       \
        $(GTK_LIBS)                                                          \
        $(LIBART_LIBS)                                                       \
        $(PANGOFT2_LIBS)                                                     \
        $(FONTCONFIG_LIBS)                                                   \
        $(FREETYPE_LIBS)                                                     \
        $(HARFBUZZ_LIBS)                                                     \
	$(GEGL_LIBS)							     \
	$(RT_LIBS)							     \
	$(INTLLIBS)							     \
	$(libm)


if ENABLE_GTK_DOC_APP

include $(top_srcdir)/gtk-doc.make

else

EXTRA_DIST = \
	$(DOC_MODULE)-docs.sgml		\
	$(DOC_MODULE)-overrides.txt	\
	$(DOC_MODULE)-sections.txt

endif

# Other files to distribute
EXTRA_DIST += \
	$(DOC_MODULE).types	\
	version.in