We have a confusing array of nearly-identical CFLAGS/LIBS definitions in configure.ac. Time to simplify. Instead let's just have one definition that includes all the libraries provided by Evolution-Data-Server (incl. Camel). That, in combination with GNOME_PLATFORM, gives us most of what we need for compliation and linking, and we can sprinkle definitions for additional library dependencies in Makefile.am's as needed.
82 lines
2.5 KiB
Makefile
82 lines
2.5 KiB
Makefile
# The name of the module, e.g. 'glib'.
|
|
DOC_MODULE=eshell
|
|
|
|
# The top-level SGML file. You can change this if you want to.
|
|
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
|
|
|
|
# The directory containing the source code. Relative to $(srcdir).
|
|
# gtk-doc will search all .c & .h files beneath here for inline comments
|
|
# documenting the functions and macros.
|
|
# e.g. DOC_SOURCE_DIR=../../../gtk
|
|
DOC_SOURCE_DIR=../../..
|
|
|
|
# Extra options to pass to gtkdoc-scangobj. Not normally needed.
|
|
SCANGOBJ_OPTIONS=
|
|
|
|
# Extra options to supply to gtkdoc-scan.
|
|
# e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
|
|
SCAN_OPTIONS=
|
|
|
|
# Extra options to supply to gtkdoc-mkdb.
|
|
MKDB_OPTIONS=--sgml-mode --output-format=xml --name-space=e
|
|
|
|
# Extra options to supply to gtkdoc-mktmpl
|
|
# e.g. MKTMPL_OPTIONS=--only-section-tmpl
|
|
MKTMPL_OPTIONS=
|
|
|
|
# Extra options to supply to gtkdoc-fixref. Not normally needed.
|
|
# e.g. FIXXREF_OPTIONS=--extra-dir=../gdk-pixbuf/html --extra-dir=../gdk/html
|
|
FIXXREF_OPTIONS=
|
|
|
|
# Used for dependencies. The docs will be rebuilt if any of these change.
|
|
HFILE_GLOB=$(top_srcdir)/shell/*.h
|
|
CFILE_GLOB=$(top_srcdir)/shell/*.c
|
|
|
|
# Header files to ignore when scanning.
|
|
IGNORE_HFILES=e-shell-window-private.h
|
|
|
|
# Images to copy into HTML directory.
|
|
HTML_IMAGES=
|
|
|
|
# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
|
|
content_files=
|
|
|
|
# SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
|
|
# These files must be listed here *and* in content_files
|
|
expand_content_files=
|
|
|
|
# CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
|
|
# Only needed if you are using gtkdoc-scangobj to dynamically query widget
|
|
# signals and properties.
|
|
GTKDOC_CFLAGS= \
|
|
-I$(top_builddir) \
|
|
-I$(top_srcdir) \
|
|
$(EVOLUTION_DATA_SERVER_CFLAGS) \
|
|
$(GTKHTML_CFLAGS)
|
|
GTKDOC_LIBS= \
|
|
$(top_builddir)/shell/libeshell.la \
|
|
$(top_builddir)/e-util/libeutil.la \
|
|
$(top_builddir)/filter/libfilter.la \
|
|
$(top_builddir)/smclient/libeggsmclient.la \
|
|
$(top_builddir)/smclient/libeggdesktopfile.la \
|
|
$(top_builddir)/widgets/menus/libmenus.la \
|
|
$(top_builddir)/widgets/misc/libemiscwidgets.la \
|
|
$(EVOLUTION_DATA_SERVER_LIBS) \
|
|
$(GTKHTML_LIBS)
|
|
|
|
# This includes the standard gtk-doc make rules, copied by gtkdocize.
|
|
include $(top_srcdir)/gtk-doc.make
|
|
|
|
# Other files to distribute
|
|
# e.g. EXTRA_DIST += version.xml.in
|
|
EXTRA_DIST +=
|
|
|
|
# Files not to distribute
|
|
# for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
|
|
# for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
|
|
#DISTCLEANFILES +=
|
|
|
|
#TESTS = $(GTKDOC_CHECK)
|
|
|
|
-include $(top_srcdir)/git.mk
|