1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 LOCAL_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 10 LOCAL_MODULE := ip 11 12 LOCAL_MODULE_TAGS := optional 13 14 LOCAL_SHARED_LIBRARIES := libc libm libdl 15 16 LOCAL_SHARED_LIBRARIES += libiprouteutil libnetlink 17 18 LOCAL_C_INCLUDES := $(KERNEL_HEADERS) external/iproute2/include 19 20 LOCAL_CFLAGS := -O2 -g -W -Wall 21 22 include $(BUILD_EXECUTABLE) 23 24