tizen 2.0 init
[framework/multimedia/gst-plugins-base0.10.git] / ext / vorbis / Makefile.am
1 plugin_LTLIBRARIES =
2
3 if USE_VORBIS
4 plugin_LTLIBRARIES += libgstvorbis.la
5
6 libgstvorbis_la_SOURCES = gstvorbis.c \
7                           gstvorbisdec.c \
8                           gstvorbisdeclib.c \
9                           gstvorbisenc.c \
10                           gstvorbisparse.c \
11                           gstvorbistag.c \
12                           gstvorbiscommon.c
13
14 libgstvorbis_la_CFLAGS = \
15         $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(VORBIS_CFLAGS)
16 ## AM_PATH_VORBIS also sets VORBISENC_LIBS
17 libgstvorbis_la_LIBADD = \
18         $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
19         $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
20         $(GST_LIBS) \
21         $(VORBIS_LIBS) $(VORBISENC_LIBS)
22 libgstvorbis_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
23 libgstvorbis_la_LIBTOOLFLAGS = --tag=disable-static
24 endif
25
26 if USE_IVORBIS
27 plugin_LTLIBRARIES += libgstivorbisdec.la
28
29 libgstivorbisdec_la_SOURCES = gstivorbisdec.c \
30         gstvorbisdec.c gstvorbisdeclib.c gstvorbiscommon.c
31 libgstivorbisdec_la_CFLAGS = \
32         $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) \
33         -DTREMOR $(IVORBIS_CFLAGS)
34 libgstivorbisdec_la_LIBADD = \
35         $(top_builddir)/gst-libs/gst/tag/libgsttag-@GST_MAJORMINOR@.la \
36         $(top_builddir)/gst-libs/gst/audio/libgstaudio-@GST_MAJORMINOR@.la \
37         $(GST_LIBS) $(IVORBIS_LIBS)
38 libgstivorbisdec_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
39 libgstivorbisdec_la_LIBTOOLFLAGS = --tag=disable-static
40 endif
41
42 noinst_HEADERS = gstvorbisenc.h \
43                  gstvorbisdec.h \
44                  gstvorbisdeclib.h \
45                  gstvorbisparse.h \
46                  gstvorbistag.h \
47                  gstvorbiscommon.h
48
49 Android.mk: Makefile.am $(BUILT_SOURCES)
50         androgenizer \
51         -:PROJECT libgstivorbisdec -:SHARED libgstivorbisdec \
52          -:TAGS eng debug \
53          -:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
54          -:SOURCES $(libgstivorbisdec_la_SOURCES) \
55          -:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstivorbisdec_la_CFLAGS) \
56          -:LDFLAGS $(libgstivorbisdec_la_LDFLAGS) \
57                    $(libgstivorbisdec_la_LIBADD) \
58                    -lvorbisidec \
59                    -ldl \
60          -:PASSTHROUGH LOCAL_ARM_MODE:=arm \
61                        LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-0.10' \
62         > $@