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 ipnetns.c \ 5 rtm_map.c iptunnel.c ip6tunnel.c tunnel.c ipneigh.c ipntable.c iplink.c \ 6 ipmaddr.c ipmonitor.c ipmroute.c ipprefix.c iptuntap.c \ 7 ipxfrm.c xfrm_state.c xfrm_policy.c xfrm_monitor.c \ 8 iplink_vlan.c link_veth.c link_gre.c iplink_can.c \ 9 iplink_macvlan.c iplink_macvtap.c ipl2tp.c 10 11 LOCAL_MODULE := ip 12 13 LOCAL_MODULE_TAGS := optional 14 15 LOCAL_SHARED_LIBRARIES := libc libm libdl 16 17 LOCAL_SHARED_LIBRARIES += libiprouteutil libnetlink 18 19 LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include 20 21 LOCAL_CFLAGS := -O2 -g -W -Wall 22 23 LOCAL_LDFLAGS := -Wl,-export-dynamic -Wl,--no-gc-sections 24 25 include $(BUILD_EXECUTABLE) 26 27