1LOCAL_DIR := $(GET_LOCAL_DIR) 2 3MODULE := $(LOCAL_DIR) 4 5GLOBAL_INCLUDES += \ 6 $(LOCAL_DIR)/include/lwip \ 7 $(LOCAL_DIR)/include/posix \ 8 9MODULE_SRCS += \ 10 $(LOCAL_DIR)/sys_arch.c \ 11 $(LOCAL_DIR)/cmd.c \ 12 $(LOCAL_DIR)/netif.c \ 13 $(LOCAL_DIR)/api/api_lib.c \ 14 $(LOCAL_DIR)/api/api_msg.c \ 15 $(LOCAL_DIR)/api/err.c \ 16 $(LOCAL_DIR)/api/netbuf.c \ 17 $(LOCAL_DIR)/api/netifapi.c \ 18 $(LOCAL_DIR)/api/sockets.c \ 19 $(LOCAL_DIR)/api/tcpip.c \ 20 $(LOCAL_DIR)/core/def.c \ 21 $(LOCAL_DIR)/core/dhcp.c \ 22 $(LOCAL_DIR)/core/dns.c \ 23 $(LOCAL_DIR)/core/init.c \ 24 $(LOCAL_DIR)/core/mem.c \ 25 $(LOCAL_DIR)/core/memp.c \ 26 $(LOCAL_DIR)/core/netif.c \ 27 $(LOCAL_DIR)/core/pbuf.c \ 28 $(LOCAL_DIR)/core/raw.c \ 29 $(LOCAL_DIR)/core/stats.c \ 30 $(LOCAL_DIR)/core/sys.c \ 31 $(LOCAL_DIR)/core/tcp.c \ 32 $(LOCAL_DIR)/core/tcp_in.c \ 33 $(LOCAL_DIR)/core/tcp_out.c \ 34 $(LOCAL_DIR)/core/timers.c \ 35 $(LOCAL_DIR)/core/udp.c \ 36 $(LOCAL_DIR)/netif/etharp.c \ 37 38LWIP_IP_TYPE := IPV4 39 40ifeq ($(LWIP_IP_TYPE),IPV4) 41 42GLOBAL_INCLUDES += \ 43 $(LOCAL_DIR)/include/ipv4 \ 44 45MODULE_SRCS += \ 46 $(LOCAL_DIR)/core/ipv4/autoip.c \ 47 $(LOCAL_DIR)/core/ipv4/icmp.c \ 48 $(LOCAL_DIR)/core/ipv4/igmp.c \ 49 $(LOCAL_DIR)/core/ipv4/inet.c \ 50 $(LOCAL_DIR)/core/ipv4/inet_chksum.c \ 51 $(LOCAL_DIR)/core/ipv4/ip.c \ 52 $(LOCAL_DIR)/core/ipv4/ip_addr.c \ 53 $(LOCAL_DIR)/core/ipv4/ip_frag.c \ 54 55endif 56 57include make/module.mk 58 59