blob: ba81605d3fe0a2a5d4b838fff5ebe21e1ec6e9e3 [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001# /*****************************************************************************
2#* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£
3#*
4#* ÎļþÃû³Æ: Makefile
5#* Îļþ±êʶ: Makefile
6#* ÄÚÈÝÕªÒª: Makefile of ZTE applications
7#* ʹÓ÷½·¨: void
8#*
9#* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ
10#* -----------------------------------------------------------------------------
11#* 2015/02/10 V1.0 Create ÁõÑÇÄÏ ´´½¨
12#*
13# ******************************************************************************/
14
15#*******************************************************************************
16# include ZTE application makefile
17#*******************************************************************************
18include $(zte_app_mak)
19
20.PHONE: webuinet
21.PHONE: webuiwifi
22#*******************************************************************************
23# LIBWEBINTERFACE
24#*******************************************************************************
25LIBWEBINTERFACE = libwebinterface.a
26LIBWEBINTERFACE_SHARED = libwebinterface.so
27
28#*******************************************************************************
29# objects
30#*******************************************************************************
31OBJS = zte_web_traffic.o zte_web_traffic_util.o
32
33SRC = zte_web_traffic.c zte_web_traffic_util.c
34#*******************************************************************************
35# include path
36#*******************************************************************************
37CFLAGS += -DCONFIG_CHINA_UNICOM -DWEBS -DUEMF -DOS="LINUX" -DLINUX \
38 -I. \
39 -I$(zte_lib_path)/libnvram \
40 -I$(zte_lib_path)/libezxml \
41 -I$(zte_lib_path)/libmxml \
42 -I../../../include \
43 -I../../../wlan \
44 -I$(zte_lib_path)/libsqlite \
45 -I$(zte_lib_path)/libsoft_timer \
46 -I../../../at_server \
47 -I../../server \
48 -I.. \
49 -I../net \
50 -I../other
51
52
53# targets
54#*******************************************************************************
55all: $(OBJS)
56 @echo "--------------------wifi build-----------------------"
57#$(RANLIB) $@
58%.o: %.c
59 $(CC) $(CFLAGS) $(INCLUDES) -c $< -Wl,--start-group $(LDLIBS) -Wl,--end-group
60
61clean:
62 -rm -f *.elf *.gdb *.o *.a
63