summaryrefslogtreecommitdiff
path: root/ext/vorbis/Makefile.am
blob: fc285a8d7eb9f333c8d0d9b71fd0aa83894b3e84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
plugin_LTLIBRARIES =

if USE_VORBIS
plugin_LTLIBRARIES += libgstvorbis.la

libgstvorbis_la_SOURCES = gstvorbis.c \
			  gstvorbisdec.c \
			  gstvorbisdeclib.c \
			  gstvorbisenc.c \
			  gstvorbisparse.c \
			  gstvorbistag.c \
			  gstvorbiscommon.c

libgstvorbis_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(VORBIS_CFLAGS)
## AM_PATH_VORBIS also sets VORBISENC_LIBS
libgstvorbis_la_LIBADD = \
	$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
	$(GST_LIBS) \
	$(VORBIS_LIBS) $(VORBISENC_LIBS)
libgstvorbis_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstvorbis_la_LIBTOOLFLAGS = --tag=disable-static
endif

if USE_IVORBIS
plugin_LTLIBRARIES += libgstivorbisdec.la

libgstivorbisdec_la_SOURCES = gstivorbisdec.c \
	gstvorbisdec.c gstvorbisdeclib.c gstvorbiscommon.c
libgstivorbisdec_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
	-DTREMOR $(IVORBIS_CFLAGS)
libgstivorbisdec_la_LIBADD = \
	$(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
	$(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
	$(GST_LIBS) $(IVORBIS_LIBS)
libgstivorbisdec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstivorbisdec_la_LIBTOOLFLAGS = --tag=disable-static
endif

noinst_HEADERS = gstvorbisenc.h \
		 gstvorbisdec.h \
		 gstvorbisdeclib.h \
		 gstvorbisparse.h \
		 gstvorbistag.h \
		 gstvorbiscommon.h