| # /***************************************************************************** |
| #* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£ |
| #* |
| #* ÎļþÃû³Æ: Makefile |
| #* Îļþ±êʶ: Makefile |
| #* ÄÚÈÝÕªÒª: Makefile of ZTE applications |
| #* ʹÓ÷½·¨: void |
| #* |
| #* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ |
| #* ----------------------------------------------------------------------------- |
| #* 2015/02/10 V1.0 Create ÁõÑÇÄÏ ´´½¨ |
| #* |
| # ******************************************************************************/ |
| |
| #******************************************************************************* |
| # include ZTE application makefile |
| #******************************************************************************* |
| include $(zte_app_mak) |
| |
| .PHONE: webuinet |
| .PHONE: webuiwifi |
| #******************************************************************************* |
| # LIBWEBINTERFACE |
| #******************************************************************************* |
| LIBWEBINTERFACE = libwebinterface.a |
| LIBWEBINTERFACE_SHARED = libwebinterface.so |
| |
| #******************************************************************************* |
| # objects |
| #******************************************************************************* |
| OBJS = zte_web_traffic.o zte_web_traffic_util.o |
| |
| SRC = zte_web_traffic.c zte_web_traffic_util.c |
| #******************************************************************************* |
| # include path |
| #******************************************************************************* |
| CFLAGS += -DCONFIG_CHINA_UNICOM -DWEBS -DUEMF -DOS="LINUX" -DLINUX \ |
| -I. \ |
| -I$(zte_lib_path)/libnvram \ |
| -I$(zte_lib_path)/libezxml \ |
| -I$(zte_lib_path)/libmxml \ |
| -I../../../include \ |
| -I../../../wlan \ |
| -I$(zte_lib_path)/libsqlite \ |
| -I$(zte_lib_path)/libsoft_timer \ |
| -I../../../at_server \ |
| -I../../server \ |
| -I.. \ |
| -I../net \ |
| -I../other |
| |
| |
| # targets |
| #******************************************************************************* |
| all: $(OBJS) |
| @echo "--------------------wifi build-----------------------" |
| #$(RANLIB) $@ |
| %.o: %.c |
| $(CC) $(CFLAGS) $(INCLUDES) -c $< -Wl,--start-group $(LDLIBS) -Wl,--end-group |
| |
| clean: |
| -rm -f *.elf *.gdb *.o *.a |
| |