1LOCAL_PATH := $(call my-dir) 2 3include $(CLEAR_VARS) 4LOCAL_SRC_FILES := utils.c rt_names.c ll_types.c ll_proto.c ll_addr.c inet_proto.c 5LOCAL_MODULE := libiprouteutil 6LOCAL_SYSTEM_SHARED_LIBRARIES := libc 7LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include 8LOCAL_CFLAGS := -O2 -g -W -Wall \ 9 -DCONFDIR=\"/data/misc/net\" \ 10 -DHAVE_UNISTD_H \ 11 -DHAVE_ERRNO_H \ 12 -DHAVE_NETINET_IN_H \ 13 -DHAVE_SYS_IOCTL_H \ 14 -DHAVE_SYS_MMAN_H \ 15 -DHAVE_SYS_MOUNT_H \ 16 -DHAVE_SYS_PRCTL_H \ 17 -DHAVE_SYS_RESOURCE_H \ 18 -DHAVE_SYS_SELECT_H \ 19 -DHAVE_SYS_STAT_H \ 20 -DHAVE_SYS_TYPES_H \ 21 -DHAVE_STDLIB_H \ 22 -DHAVE_STRDUP \ 23 -DHAVE_MMAP \ 24 -DHAVE_UTIME_H \ 25 -DHAVE_GETPAGESIZE \ 26 -DHAVE_LSEEK64 \ 27 -DHAVE_LSEEK64_PROTOTYPE \ 28 -DHAVE_EXT2_IOCTLS \ 29 -DHAVE_LINUX_FD_H \ 30 -DHAVE_TYPE_SSIZE_T \ 31 -Wno-pointer-arith \ 32 -Wno-sign-compare \ 33 -Werror 34 35include $(BUILD_SHARED_LIBRARY) 36 37include $(CLEAR_VARS) 38LOCAL_SRC_FILES := ll_map.c libnetlink.c 39LOCAL_MODULE := libnetlink 40LOCAL_SYSTEM_SHARED_LIBRARIES := libc 41LOCAL_C_INCLUDES := $(LOCAL_PATH)/../include 42LOCAL_CFLAGS := -O2 -g -W -Wall \ 43 -DHAVE_UNISTD_H \ 44 -DHAVE_ERRNO_H \ 45 -DHAVE_NETINET_IN_H \ 46 -DHAVE_SYS_IOCTL_H \ 47 -DHAVE_SYS_MMAN_H \ 48 -DHAVE_SYS_MOUNT_H \ 49 -DHAVE_SYS_PRCTL_H \ 50 -DHAVE_SYS_RESOURCE_H \ 51 -DHAVE_SYS_SELECT_H \ 52 -DHAVE_SYS_STAT_H \ 53 -DHAVE_SYS_TYPES_H \ 54 -DHAVE_STDLIB_H \ 55 -DHAVE_STRDUP \ 56 -DHAVE_MMAP \ 57 -DHAVE_UTIME_H \ 58 -DHAVE_GETPAGESIZE \ 59 -DHAVE_LSEEK64 \ 60 -DHAVE_LSEEK64_PROTOTYPE \ 61 -DHAVE_EXT2_IOCTLS \ 62 -DHAVE_LINUX_FD_H \ 63 -DHAVE_TYPE_SSIZE_T \ 64 -Wno-pointer-arith \ 65 -Wno-sign-compare \ 66 -Werror 67 68include $(BUILD_SHARED_LIBRARY) 69