Initialize Tizen 2.3
[framework/multimedia/gst-openmax.git] / mobile / omx / Makefile.am
1 plugin_LTLIBRARIES = libgstomx.la
2
3 libgstomx_la_SOURCES = gstomx.c gstomx.h \
4                        gstomx_util.c gstomx_util.h \
5                        gstomx_interface.c gstomx_interface.h \
6                        gstomx_base_filter.c gstomx_base_filter.h \
7                        gstomx_base_videodec.c gstomx_base_videodec.h \
8                        gstomx_base_videoenc.c gstomx_base_videoenc.h \
9                        gstomx_base_audiodec.c gstomx_base_audiodec.h \
10                        gstomx_dummy.c gstomx_dummy.h \
11                        gstomx_volume.c gstomx_volume.h \
12                        gstomx_mpeg4dec.c gstomx_mpeg4dec.h \
13                        gstomx_h263dec.c gstomx_h263dec.h \
14                        gstomx_h264dec.c gstomx_h264dec.h \
15                        gstomx_wmvdec.c gstomx_wmvdec.h \
16                        gstomx_mpeg4enc.c gstomx_mpeg4enc.h \
17                        gstomx_h264enc.c gstomx_h264enc.h gstomx_h264.h \
18                        gstomx_h263enc.c gstomx_h263enc.h \
19                        gstomx_vorbisdec.c gstomx_vorbisdec.h \
20                        gstomx_mp3dec.c gstomx_mp3dec.h \
21                        gstomx_base_sink.c gstomx_base_sink.h \
22                        gstomx_audiosink.c gstomx_audiosink.h \
23                        gstomx_conf.c
24
25 if EXPERIMENTAL
26 libgstomx_la_SOURCES += gstomx_amrnbdec.c gstomx_amrnbdec.h \
27                         gstomx_amrnbenc.c gstomx_amrnbenc.h \
28                         gstomx_amrwbdec.c gstomx_amrwbdec.h \
29                         gstomx_amrwbenc.c gstomx_amrwbenc.h \
30                         gstomx_aacdec.c gstomx_aacdec.h \
31                         gstomx_aacenc.c gstomx_aacenc.h \
32                         gstomx_mp2dec.c gstomx_mp2dec.h \
33                         gstomx_adpcmdec.c gstomx_adpcmdec.h \
34                         gstomx_adpcmenc.c gstomx_adpcmenc.h \
35                         gstomx_g711dec.c gstomx_g711dec.h \
36                         gstomx_g711enc.c gstomx_g711enc.h \
37                         gstomx_g729dec.c gstomx_g729dec.h \
38                         gstomx_g729enc.c gstomx_g729enc.h \
39                         gstomx_ilbcdec.c gstomx_ilbcdec.h \
40                         gstomx_ilbcenc.c gstomx_ilbcenc.h \
41                         gstomx_jpegenc.c gstomx_jpegenc.h \
42                         gstomx_videosink.c gstomx_videosink.h \
43                         gstomx_base_src.c gstomx_base_src.h \
44                         gstomx_filereadersrc.c gstomx_filereadersrc.h
45 endif
46
47 libgstomx_la_CFLAGS = -I$(srcdir)/headers $(GST_CFLAGS) $(GST_BASE_CFLAGS) -I$(top_srcdir)/util
48 libgstomx_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(top_builddir)/util/libutil.la
49 libgstomx_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
50
51 EXTRA_DIST = headers gstomx.conf
52
53 gstomx_conf.c: gstomx.conf
54         echo "const char *default_config =" > $@
55         cat $^ | $(CPP) $(CFLAGS) $(libgstomx_la_CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) - | grep -v "^#" | sed 's/^.*/\"&\\\n"/' >> $@
56         echo ";" >> $@