1 ## Process this file with automake to produce Makefile.in
3 # We require automake 1.6 at least.
6 # This is a blank Makefile.am for using gtk-doc.
7 # Copy this to your project's API docs directory and modify the variables to
8 # suit your project. See the GTK+ Makefiles in gtk+/docs/reference for examples
9 # of using the various options.
11 # The name of the module, e.g. 'glib'.
14 # The top-level SGML file. You can change this if you want to.
15 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
17 # The directory containing the source code. Relative to $(srcdir).
18 # gtk-doc will search all .c & .h files beneath here for inline comments
19 # documenting the functions and macros.
20 # e.g. DOC_SOURCE_DIR=../../../gtk
21 DOC_SOURCE_DIR=../../../shell --source-dir=../../../libmisc
23 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
26 # Extra options to supply to gtkdoc-scan.
27 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
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
34 # Extra options to supply to gtkdoc-mktmpl
35 # e.g. MKTMPL_OPTIONS=--only-section-tmpl
36 MKTMPL_OPTIONS=--source-dir=../../../libmisc
38 # Add the builddir to the HTML path so that version.xml is found
39 MKHTML_OPTIONS=--path="$(abs_builddir)"
41 # Extra options to supply to gtkdoc-fixref. Not normally needed.
42 # e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
45 # Used for dependencies. The docs will be rebuilt if any of these change.
46 # e.g. HFILE_GLOB=$(top_srcdir)/gtk/*.h
47 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
48 HFILE_GLOB=$(top_srcdir)/shell/*.h
49 CFILE_GLOB=$(top_srcdir)/shell/*.c
51 # Header files to ignore when scanning.
52 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
57 # Images to copy into HTML directory.
58 # e.g. HTML_IMAGES=$(top_srcdir)/gtk/stock-icons/stock_about_24.png
61 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
62 # e.g. content_files=running.sgml building.sgml changes-2.0.sgml
65 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
66 # These files must be listed here *and* in content_files
67 # e.g. expand_content_files=running.sgml
70 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
71 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
72 # signals and properties.
73 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
74 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
78 -I$(top_srcdir)/shell \
79 -DDATADIR=\"$(pkgdatadir)\" \
80 -DGNOMEDATADIR=\"$(datadir)\" \
81 -I$(top_srcdir)/cut-n-paste/zoom-control/ \
82 -I$(top_srcdir)/cut-n-paste/toolbar-editor/ \
83 -I$(top_srcdir)/cut-n-paste/totem-screensaver/ \
84 -I$(top_srcdir)/libdocument \
85 -I$(top_builddir)/libdocument \
86 -I$(top_srcdir)/libview \
87 -I$(top_srcdir)/libmisc \
88 -I$(top_builddir)/libview \
89 -I$(top_srcdir)/properties \
90 -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
91 -DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \
92 -DEVINCE_COMPILATION \
95 $(DISABLE_DEPRECATED) \
99 $(top_builddir)/cut-n-paste/zoom-control/libephyzoom.la \
100 $(top_builddir)/cut-n-paste/toolbar-editor/libtoolbareditor.la \
101 $(top_builddir)/cut-n-paste/totem-screensaver/libtotemscrsaver.la \
102 $(top_builddir)/cut-n-paste/gedit-message-area/libgeditmsgarea.la \
103 $(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la \
104 $(top_builddir)/cut-n-paste/smclient/libsmclient.la \
105 $(top_builddir)/properties/libevproperties.la \
106 $(top_builddir)/libdocument/libevdocument.la \
107 $(top_builddir)/libview/libevview.la \
108 $(top_builddir)/libmisc/libevmisc.la \
111 $(filter-out ../../../shell/main.o,$(wildcard ../../../shell/*.o))
114 GTKDOC_LIBS += $(DJVU_LIBS)
118 GTKDOC_LIBS += -lkpathsea
125 # This includes the standard gtk-doc make rules, copied by gtkdocize.
126 include $(top_srcdir)/gtk-doc.make
128 # Other files to distribute
129 # e.g. EXTRA_DIST += version.xml.in
130 EXTRA_DIST += version.xml.in