gstreamer/android/rtsp.mk

59 lines
1.7 KiB
Makefile
Raw Normal View History

2010-12-03 16:41:18 +00:00
LOCAL_PATH:= $(call my-dir)
#----------------------------------------
# include
2010-12-06 15:50:39 +00:00
gst_rtsp_COPY_HEADERS_TO := gstreamer-0.11/gst/rtsp
2010-12-03 16:41:18 +00:00
gst_rtsp_COPY_HEADERS_BASE := \
gst-libs/gst/rtsp/gstrtspbase64.h \
gst-libs/gst/rtsp/gstrtspdefs.h \
gst-libs/gst/rtsp/gstrtspconnection.h \
gst-libs/gst/rtsp/gstrtspextension.h \
gst-libs/gst/rtsp/gstrtspmessage.h \
gst-libs/gst/rtsp/gstrtsprange.h \
gst-libs/gst/rtsp/gstrtsptransport.h \
gst-libs/gst/rtsp/gstrtspurl.h \
2010-12-03 16:41:18 +00:00
gst-libs/gst/rtsp/gstrtsp-enumtypes.h
gst_rtsp_COPY_HEADERS := $(addprefix ../,$(gst_rtsp_COPY_HEADERS_BASE))
2010-12-03 16:41:18 +00:00
include $(CLEAR_VARS)
LOCAL_ARM_MODE := arm
rtsp_LOCAL_SRC_FILES_BASE:= \
gst-libs/gst/rtsp/gstrtspbase64.c \
gst-libs/gst/rtsp/gstrtspdefs.c \
gst-libs/gst/rtsp/gstrtspconnection.c \
gst-libs/gst/rtsp/gstrtspextension.c \
gst-libs/gst/rtsp/gstrtspmessage.c \
gst-libs/gst/rtsp/gstrtsprange.c \
gst-libs/gst/rtsp/gstrtsptransport.c \
gst-libs/gst/rtsp/gstrtspurl.c \
2010-12-03 16:41:18 +00:00
gst-libs/gst/rtsp/gstrtsp-marshal.c \
gst-libs/gst/rtsp/gstrtsp-enumtypes.c
LOCAL_SRC_FILES:= $(addprefix ../,$(rtsp_LOCAL_SRC_FILES_BASE))
2010-12-03 16:41:18 +00:00
LOCAL_SHARED_LIBRARIES := \
2010-12-06 15:50:39 +00:00
libgstreamer-0.11 \
libgstbase-0.11 \
2010-12-03 16:41:18 +00:00
libglib-2.0 \
libgthread-2.0 \
libgmodule-2.0 \
libgobject-2.0
2010-12-06 15:50:39 +00:00
LOCAL_MODULE:= libgstrtsp-0.11
2010-12-03 16:41:18 +00:00
LOCAL_CFLAGS := -DHAVE_CONFIG_H -DINET_ADDRSTRLEN=16 -DGSTREAMER_BUILT_FOR_ANDROID \
$(GST_PLUGINS_BASE_CFLAGS)
2010-12-03 16:41:18 +00:00
#
# define LOCAL_PRELINK_MODULE to false to not use pre-link map
#
LOCAL_PRELINK_MODULE := false
LOCAL_COPY_HEADERS_TO := $(gst_rtsp_COPY_HEADERS_TO)
LOCAL_COPY_HEADERS := $(gst_rtsp_COPY_HEADERS)
LOCAL_MODULE_TAGS := optional
2010-12-03 16:41:18 +00:00
include $(BUILD_SHARED_LIBRARY)