f61422d23eac111a7b6b22371ed457931300b56d
[modest] / docs / reference / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 # This is a blank Makefile.am for using gtk-doc.
4 # Copy this to your project's API docs directory and modify the variables to
5 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
6 # of using the various options.
7
8 # The name of the module, e.g. 'glib'.
9 DOC_MODULE=modest
10
11 # The top-level SGML file. You can change this if you want to.
12 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
13
14 # The directory containing the source code. Relative to $(srcdir).
15 # gtk-doc will search all .c & .h files beneath here for inline comments
16 # documenting the functions and macros.
17 # e.g. DOC_SOURCE_DIR=../../../gtk
18 DOC_SOURCE_DIR=$(top_srcdir)/src
19
20 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
21 SCANGOBJ_OPTIONS=
22
23 # Extra options to supply to gtkdoc-scan.
24 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED" 
25 SCAN_OPTIONS= \
26         --source-dir=$(top_srcdir)/src/widgets \
27         --source-dir=$(top_srcdir)/src/gtk \
28         --source-dir=$(top_srcdir)/src
29
30 # Extra options to supply to gtkdoc-mkdb.
31 # e.g. MKDB_OPTIONS=--sgml-mode --output-format=xml
32 MKDB_OPTIONS=--sgml-mode --output-format=xml
33
34 # Extra options to supply to gtkdoc-mktmpl
35 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
36 MKTMPL_OPTIONS=
37
38 # Extra options to supply to gtkdoc-fixref. Not normally needed.
39 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
40 FIXXREF_OPTIONS=
41
42 # Used for dependencies. The docs will be rebuilt if any of these change.
43 # e.g. HFILE_GLOB=$(top_srcdir)/*.h
44 # e.g. CFILE_GLOB=$(top_srcdir)/*.c
45 HFILE_GLOB=$(top_srcdir)/src/*.h $(top_srcdir)/src/widgets/*.h  $(top_srcdir)/src/gtk/*.h 
46 CFILE_GLOB=$(top_srcdir)/src/*.c $(top_srcdir)/src/widgets/*.c  $(top_srcdir)/src/gtk/*.c 
47
48 # Header files to ignore when scanning.
49 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
50 IGNORE_HFILES=
51
52 # Images to copy into HTML directory.
53 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
54 HTML_IMAGES=
55
56 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
57 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
58 content_files= \
59         modest-preface.sgml \
60         modest-architecture.sgml \
61         modest-design.sgml \
62         modest-coding-guidelines.sgml
63
64 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
65 # These files must be listed here *and* in content_files
66 # e.g. expand_content_files=running.sgml
67 expand_content_files=
68
69 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
70 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
71 # signals and properties.
72 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
73 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
74 INCLUDES=                                               \
75         -I$(top_srcdir)/src $(MODEST_GSTUFF_CFLAGS)     \
76         -I$(top_srcdir)/src                             \
77         -I$(top_srcdir)/src/gtk                         \
78         -I$(top_srcdir)/src/widgets
79
80
81 GTKDOC_LIBS= \
82         $(MODEST_LIBTINYMAIL_GNOME_DESKTOP_LIBS)        \
83         $(MODEST_LIBTINYMAIL_MAEMO_LIBS)                \
84         $(MODEST_GSTUFF_LIBS)                   \
85         $(top_builddir)/src/gtk/libmodest-ui.la         \
86         $(top_builddir)/src/widgets/libmodest-widgets.la\
87         ${top_builddir}/src/modest-account-mgr.o \
88         ${top_builddir}/src/modest-cache-mgr.o \
89         ${top_builddir}/src/modest-conf.o \
90         ${top_builddir}/src/modest-formatter.o \
91         ${top_builddir}/src/modest-icon-factory.o \
92         ${top_builddir}/src/modest-local-folder-info.o \
93         ${top_builddir}/src/modest-mail-operation.o \
94         ${top_builddir}/src/modest-mail-operation-queue.o \
95         ${top_builddir}/src/modest-marshal.o \
96         ${top_builddir}/src/modest-pair.o \
97         ${top_builddir}/src/modest-presets.o \
98         ${top_builddir}/src/modest-protocol-info.o \
99         ${top_builddir}/src/modest-text-utils.o \
100         ${top_builddir}/src/modest-tny-account-store.o \
101         ${top_builddir}/src/modest-tny-folder.o \
102         ${top_builddir}/src/modest-tny-msg-actions.o \
103         ${top_builddir}/src/modest-tny-platform-factory.o \
104         ${top_builddir}/src/modest-ui.o \
105         ${top_builddir}/src/modest-widget-factory.o \
106         ${top_builddir}/src/modest-widget-memory.o
107
108 # This includes the standard gtk-doc make rules, copied by gtkdocize.
109 include $(top_srcdir)/gtk-doc.make
110
111 # Other files to distribute
112 # e.g. EXTRA_DIST += version.xml.in
113 EXTRA_DIST +=