Android.mk 1.42 KB
Newer Older
jehan's avatar
jehan committed
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
##
## Android.mk -Android build script-
##
##
## Copyright (C) 2010  Belledonne Communications, Grenoble, France
##
##  This program is free software; you can redistribute it and/or modify
##  it under the terms of the GNU General Public License as published by
##  the Free Software Foundation; either version 2 of the License, or
##  (at your option) any later version.
##
##  This program is distributed in the hope that it will be useful,
##  but WITHOUT ANY WARRANTY; without even the implied warranty of
##  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
##  GNU Library General Public License for more details.
##
##  You should have received a copy of the GNU General Public License
##  along with this program; if not, write to the Free Software
##  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
##

LOCAL_PATH:= $(call my-dir)/
include $(CLEAR_VARS)

LOCAL_MODULE := libring


LOCAL_SRC_FILES = \
	ring_jni.c

LOCAL_CFLAGS += \
32
	-DORTP_INET6
jehan's avatar
jehan committed
33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67

LOCAL_C_INCLUDES += \
	$(LOCAL_PATH) \
	$(LOCAL_PATH)/../../oRTP/include \
	$(LOCAL_PATH)/../include 

LOCAL_LDLIBS += -llog -ldl



LOCAL_STATIC_LIBRARIES := \
	libmediastreamer2 \
	libortp \
	libgsm \

ifeq ($(LINPHONE_VIDEO),1)
LOCAL_STATIC_LIBRARIES += \
	libavcodec \
	libswscale \
	libavcore \
	libavutil \
	libmsx264 \
	libx264
endif

LOCAL_STATIC_LIBRARIES += libspeex 

LOCAL_MODULE_CLASS = SHARED_LIBRARIES
include $(BUILD_SHARED_LIBRARY)