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

Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/lib/libsqlite/Makefile b/ap/lib/libsqlite/Makefile
new file mode 100644
index 0000000..98c3656
--- /dev/null
+++ b/ap/lib/libsqlite/Makefile
@@ -0,0 +1,38 @@
+#*******************************************************************************
+# include ZTE library makefile
+#*******************************************************************************
+include $(COMMON_MK)
+
+##############USER COMIZE BEGIN################
+#include ../net_team.mk

+
+LIB_STATIC = libsqlite.a

+LIB_SHARED = libsqlite.so

+

+OBJS = sqlite3.o

+
+CFLAGS += -g
+
+##############USER COMIZE END##################
+
+CFLAGS += -I$(zte_app_path)/include
+CFLAGS += -fPIC

+LDFLAGS += -shared
+
+all: $(LIB_STATIC) $(LIB_SHARED)

+

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

+
+$(LIB_SHARED): $(OBJS)
+	$(CC) $(LDFLAGS) -o $@ $^
+

+romfs:

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

+

+clean:
+	-$(RM) *.a *.o *.so $(LIB_SHARED) $(LIB_STATIC) $(OBJS)

+

+populate_sdk:
+	cp -v sqlite3.h $(CROSS_COMPILE_SYSROOT)/usr/include/
+	cp -v libsqlite.so  $(CROSS_COMPILE_SYSROOT)/usr/lib/