File: Android.mk

package info (click to toggle)
bzrtp 5.3.105-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,216 kB
  • sloc: ansic: 9,668; cpp: 1,704; makefile: 52; sh: 33
file content (35 lines) | stat: -rw-r--r-- 797 bytes parent folder | download | duplicates (4)
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
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)

LOCAL_CFLAGS += -DHAVE_LIBXML2

LOCAL_MODULE := libbzrtp

LOCAL_ARM_MODE := arm

LOCAL_SRC_FILES =  \
	src/bzrtp.c \
	src/cryptoUtils.c \
	src/packetParser.c \
	src/stateMachine.c \
	src/zidCache.c \
	src/pgpwords.c

LOCAL_STATIC_LIBRARIES += liblpxml2

LOCAL_C_INCLUDES += \
	$(LOCAL_PATH)/include \
	$(LOCAL_PATH)/../externals/libxml2/include \
	$(LOCAL_PATH)/../externals/build/libxml2

ifeq ($(BUILD_BCTOOLBOX_MBEDTLS),1)
LOCAL_SRC_FILES += src/cryptoMbedtls.c 
LOCAL_STATIC_LIBRARIES += mbedtls
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../externals/mbedtls/include
else
LOCAL_SRC_FILES += src/cryptoPolarssl.c
LOCAL_STATIC_LIBRARIES += polarssl
LOCAL_C_INCLUDES += $(LOCAL_PATH)/../externals/polarssl/include
endif

include $(BUILD_STATIC_LIBRARY)