[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/lib/libvoice/Makefile b/ap/lib/libvoice/Makefile
new file mode 100644
index 0000000..e092fad
--- /dev/null
+++ b/ap/lib/libvoice/Makefile
@@ -0,0 +1,85 @@
+# /*****************************************************************************

+#* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£

+#* 

+#* ÎļþÃû³Æ:     Makefile

+#* Îļþ±êʶ:     Makefile

+#* ÄÚÈÝÕªÒª:     Makefile of ZTE librarys

+#* ʹÓ÷½·¨:     void

+#* 

+#* ÐÞ¸ÄÈÕÆÚ        °æ±¾ºÅ      Ð޸ıê¼Ç        ÐÞ¸ÄÈË          ÐÞ¸ÄÄÚÈÝ

+#* -----------------------------------------------------------------------------

+#* 2019/09/25     V1.0        Create          xxq        ´´½¨

+#* 

+# ******************************************************************************/

+

+#*******************************************************************************

+# include ZTE library makefile

+#*******************************************************************************

+include $(COMMON_MK)

+

+

+#*******************************************************************************

+# library

+#*******************************************************************************

+LIB_SHARED = libvoice.so

+LIB_STATIC = libvoice.a

+

+OBJS = voice.o 

+CFLAGS += -g

+LDFLAGS += -lpthread

+

+##############USER COMIZE END##################

+

+CFLAGS += -I$(zte_lib_path)/libtinyalsa/include

+CFLAGS += -I$(STAGEDIR)/include

+CFLAGS += -I$(APP_DIR)/include

+CFLAGS += -fPIC

+

+LDFLAGS_SHARED += -shared

+

+

+#*******************************************************************************

+# comp test app and 

+#*******************************************************************************	

+

+

+	

+#*******************************************************************************

+# objects

+#*******************************************************************************

+

+

+

+

+#########################for linux######################################

+

+

+

+

+

+CFLAGS	+= -I./include/

+CFLAGS += -g -Werror=implicit-function-declaration

+SHAREDFLAG := -shared -lc

+LDLIBS += -L$(LIB_DIR)/libtinyalsa

+LDLIBS += -ltinyalsa

+

+all: $(LIB_STATIC) $(LIB_SHARED) 

+

+$(LIB_STATIC) : $(OBJS)

+	$(AR) rcs $(LIB_STATIC) $(OBJS)

+

+$(LIB_SHARED): $(OBJS)

+	$(CC) $(LDFLAGS) $(LDFLAGS_SHARED) -o $@ $^

+

+	

+

+	

+clean:

+	rm -f  $(lib_OBJECTS) $(LIB_SHARED) $(LIB_STATIC)  *.elf *.gdb *.o core

+

+romfs:

+	$(ROMFSINST) $(LIB_SHARED) /lib/$(LIB_SHARED)

+

+	

+

+