lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame^] | 1 | # /***************************************************************************** |
| 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 | #******************************************************************************* |
| 18 | include $(zte_app_mak) |
| 19 | |
| 20 | .PHONE: webuinet |
| 21 | .PHONE: webuiwifi |
| 22 | #******************************************************************************* |
| 23 | # LIBWEBINTERFACE |
| 24 | #******************************************************************************* |
| 25 | LIBWEBINTERFACE = libwebinterface.a |
| 26 | LIBWEBINTERFACE_SHARED = libwebinterface.so |
| 27 | |
| 28 | #******************************************************************************* |
| 29 | # objects |
| 30 | #******************************************************************************* |
| 31 | OBJS = zte_web_traffic.o zte_web_traffic_util.o |
| 32 | |
| 33 | SRC = zte_web_traffic.c zte_web_traffic_util.c |
| 34 | #******************************************************************************* |
| 35 | # include path |
| 36 | #******************************************************************************* |
| 37 | CFLAGS += -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 | #******************************************************************************* |
| 55 | all: $(OBJS) |
| 56 | @echo "--------------------wifi build-----------------------" |
| 57 | #$(RANLIB) $@ |
| 58 | %.o: %.c |
| 59 | $(CC) $(CFLAGS) $(INCLUDES) -c $< -Wl,--start-group $(LDLIBS) -Wl,--end-group |
| 60 | |
| 61 | clean: |
| 62 | -rm -f *.elf *.gdb *.o *.a |
| 63 | |