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