summaryrefslogtreecommitdiffstats
path: root/g729b/droid-makefile
diff options
context:
space:
mode:
authorMamadou DIOP <bossiel@yahoo.fr>2015-08-17 01:56:35 +0200
committerMamadou DIOP <bossiel@yahoo.fr>2015-08-17 01:56:35 +0200
commit631fffee8a28b1bec5ed1f1d26a20e0135967f99 (patch)
tree74afe3bf3efe15aa82bcd0272b2b0f4d48c2d837 /g729b/droid-makefile
parent7908865936604036e6f200f1b5e069f8752f3a3a (diff)
downloaddoubango-631fffee8a28b1bec5ed1f1d26a20e0135967f99.zip
doubango-631fffee8a28b1bec5ed1f1d26a20e0135967f99.tar.gz
-
Diffstat (limited to 'g729b/droid-makefile')
-rw-r--r--g729b/droid-makefile65
1 files changed, 65 insertions, 0 deletions
diff --git a/g729b/droid-makefile b/g729b/droid-makefile
new file mode 100644
index 0000000..8b1ef07
--- /dev/null
+++ b/g729b/droid-makefile
@@ -0,0 +1,65 @@
+APP := lib$(PROJECT)_$(MARCH).$(EXT)
+
+CFLAGS := $(CFLAGS_LIB) -D__unix__
+LDFLAGS := $(LDFLAGS_LIB)
+
+all: $(APP)
+
+OBJS = acelp_ca.o\
+ basic_op.o\
+ bits.o\
+ calcexc.o\
+ cod_ld8a.o\
+ cor_func.o\
+ dec_gain.o\
+ dec_lag3.o\
+ dec_ld8a.o\
+ dec_sid.o\
+ de_acelp.o\
+ dspfunc.o\
+ dtx.o\
+ filter.o\
+ gainpred.o\
+ lpc.o\
+ lpcfunc.o\
+ lspdec.o\
+ lspgetq.o\
+ oper_32b.o\
+ pitch_a.o\
+ postfilt.o\
+ post_pro.o\
+ pred_lt3.o\
+ pre_proc.o\
+ p_parity.o\
+ qsidgain.o\
+ qsidlsf.o\
+ qua_gain.o\
+ qua_lsp.o\
+ tab_dtx.o\
+ tab_ld8a.o\
+ taming.o\
+ util.o\
+ vad.o
+
+
+$(APP): $(OBJS)
+ifeq ($(EXT), a)
+ $(AR) rcs $@ $^
+else
+ $(CC) $(LDFLAGS) -o $@ $^
+endif
+
+%.O: %.C
+ $(CC) -c $(INCLUDE) $(CFLAGS) $< -o $@
+
+install: $(APP)
+ cp -f $(APP) ../thirdparties/android/lib
+
+shell:
+ $(ANDROID_SDK_ROOT)/tools/adb shell
+
+run:
+ $(ANDROID_SDK_ROOT)/tools/adb shell $(LIB_DIR)/$(APP)
+
+clean:
+ @rm -f $(OBJS) $(APP) \ No newline at end of file
OpenPOWER on IntegriCloud