gstreamer/omx/Makefile.am

94 lines
2 KiB
Makefile
Raw Normal View History

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