1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4LOCAL_SRC_FILES := ip.c ipaddress.c ipaddrlabel.c iproute.c iprule.c \ 5 rtm_map.c iptunnel.c ip6tunnel.c tunnel.c ipneigh.c ipntable.c \ 6 iplink.c ipmaddr.c ipmonitor.c ipmroute.c ipprefix.c ipxfrm.c \ 7 xfrm_state.c xfrm_policy.c xfrm_monitor.c iplink_vlan.c \ 8 link_veth.c link_gre.c iplink_can.c iptuntap.c 9 10LOCAL_MODULE := ip 11 12LOCAL_MODULE_TAGS := optional 13 14LOCAL_SHARED_LIBRARIES := libc libm libdl 15 16LOCAL_SHARED_LIBRARIES += libiprouteutil libnetlink 17 18LOCAL_C_INCLUDES := $(KERNEL_HEADERS) external/iproute2/include 19 20LOCAL_CFLAGS := -O2 -g -W -Wall 21 22LOCAL_LDFLAGS := -Wl,-export-dynamic -Wl,--no-gc-sections 23 24include $(BUILD_EXECUTABLE) 25 26