Home | History | Annotate | Download | only in docs
      1 ## Process this file with automake to produce GNUmakefile.in
      2 
      3 # We require automake 1.6 at least.
      4 AUTOMAKE_OPTIONS = 1.6
      5 
      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.
     10 
     11 # The name of the module, e.g. 'glib'.
     12 DOC_MODULE=webkitgtk
     13 
     14 # The top-level SGML file. You can change this if you want to.
     15 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
     16 
     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=../webkit
     22 
     23 # Extra options to pass to gtkdoc-scangobj. Not normally needed.
     24 SCANGOBJ_OPTIONS="--type-init-func=g_thread_init(NULL);g_type_init()"
     25 
     26 # Extra options to supply to gtkdoc-scan.
     27 # e.g. SCAN_OPTIONS=--deprecated-guards="GTK_DISABLE_DEPRECATED"
     28 SCAN_OPTIONS=--deprecated-guards="WEBKIT_DISABLE_DEPRECATED" --ignore-decorators="WEBKIT_API"
     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 --source-suffixes=h,c,cpp
     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)/gtk/*.h
     44 # e.g. CFILE_GLOB=$(top_srcdir)/gtk/*.c
     45 HFILE_GLOB=$(top_srcdir)/Source/WebKit/gtk/webkit/*.h
     46 CFILE_GLOB=$(top_srcdir)/Source/WebKit/gtk/webkit/*.cpp
     47 
     48 # Header files to ignore when scanning.
     49 # e.g. IGNORE_HFILES=gtkdebug.h gtkintl.h
     50 IGNORE_HFILES=webkitprivate.h
     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=webkitenvironment.xml
     59 
     60 # SGML files where gtk-doc abbrevations (#GtkWidget) are expanded
     61 # These files must be listed here *and* in content_files
     62 # e.g. expand_content_files=running.sgml
     63 expand_content_files=
     64 
     65 # CFLAGS and LDFLAGS for compiling gtkdoc-scangobj with your library.
     66 # Only needed if you are using gtkdoc-scangobj to dynamically query widget
     67 # signals and properties.
     68 # e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
     69 # e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
     70 INCLUDES= \
     71 	-I$(top_srcdir)/Source/WebKit/gtk \
     72 	-I$(top_builddir)/Source/WebKit/gtk \
     73 	$(global_cppflags) \
     74 	$(global_cflags) \
     75 	-I$(top_srcdir)/Source \
     76 	-I$(top_srcdir)/Source/JavaScriptCore \
     77 	-I$(top_srcdir)/Source/JavaScriptCore/ForwardingHeaders \
     78 	-I$(top_srcdir)/Source/JavaScriptCore/parser \
     79 	-I$(top_srcdir)/Source/JavaScriptCore/wtf \
     80 	-I$(top_builddir)/DerivedSources \
     81 	-I$(top_srcdir)/Source/WebCore/platform/network/soup/cache \
     82 	$(GLOBALDEPS_CFLAGS) \
     83 	$(CAIRO_CFLAGS) \
     84 	$(GLIB_CFLAGS) \
     85 	$(GTK_CFLAGS) \
     86 	$(LIBSOUP_CFLAGS)
     87 GTKDOC_LIBS= \
     88 	$(top_builddir)/libwebkitgtk-@WEBKITGTK_API_MAJOR_VERSION@.@WEBKITGTK_API_MINOR_VERSION@.la \
     89 	$(GLIB_LIBS) \
     90 	$(GTK_LIBS) \
     91 	$(LIBSOUP_LIBS)
     92 
     93 # This includes the standard gtk-doc make rules, copied by gtkdocize.
     94 include $(top_srcdir)/gtk-doc.make
     95 
     96 # Other files to distribute
     97 # e.g. EXTRA_DIST += version.xml.in
     98 EXTRA_DIST +=
     99 
    100 # Files not to distribute
    101 # for --rebuild-types in $(SCAN_OPTIONS), e.g. $(DOC_MODULE).types
    102 # for --rebuild-sections in $(SCAN_OPTIONS) e.g. $(DOC_MODULE)-sections.txt
    103 #DISTCLEANFILES +=
    104 
    105 # Comment this out if you want your docs-status tested during 'make check'
    106 #TESTS = $(GTKDOC_CHECK)
    107 
    108