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
36
37
38
39
40
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
G729  := g729/itu-g729
G729SRC  := $(G729)/Sources
G729HDR  := $(G729)/Headers
LOCAL_MODULE  := g729_jni
LOCAL_SRC_FILES  := g729_jni.cpp \
  $(G729SRC)/acelp_ca.c \
  $(G729SRC)/basic_op.c \
  $(G729SRC)/bits.c \
  $(G729SRC)/cod_ld8a.c \
  $(G729SRC)/cor_func.c \
  $(G729SRC)/de_acelp.c \
  $(G729SRC)/dec_gain.c \
  $(G729SRC)/dec_lag3.c \
  $(G729SRC)/dec_ld8a.c \
  $(G729SRC)/dspfunc.c \
  $(G729SRC)/filter.c \
  $(G729SRC)/gainpred.c \
  $(G729SRC)/lpc.c \
  $(G729SRC)/lpcfunc.c \
  $(G729SRC)/lspdec.c \
  $(G729SRC)/lspgetq.c \
  $(G729SRC)/oper_32b.c \
  $(G729SRC)/p_parity.c \
  $(G729SRC)/pitch_a.c \
  $(G729SRC)/post_pro.c \
  $(G729SRC)/postfilt.c \
  $(G729SRC)/pre_proc.c \
  $(G729SRC)/pred_lt3.c \
  $(G729SRC)/qua_gain.c \
  $(G729SRC)/qua_lsp.c \
  $(G729SRC)/tab_ld8a.c \
  $(G729SRC)/taming.c \
  $(G729SRC)/util.c 
LOCAL_C_INCLUDES  += $(LOCAL_PATH)/$(G729HDR)
LOCAL_CFLAGS = -g -Wall -Wextra
LOCAL_ARM_MODE  := arm
LOCAL_LDLIBS  := -L$(SYSROOT)/usr/lib
include $(BUILD_SHARED_LIBRARY)