1 LOCAL_PATH := $(call my-dir) 2 3 include $(CLEAR_VARS) 4 5 LOCAL_SRC_FILES := datatop.c 6 LOCAL_SRC_FILES += datatop_cpu_stats_poll.c 7 LOCAL_SRC_FILES += datatop_dev_poll.c 8 LOCAL_SRC_FILES += datatop_dual_line_poll.c 9 LOCAL_SRC_FILES += datatop_fileops.c 10 LOCAL_SRC_FILES += datatop_gen_poll.c 11 LOCAL_SRC_FILES += datatop_helpers.c 12 LOCAL_SRC_FILES += datatop_linked_list.c 13 LOCAL_SRC_FILES += datatop_meminfo_file_poll.c 14 LOCAL_SRC_FILES += datatop_opt.c 15 LOCAL_SRC_FILES += datatop_single_line_poll.c 16 LOCAL_SRC_FILES += datatop_stat_poll.c 17 LOCAL_SRC_FILES += datatop_str.c 18 LOCAL_SRC_FILES += datatop_sys_snap.c 19 LOCAL_SRC_FILES += datatop_value_only_poll.c 20 21 LOCAL_CFLAGS := -Wall -Wextra -Werror -pedantic -std=c99 22 LOCAL_CFLAGS += -DVERSION="\"1.0.4"\" 23 LOCAL_CFLAGS += -DHAVE_STRL_FUNCTIONS 24 LOCAL_CFLAGS += -D _BSD_SOURCE 25 26 LOCAL_C_INCLUDES := $(LOCAL_PATH) 27 28 LOCAL_CLANG := true 29 LOCAL_MODULE := datatop 30 LOCAL_MODULE_TAGS := optional 31 32 include $(BUILD_EXECUTABLE) 33