2d7b3eab742cdc5b709f15042f9d956e803cda67
[platform/upstream/gstreamer.git] / docs / libs / Makefile.am
1 ## Process this file with automake to produce Makefile.in
2
3 # The name of the module, e.g. 'glib'.
4 #DOC_MODULE=gstreamer-libs-@GST_MAJORMINOR@
5 DOC_MODULE=gstreamer-libs
6
7 # for upload.mak
8 DOC=gstreamer-libs
9 FORMATS=html
10 html: html-build.stamp
11 include $(srcdir)/../upload.mak
12
13 # generated basefiles
14 #basefiles = \
15 #               $(DOC_MODULE).types \
16 #               $(DOC_MODULE)-sections.txt \
17 #               $(DOC_MODULE)-docs.sgml
18
19 # ugly hack to make -unused.sgml work
20 #unused-build.stamp:
21 #       BUILDDIR=`pwd` && \
22 #       cd $(srcdir)/tmpl && \
23 #       ln -sf gstreamer-libs-unused.sgml \
24 #               $$BUILDDIR/tmpl/gstreamer-libs-@GST_MAJORMINOR@-unused.sgml
25 #       touch unused-build.stamp
26
27 # these rules are added to create parallel docs using GST_MAJORMINOR
28 #$(basefiles): gstreamer-libs-@GST_MAJORMINOR@%: gstreamer-libs%
29 #       cp $< $@
30
31 #CLEANFILES = $(basefiles)
32
33 # The top-level SGML file. Change it if you want.
34 DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml
35
36 # The directory containing the source code. Relative to $(top_srcdir).
37 # gtk-doc will search all .c & .h files beneath here for inline comments
38 # documenting functions and macros.
39 DOC_SOURCE_DIR=$(top_srcdir)/libs/gst
40 DOC_BUILD_DIR=$(top_builddir)/libs/gst
41
42 # Extra options to supply to gtkdoc-scan.
43 SCAN_OPTIONS=--deprecated-guards="GST_DISABLE_DEPRECATED"
44
45 # FIXME :
46 # there's something wrong with gstreamer-sections.txt not being in the dist
47 # maybe it doesn't resolve; we're adding it below for now
48 #EXTRA_DIST = gstreamer.types.in gstreamer.hierarchy $(DOC_MODULE)-sections.txt gstreamer-sections.txt $(DOC_MAIN_SGML_FILE)
49
50 # Extra options to supply to gtkdoc-mkdb.
51 MKDB_OPTIONS= --output-format=xml --sgml-mode --ignore-files=trio
52
53 # Extra options to supply to gtkdoc-fixref.
54 FIXXREF_OPTIONS=--extra-dir=../gst/html
55
56 # Used for dependencies.
57 HFILE_GLOB=$(DOC_SOURCE_DIR)/*/*.h
58 CFILE_GLOB=$(DOC_SOURCE_DIR)/*/*.c
59
60 # Dependencies for the intermediate scanobj tool
61 #SCANOBJ_DEPS = $(top_builddir)/gst/elements/libgstelements.la \
62 #       $(top_builddir)/gst/schedulers/libgstbasicomegascheduler.la \
63 #       $(top_builddir)/libs/gst/control/libgstcontrol-@GST_MAJORMINOR@.la
64 SCANOBJ_DEPS = $(top_builddir)/libs/gst/controller/libgstcontroller-@GST_MAJORMINOR@.la
65
66 # Extra options to pass to gtkdoc-scanobj or gtkdoc-scangobj.
67 SCANOBJ_OPTIONS=--type-init-func="g_type_init();gst_init(&argc,&argv)"
68
69 # Header files to ignore when scanning.
70 IGNORE_HFILES = \
71         gstgetbits_inl.h \
72         dp-private.h
73
74 # Images to copy into HTML directory.
75 HTML_IMAGES =
76
77 # Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
78 content_files =
79
80 # Other files to distribute.
81 extra_files =
82
83 # CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
84 # contains GtkObjects/GObjects and you want to document signals and properties.
85 GTKDOC_CFLAGS = $(GST_OBJ_CFLAGS) -I$(top_builddir) -I$(top_builddir)/libs
86 GTKDOC_LIBS = $(GST_OBJ_LIBS) $(SCANOBJ_DEPS)
87
88 GTKDOC_CC=$(LIBTOOL) --mode=compile $(CC)
89 GTKDOC_LD=$(LIBTOOL) --mode=link $(CC)
90
91 # If you need to override some of the declarations, place them in this file
92 # and uncomment this line.
93 DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
94
95 include $(top_srcdir)/common/gtk-doc.mak