summaryrefslogtreecommitdiff
path: root/omx/Makefile.am
blob: 7e9f81f196d684dd6954509776bf44420a6a9f4c (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
47
48
49
50
51
52
53
54
55
56
plugin_LTLIBRARIES = libgstomx.la

libgstomx_la_SOURCES = gstomx.c gstomx.h \
		       gstomx_util.c gstomx_util.h \
		       gstomx_interface.c gstomx_interface.h \
		       gstomx_base_filter.c gstomx_base_filter.h \
		       gstomx_base_videodec.c gstomx_base_videodec.h \
		       gstomx_base_videoenc.c gstomx_base_videoenc.h \
		       gstomx_base_audiodec.c gstomx_base_audiodec.h \
		       gstomx_dummy.c gstomx_dummy.h \
		       gstomx_volume.c gstomx_volume.h \
		       gstomx_mpeg4dec.c gstomx_mpeg4dec.h \
		       gstomx_h263dec.c gstomx_h263dec.h \
		       gstomx_h264dec.c gstomx_h264dec.h \
		       gstomx_wmvdec.c gstomx_wmvdec.h \
		       gstomx_mpeg4enc.c gstomx_mpeg4enc.h \
		       gstomx_h264enc.c gstomx_h264enc.h \
		       gstomx_h263enc.c gstomx_h263enc.h \
		       gstomx_vorbisdec.c gstomx_vorbisdec.h \
		       gstomx_mp3dec.c gstomx_mp3dec.h \
		       gstomx_base_sink.c gstomx_base_sink.h \
		       gstomx_audiosink.c gstomx_audiosink.h \
		       gstomx_conf.c

if EXPERIMENTAL
libgstomx_la_SOURCES += gstomx_amrnbdec.c gstomx_amrnbdec.h \
			gstomx_amrnbenc.c gstomx_amrnbenc.h \
			gstomx_amrwbdec.c gstomx_amrwbdec.h \
			gstomx_amrwbenc.c gstomx_amrwbenc.h \
			gstomx_aacdec.c gstomx_aacdec.h \
			gstomx_aacenc.c gstomx_aacenc.h \
			gstomx_mp2dec.c gstomx_mp2dec.h \
			gstomx_adpcmdec.c gstomx_adpcmdec.h \
			gstomx_adpcmenc.c gstomx_adpcmenc.h \
			gstomx_g711dec.c gstomx_g711dec.h \
			gstomx_g711enc.c gstomx_g711enc.h \
			gstomx_g729dec.c gstomx_g729dec.h \
			gstomx_g729enc.c gstomx_g729enc.h \
			gstomx_ilbcdec.c gstomx_ilbcdec.h \
			gstomx_ilbcenc.c gstomx_ilbcenc.h \
			gstomx_jpegenc.c gstomx_jpegenc.h \
			gstomx_videosink.c gstomx_videosink.h \
			gstomx_base_src.c gstomx_base_src.h \
			gstomx_filereadersrc.c gstomx_filereadersrc.h
endif

libgstomx_la_CFLAGS = -I$(srcdir)/headers $(GST_CFLAGS) $(GST_BASE_CFLAGS) -I$(top_srcdir)/util
libgstomx_la_LIBADD = $(GST_LIBS) $(GST_BASE_LIBS) $(top_builddir)/util/libutil.la
libgstomx_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)

EXTRA_DIST = headers

gstomx_conf.c: gstomx.conf
	echo "const char *default_config =" > $@
	cat $^ | $(CPP) $(CFLAGS) $(libgstomx_la_CFLAGS) $(DEFAULT_INCLUDES) $(INCLUDES) - | grep -v "^#" | sed 's/^.*/\"&\\\n"/' >> $@
	echo ";" >> $@