2013-01-14 10:41:57 +00:00
|
|
|
plugin_LTLIBRARIES = libgstomx.la
|
2011-06-28 06:51:23 +00:00
|
|
|
|
2013-03-18 15:06:54 +00:00
|
|
|
if HAVE_VP8
|
|
|
|
VP8_C_FILES=gstomxvp8dec.c
|
|
|
|
VP8_H_FILES=gstomxvp8dec.h
|
|
|
|
endif
|
|
|
|
|
2013-01-14 10:41:57 +00:00
|
|
|
libgstomx_la_SOURCES = \
|
2011-06-28 06:51:23 +00:00
|
|
|
gstomx.c \
|
|
|
|
gstomxvideodec.c \
|
2011-07-20 06:34:33 +00:00
|
|
|
gstomxvideoenc.c \
|
2011-08-15 13:10:04 +00:00
|
|
|
gstomxaudioenc.c \
|
2013-03-18 15:30:40 +00:00
|
|
|
gstomxmjpegdec.c \
|
2011-06-28 06:51:23 +00:00
|
|
|
gstomxmpeg4videodec.c \
|
2013-03-18 15:34:21 +00:00
|
|
|
gstomxmpeg2videodec.c \
|
2011-07-12 06:53:15 +00:00
|
|
|
gstomxh264dec.c \
|
2011-07-25 09:44:56 +00:00
|
|
|
gstomxh263dec.c \
|
2013-03-18 15:06:54 +00:00
|
|
|
$(VP8_C_FILES) \
|
2011-07-25 10:01:05 +00:00
|
|
|
gstomxwmvdec.c \
|
2011-07-20 06:34:33 +00:00
|
|
|
gstomxmpeg4videoenc.c \
|
2011-07-25 09:32:51 +00:00
|
|
|
gstomxh264enc.c \
|
2011-07-29 10:06:21 +00:00
|
|
|
gstomxh263enc.c \
|
2013-01-10 13:44:33 +00:00
|
|
|
gstomxaacenc.c
|
2011-06-28 06:51:23 +00:00
|
|
|
|
|
|
|
noinst_HEADERS = \
|
2011-07-13 11:59:50 +00:00
|
|
|
gstomx.h \
|
2011-06-28 06:51:23 +00:00
|
|
|
gstomxvideodec.h \
|
2011-07-20 06:34:33 +00:00
|
|
|
gstomxvideoenc.h \
|
2011-08-15 13:10:04 +00:00
|
|
|
gstomxaudioenc.h \
|
2013-03-18 15:30:40 +00:00
|
|
|
gstomxmjpegdec.h \
|
2013-03-18 15:34:21 +00:00
|
|
|
gstomxmpeg2videodec.h \
|
2011-06-28 06:51:23 +00:00
|
|
|
gstomxmpeg4videodec.h \
|
2011-07-12 06:53:15 +00:00
|
|
|
gstomxh264dec.h \
|
2011-07-25 09:44:56 +00:00
|
|
|
gstomxh263dec.h \
|
2013-03-18 15:06:54 +00:00
|
|
|
$(VP8_H_FILES) \
|
2011-07-25 10:01:05 +00:00
|
|
|
gstomxwmvdec.h \
|
2011-07-20 06:34:33 +00:00
|
|
|
gstomxmpeg4videoenc.h \
|
2011-07-25 09:32:51 +00:00
|
|
|
gstomxh264enc.h \
|
2011-07-29 10:06:21 +00:00
|
|
|
gstomxh263enc.h \
|
2013-01-10 13:44:33 +00:00
|
|
|
gstomxaacenc.h
|
2011-06-28 06:51:23 +00:00
|
|
|
|
2013-02-21 09:59:29 +00:00
|
|
|
if !HAVE_EXTERNAL_OMX
|
|
|
|
OMX_INCLUDEPATH = -I$(abs_srcdir)/openmax
|
|
|
|
endif
|
|
|
|
|
2013-01-14 10:41:57 +00:00
|
|
|
libgstomx_la_CFLAGS = \
|
2011-06-28 06:51:23 +00:00
|
|
|
-DGST_USE_UNSTABLE_API=1 \
|
2013-02-21 09:59:29 +00:00
|
|
|
$(OMX_INCLUDEPATH) \
|
2011-06-28 06:51:23 +00:00
|
|
|
$(GST_PLUGINS_BASE_CFLAGS) \
|
|
|
|
$(GST_BASE_CFLAGS) \
|
2012-06-20 12:11:58 +00:00
|
|
|
$(GST_CFLAGS)
|
2013-01-14 10:41:57 +00:00
|
|
|
libgstomx_la_LIBADD = \
|
2011-06-28 06:51:23 +00:00
|
|
|
$(GST_PLUGINS_BASE_LIBS) \
|
2012-04-12 19:57:32 +00:00
|
|
|
-lgstaudio-@GST_API_VERSION@ \
|
|
|
|
-lgstpbutils-@GST_API_VERSION@ \
|
|
|
|
-lgstvideo-@GST_API_VERSION@ \
|
2011-06-28 06:51:23 +00:00
|
|
|
$(GST_BASE_LIBS) \
|
|
|
|
$(GST_LIBS)
|
2013-01-14 10:41:57 +00:00
|
|
|
libgstomx_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
|
2011-06-28 06:51:23 +00:00
|
|
|
|
2013-02-21 10:01:28 +00:00
|
|
|
EXTRA_DIST = openmax
|
2011-06-28 06:51:23 +00:00
|
|
|
|
2012-01-18 19:53:16 +00:00
|
|
|
Android.mk: Makefile.am $(BUILT_SOURCES)
|
|
|
|
androgenizer \
|
2013-01-14 10:41:57 +00:00
|
|
|
-:PROJECT libgstomx -:SHARED libgstomx \
|
2012-01-18 19:53:16 +00:00
|
|
|
-:TAGS eng debug \
|
|
|
|
-:REL_TOP $(top_srcdir) -:ABS_TOP $(abs_top_srcdir) \
|
2013-01-14 10:41:57 +00:00
|
|
|
-:SOURCES $(libgstomx_la_SOURCES) \
|
|
|
|
$(nodist_libgstomx_la_SOURCES) \
|
|
|
|
-:CFLAGS $(DEFS) $(DEFAULT_INCLUDES) $(libgstomx_la_CFLAGS) \
|
|
|
|
-:LDFLAGS $(libgstomx_la_LDFLAGS) \
|
|
|
|
$(libgstomx_la_LIBADD) \
|
2012-01-18 19:53:16 +00:00
|
|
|
-ldl \
|
|
|
|
-:PASSTHROUGH LOCAL_ARM_MODE:=arm \
|
2012-06-20 12:11:58 +00:00
|
|
|
LOCAL_MODULE_PATH:='$$(TARGET_OUT)/lib/gstreamer-$(GST_API_VERSION)' \
|
2012-01-18 19:53:16 +00:00
|
|
|
> $@
|