| # /***************************************************************************** |
| #* °æÈ¨ËùÓÐ (C)2015, ÖÐÐËͨѶ¹É·ÝÓÐÏÞ¹«Ë¾¡£ |
| #* |
| #* ÎļþÃû³Æ: Makefile |
| #* Îļþ±êʶ: Makefile |
| #* ÄÚÈÝÕªÒª: Makefile of ZTE applications |
| #* ʹÓ÷½·¨: void |
| #* |
| #* ÐÞ¸ÄÈÕÆÚ °æ±¾ºÅ Ð޸ıê¼Ç ÐÞ¸ÄÈË ÐÞ¸ÄÄÚÈÝ |
| #* ----------------------------------------------------------------------------- |
| #* 2015/11/26 V1.0 Create ÇñÏèÓî ´´½¨ |
| #* |
| # ******************************************************************************/ |
| |
| #******************************************************************************* |
| # include ZTE application makefile |
| #******************************************************************************* |
| #ifeq ($(LINUX_TYPE),uClinux) |
| include $(zte_app_mak) |
| #endif |
| |
| #******************************************************************************* |
| # execute |
| #******************************************************************************* |
| #EXEC = libwebuiwifi.a |
| |
| #******************************************************************************* |
| # objects |
| #******************************************************************************* |
| OBJS = zte_web_lan.o zte_web_mgmt_wifi.o zte_web_wlan_station.o zte_web_lan_utils.o |
| |
| SRC = zte_web_lan.c zte_web_mgmt_wifi.c zte_web_wlan_station.c zte_web_lan_utils.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 \ |
| |
| ifeq ($(CONFIG_USE_WEBUI_SECURITY),yes) |
| CFLAGS += -DWEBS_SECURITY |
| endif |
| #******************************************************************************* |
| # targets |
| #******************************************************************************* |
| |
| #$(error ===================================>) |
| |
| 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 |