[T106][ZXW-22]7520V3SCV2.01.01.02P42U09_VEC_V0.8_AP_VEC origin source commit
Change-Id: Ic6e05d89ecd62fc34f82b23dcf306c93764aec4b
diff --git a/ap/lib/libzte_vsim/Makefile b/ap/lib/libzte_vsim/Makefile
new file mode 100644
index 0000000..3d15ddd
--- /dev/null
+++ b/ap/lib/libzte_vsim/Makefile
@@ -0,0 +1,44 @@
+#*******************************************************************************
+# include ZTE library makefile
+#*******************************************************************************
+include $(zte_lib_mak)
+
+##############USER COMIZE BEGIN################
+#include ../net_team.mk
+
+LIB_STATIC = libzte_vsim.a
+#LIB_SHARED = libzte_vsim.so
+
+OBJS = $(patsubst %.c,%.o,$(wildcard ./src/*.c))
+
+CFLAGS += -I.
+CFLAGS += -I./inc
+CFLAGS += -I$(zte_app_path)/at_ctl/inc
+CFLAGS += -I$(zte_lib_path)/libatutils
+CFLAGS += -I$(LINUX_DIR)/include
+CFLAGS += -g
+
+
+##############USER COMIZE END##################
+
+CFLAGS += -I$(zte_app_path)/include
+CFLAGS += -fPIC
+LDFLAGS += -shared
+
+h_sources += $(wildcard ./inc/*.h)
+
+
+all: $(LIB_STATIC) $(LIB_SHARED)
+
+$(LIB_STATIC) : $(OBJS)
+ $(AR) rcs $(LIB_STATIC) $(OBJS)
+
+$(LIB_SHARED): $(OBJS)
+ $(CC) $(LDFLAGS) -o $@ $^ -Wl,-whole-archive $(LDLIBS) -Wl,-no-whole-archive
+
+romfs:
+ echo "static lib no need copy to lib"
+
+clean:
+ -rm -f $(LIB_SHARED) $(LIB_STATIC) $(OBJS)
+