1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4LOCAL_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 11LOCAL_MODULE := ip 12 13LOCAL_MODULE_TAGS := optional 14 15LOCAL_SHARED_LIBRARIES := libc libm libdl 16 17LOCAL_SHARED_LIBRARIES += libiprouteutil libnetlink 18 19LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include 20 21LOCAL_CFLAGS := -O2 -g -W -Wall 22 23LOCAL_LDFLAGS := -Wl,-export-dynamic -Wl,--no-gc-sections 24 25include $(BUILD_EXECUTABLE) 26 27