Makefile.am 10.3 KB
Newer Older
1 2 3 4 5 6 7 8 9
GST_DOC_SCANOBJ = $(top_srcdir)/common/gstdoc-scangobj

## Process this file with automake to produce Makefile.in

# The name of the module, e.g. 'glib'.
#DOC_MODULE=gst-plugins-libs-@GST_MAJORMINOR@
MODULE=gst-plugins-good
DOC_MODULE=$(MODULE)-plugins

10
# for upload-doc.mak
11 12 13
DOC=$(MODULE)-plugins
FORMATS=html
html: html-build.stamp
14
include $(top_srcdir)/common/upload-doc.mak
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47

# generated basefiles
#basefiles = \
##		$(DOC_MODULE).types \
#		$(DOC_MODULE)-sections.txt \
#		$(DOC_MODULE)-docs.sgml

# ugly hack to make -unused.sgml work
#unused-build.stamp:
#	BUILDDIR=`pwd` && \
#	cd $(srcdir)/tmpl && \
#	ln -sf gstreamer-libs-unused.sgml \
#		$$BUILDDIR/tmpl/gstreamer-libs-@GST_MAJORMINOR@-unused.sgml
#	touch unused-build.stamp

# these rules are added to create parallel docs using GST_MAJORMINOR
#$(basefiles): gstreamer-libs-@GST_MAJORMINOR@%: gstreamer-libs%
#	cp $< $@

#CLEANFILES = $(basefiles)

# The top-level SGML file. Change it if you want.
DOC_MAIN_SGML_FILE=$(DOC_MODULE)-docs.sgml

# The directory containing the source code. Relative to $(top_srcdir).
# gtk-doc will search all .c & .h files beneath here for inline comments
# documenting functions and macros.
DOC_SOURCE_DIR = $(top_srcdir)

# Extra options to supply to gtkdoc-scan.
SCAN_OPTIONS=

# Extra options to supply to gtkdoc-mkdb.
48
MKDB_OPTIONS=--sgml-mode --source-suffixes=c,h,cc
49 50

# Extra options to supply to gtkdoc-fixref.
51 52 53
FIXXREF_OPTIONS=--extra-dir=$(GLIB_PREFIX)/share/gtk-doc/html \
	--extra-dir=$(GST_PREFIX)/share/gtk-doc/html \
	--extra-dir=$(GSTPB_PREFIX)/share/gtk-doc/html
54 55 56

# Used for dependencies.
HFILE_GLOB=$(DOC_SOURCE_DIR)/*/*/*.h
57
CFILE_GLOB=$(DOC_SOURCE_DIR)/*/*/*.c $(DOC_SOURCE_DIR)/*/*/*.cc $(DOC_SOURCE_DIR)/*/*/*.m
58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77

# this is a wingo addition
# thomasvs: another nice wingo addition would be an explanation on why
# this is useful ;)

SCANOBJ_DEPS =

# Header files to ignore when scanning.
IGNORE_HFILES = 
IGNORE_CFILES =

# we add all .h files of elements that have signals/args we want
# sadly this also pulls in the private methods - maybe we should
# move those around in the source ?
# also, we should add some stuff here conditionally based on whether
# or not the plugin will actually build
# but I'm not sure about that - it might be this Just Works given that
# the registry won't have the element

EXTRA_HFILES = \
Stefan Kost's avatar
Stefan Kost committed
78
	$(top_srcdir)/ext/aalib/gstaasink.h \
79 80
	$(top_srcdir)/ext/annodex/gstcmmldec.h \
	$(top_srcdir)/ext/annodex/gstcmmlenc.h \
81
	$(top_srcdir)/ext/cairo/gsttextoverlay.h \
Thomas Vander Stichele's avatar
Thomas Vander Stichele committed
82
	$(top_srcdir)/ext/cairo/gsttimeoverlay.h \
83
	$(top_srcdir)/ext/cairo/gstcairorender.h \
84
	$(top_srcdir)/ext/cairo/gstcairooverlay.h \
85 86
	$(top_srcdir)/ext/dv/gstdvdec.h \
	$(top_srcdir)/ext/dv/gstdvdemux.h \
87
	$(top_srcdir)/ext/esd/esdsink.h \
88
	$(top_srcdir)/ext/flac/gstflacdec.h \
89 90
	$(top_srcdir)/ext/flac/gstflacenc.h \
	$(top_srcdir)/ext/flac/gstflactag.h \
91 92 93 94
	$(top_srcdir)/ext/gconf/gstgconfaudiosrc.h \
	$(top_srcdir)/ext/gconf/gstgconfaudiosink.h \
	$(top_srcdir)/ext/gconf/gstgconfvideosrc.h \
	$(top_srcdir)/ext/gconf/gstgconfvideosink.h \
95
	$(top_srcdir)/ext/gdk_pixbuf/gstgdkpixbufsink.h \
96 97
	$(top_srcdir)/ext/hal/gsthalaudiosink.h \
	$(top_srcdir)/ext/hal/gsthalaudiosrc.h \
98 99
	$(top_srcdir)/ext/jack/gstjackaudiosrc.h \
	$(top_srcdir)/ext/jack/gstjackaudiosink.h \
100 101 102 103
	$(top_srcdir)/ext/jpeg/gstjpegdec.h \
	$(top_srcdir)/ext/jpeg/gstjpegenc.h \
	$(top_srcdir)/ext/jpeg/gstsmokedec.h \
	$(top_srcdir)/ext/jpeg/gstsmokeenc.h \
Stefan Kost's avatar
Stefan Kost committed
104
	$(top_srcdir)/ext/libcaca/gstcacasink.h \
Stefan Kost's avatar
Stefan Kost committed
105 106
	$(top_srcdir)/ext/libpng/gstpngdec.h \
	$(top_srcdir)/ext/libpng/gstpngenc.h \
107
	$(top_srcdir)/ext/raw1394/gstdv1394src.h \
108
	$(top_srcdir)/ext/raw1394/gsthdv1394src.h \
109
	$(top_srcdir)/ext/soup/gstsouphttpsrc.h \
110
	$(top_srcdir)/ext/taglib/gstapev2mux.h \
111
	$(top_srcdir)/ext/taglib/gstid3v2mux.h \
112 113 114
	$(top_srcdir)/ext/pulse/pulsesink.h \
	$(top_srcdir)/ext/pulse/pulsesrc.h \
	$(top_srcdir)/ext/pulse/pulsemixer.h \
115 116
	$(top_srcdir)/ext/speex/gstspeexenc.h \
	$(top_srcdir)/ext/speex/gstspeexdec.h \
117 118 119
	$(top_srcdir)/ext/wavpack/gstwavpackdec.h \
	$(top_srcdir)/ext/wavpack/gstwavpackenc.h \
	$(top_srcdir)/ext/wavpack/gstwavpackparse.h \
120
	$(top_srcdir)/gst/alpha/gstalpha.h \
121 122 123
	$(top_srcdir)/gst/alpha/gstalphacolor.h \
	$(top_srcdir)/gst/apetag/gstapedemux.h \
	$(top_srcdir)/gst/audiofx/audioamplify.h \
124
	$(top_srcdir)/gst/audiofx/audioecho.h \
125 126
	$(top_srcdir)/gst/audiofx/audiodynamic.h \
	$(top_srcdir)/gst/audiofx/audioinvert.h \
127
	$(top_srcdir)/gst/audiofx/audiokaraoke.h \
128
	$(top_srcdir)/gst/audiofx/audiopanorama.h \
129 130
	$(top_srcdir)/gst/audiofx/audiocheblimit.h \
	$(top_srcdir)/gst/audiofx/audiochebband.h \
131
	$(top_srcdir)/gst/audiofx/audioiirfilter.h \
132 133
	$(top_srcdir)/gst/audiofx/audiowsincband.h \
	$(top_srcdir)/gst/audiofx/audiowsinclimit.h \
134
	$(top_srcdir)/gst/audiofx/audiofirfilter.h \
135 136 137 138 139 140
	$(top_srcdir)/gst/audioparsers/gstaacparse.h \
	$(top_srcdir)/gst/audioparsers/gstac3parse.h \
	$(top_srcdir)/gst/audioparsers/gstamrparse.h \
	$(top_srcdir)/gst/audioparsers/gstflacparse.h \
	$(top_srcdir)/gst/audioparsers/gstdcaparse.h \
	$(top_srcdir)/gst/audioparsers/gstmpegaudioparse.h \
141
	$(top_srcdir)/gst/auparse/gstauparse.h \
142
	$(top_srcdir)/gst/autodetect/gstautoaudiosink.h \
143
	$(top_srcdir)/gst/autodetect/gstautoaudiosrc.h \
144
	$(top_srcdir)/gst/autodetect/gstautovideosink.h \
145
	$(top_srcdir)/gst/autodetect/gstautovideosrc.h \
146 147
	$(top_srcdir)/gst/avi/gstavidemux.h \
	$(top_srcdir)/gst/avi/gstavimux.h \
148
	$(top_srcdir)/gst/avi/gstavisubtitle.h \
149
	$(top_srcdir)/gst/cutter/gstcutter.h \
150
	$(top_srcdir)/gst/debugutils/gstcapssetter.h \
151 152
	$(top_srcdir)/gst/debugutils/gsttaginject.h \
	$(top_srcdir)/gst/debugutils/progressreport.h \
153
	$(top_srcdir)/gst/deinterlace/gstdeinterlace.h \
154 155 156 157 158 159 160 161
	$(top_srcdir)/gst/effectv/gstaging.h \
	$(top_srcdir)/gst/effectv/gstdice.h \
	$(top_srcdir)/gst/effectv/gstedge.h \
	$(top_srcdir)/gst/effectv/gstquark.h \
	$(top_srcdir)/gst/effectv/gstrev.h \
	$(top_srcdir)/gst/effectv/gstshagadelic.h \
	$(top_srcdir)/gst/effectv/gstvertigo.h \
	$(top_srcdir)/gst/effectv/gstwarp.h \
162 163 164 165
	$(top_srcdir)/gst/effectv/gststreak.h \
	$(top_srcdir)/gst/effectv/gstripple.h \
	$(top_srcdir)/gst/effectv/gstop.h \
	$(top_srcdir)/gst/effectv/gstradioac.h \
Stefan Kost's avatar
Stefan Kost committed
166 167 168 169
	$(top_srcdir)/gst/equalizer/gstiirequalizer.h \
	$(top_srcdir)/gst/equalizer/gstiirequalizer3bands.h \
	$(top_srcdir)/gst/equalizer/gstiirequalizer10bands.h \
	$(top_srcdir)/gst/equalizer/gstiirequalizernbands.h \
170 171
	$(top_srcdir)/gst/flv/gstflvdemux.h \
	$(top_srcdir)/gst/flv/gstflvmux.h \
Stefan Kost's avatar
Stefan Kost committed
172
	$(top_srcdir)/gst/flx/gstflxdec.h \
173
	$(top_srcdir)/gst/goom/gstgoom.h \
174 175 176 177 178
	$(top_srcdir)/gst/goom2k1/gstgoom.h \
	$(top_srcdir)/gst/law/alaw-decode.h \
	$(top_srcdir)/gst/law/alaw-encode.h \
	$(top_srcdir)/gst/law/mulaw-decode.h \
	$(top_srcdir)/gst/law/mulaw-encode.h \
179
	$(top_srcdir)/gst/icydemux/gsticydemux.h \
180
	$(top_srcdir)/gst/id3demux/gstid3demux.h \
181
	$(top_srcdir)/gst/imagefreeze/gstimagefreeze.h \
182 183
	$(top_srcdir)/gst/interleave/deinterleave.h \
	$(top_srcdir)/gst/interleave/interleave.h \
184
	$(top_srcdir)/gst/level/gstlevel.h \
185 186
	$(top_srcdir)/gst/matroska/matroska-demux.h \
	$(top_srcdir)/gst/matroska/matroska-mux.h \
187
	$(top_srcdir)/gst/matroska/webm-mux.h \
188
	$(top_srcdir)/gst/monoscope/gstmonoscope.h \
Jan Schmidt's avatar
Jan Schmidt committed
189 190
	$(top_srcdir)/gst/multifile/gstmultifilesink.h \
	$(top_srcdir)/gst/multifile/gstmultifilesrc.h \
191 192
	$(top_srcdir)/gst/multipart/multipartdemux.h \
	$(top_srcdir)/gst/multipart/multipartmux.h \
193
	$(top_srcdir)/gst/quicktime/qtdemux.h \
194 195 196
	$(top_srcdir)/gst/replaygain/gstrganalysis.h \
	$(top_srcdir)/gst/replaygain/gstrglimiter.h \
	$(top_srcdir)/gst/replaygain/gstrgvolume.h \
197
	$(top_srcdir)/gst/rtp/gstrtpj2kpay.h \
198
	$(top_srcdir)/gst/rtp/gstrtpjpegpay.h \
199 200 201 202 203
	$(top_srcdir)/gst/rtpmanager/gstrtpbin.h \
	$(top_srcdir)/gst/rtpmanager/gstrtpjitterbuffer.h \
	$(top_srcdir)/gst/rtpmanager/gstrtpptdemux.h \
	$(top_srcdir)/gst/rtpmanager/gstrtpsession.h \
	$(top_srcdir)/gst/rtpmanager/gstrtpssrcdemux.h \
204 205
	$(top_srcdir)/gst/rtsp/gstrtpdec.h \
	$(top_srcdir)/gst/rtsp/gstrtspsrc.h \
206
	$(top_srcdir)/gst/shapewipe/gstshapewipe.h \
207 208
	$(top_srcdir)/gst/smpte/gstsmpte.h \
	$(top_srcdir)/gst/smpte/gstsmptealpha.h \
Jan Schmidt's avatar
Jan Schmidt committed
209
	$(top_srcdir)/gst/spectrum/gstspectrum.h \
210
	$(top_srcdir)/gst/udp/gstmultiudpsink.h \
211
	$(top_srcdir)/gst/udp/gstudpsrc.h \
212
	$(top_srcdir)/gst/udp/gstudpsink.h \
213
	$(top_srcdir)/gst/videobox/gstvideobox.h \
Stefan Kost's avatar
Stefan Kost committed
214
	$(top_srcdir)/gst/videocrop/gstvideocrop.h \
215
	$(top_srcdir)/gst/videocrop/gstaspectratiocrop.h \
216
	$(top_srcdir)/gst/videofilter/gstgamma.h \
217
	$(top_srcdir)/gst/videofilter/gstvideobalance.h \
218
	$(top_srcdir)/gst/videofilter/gstvideoflip.h \
219 220
	$(top_srcdir)/gst/videomixer/videomixer.h \
	$(top_srcdir)/gst/videomixer/videomixerpad.h \
221 222
	$(top_srcdir)/gst/videomixer/videomixer2.h \
	$(top_srcdir)/gst/videomixer/videomixer2pad.h \
223
	$(top_srcdir)/gst/wavenc/gstwavenc.h \
224
	$(top_srcdir)/gst/wavparse/gstwavparse.h \
225
	$(top_srcdir)/gst/y4m/gsty4mencode.h \
226
	$(top_srcdir)/sys/directsound/gstdirectsoundsink.h \
227 228 229
	$(top_srcdir)/sys/oss4/oss4-mixer.h \
	$(top_srcdir)/sys/oss4/oss4-sink.h \
	$(top_srcdir)/sys/oss4/oss4-source.h \
230 231
	$(top_srcdir)/sys/oss/gstossmixerelement.h \
	$(top_srcdir)/sys/oss/gstosssink.h \
232
	$(top_srcdir)/sys/oss/gstosssrc.h \
233 234 235
	$(top_srcdir)/sys/osxaudio/gstosxaudiosrc.h \
	$(top_srcdir)/sys/osxaudio/gstosxaudiosink.h \
	$(top_srcdir)/sys/osxvideo/osxvideosink.h \
236
	$(top_srcdir)/sys/v4l2/gstv4l2src.h \
Stefan Kost's avatar
Stefan Kost committed
237
	$(top_srcdir)/sys/v4l2/gstv4l2sink.h \
238
	$(top_srcdir)/sys/v4l2/gstv4l2radio.h \
239
	$(top_srcdir)/sys/waveform/gstwaveformsink.h \
240
	$(top_srcdir)/sys/ximage/gstximagesrc.h
241

242 243
# example code that needs to be converted to xml and placed in xml/
EXAMPLE_CFILES = \
244
	$(top_srcdir)/tests/examples/level/level-example.c \
245 246 247
	$(top_srcdir)/tests/examples/spectrum/spectrum-example.c \
	$(top_srcdir)/tests/examples/audiofx/firfilter-example.c \
	$(top_srcdir)/tests/examples/audiofx/iirfilter-example.c
248

249 250 251 252 253 254 255 256 257 258 259 260 261 262
# Images to copy into HTML directory.
HTML_IMAGES =

# Extra SGML files that are included by $(DOC_MAIN_SGML_FILE).
content_files =

# Other files to distribute.
extra_files =

# CFLAGS and LDFLAGS for compiling scan program. Only needed if your app/lib
# contains GtkObjects/GObjects and you want to document signals and properties.
GTKDOC_CFLAGS = $(GST_BASE_CFLAGS) -I$(top_builddir)
GTKDOC_LIBS = $(SCANOBJ_DEPS) $(GST_BASE_LIBS)

Jan Schmidt's avatar
Jan Schmidt committed
263 264
GTKDOC_CC=$(LIBTOOL) --tag=CC --mode=compile $(CC)
GTKDOC_LD=$(LIBTOOL) --tag=CC --mode=link $(CC)
265 266 267 268 269 270 271

# If you need to override some of the declarations, place them in this file
# and uncomment this line.
#DOC_OVERRIDES = $(DOC_MODULE)-overrides.txt
DOC_OVERRIDES =

include $(top_srcdir)/common/gtk-doc-plugins.mak