blob: f4b4b439e2828d53c0980f23132eeeb2edd9c04b [file] [log] [blame]
Harout Hedeshian6202ba72015-04-13 19:02:25 -06001LOCAL_PATH := $(call my-dir)
2
3include $(CLEAR_VARS)
4
5LOCAL_SRC_FILES := datatop.c
6LOCAL_SRC_FILES += datatop_cpu_stats_poll.c
7LOCAL_SRC_FILES += datatop_dev_poll.c
8LOCAL_SRC_FILES += datatop_dual_line_poll.c
9LOCAL_SRC_FILES += datatop_fileops.c
10LOCAL_SRC_FILES += datatop_gen_poll.c
11LOCAL_SRC_FILES += datatop_helpers.c
12LOCAL_SRC_FILES += datatop_linked_list.c
13LOCAL_SRC_FILES += datatop_meminfo_file_poll.c
14LOCAL_SRC_FILES += datatop_opt.c
15LOCAL_SRC_FILES += datatop_single_line_poll.c
16LOCAL_SRC_FILES += datatop_stat_poll.c
17LOCAL_SRC_FILES += datatop_str.c
18LOCAL_SRC_FILES += datatop_sys_snap.c
19LOCAL_SRC_FILES += datatop_value_only_poll.c
20
21LOCAL_CFLAGS := -Wall -Wextra -Werror -pedantic
22LOCAL_CFLAGS += -DVERSION="\"1.0.4"\"
Harout Hedeshiane21de8d2015-05-20 12:06:46 -060023LOCAL_CFLAGS += -DHAVE_STRL_FUNCTIONS
Harout Hedeshian6202ba72015-04-13 19:02:25 -060024
25LOCAL_C_INCLUDES := $(LOCAL_PATH)
26
27LOCAL_MODULE := datatop
28LOCAL_MODULE_TAGS := optional
29
30include $(BUILD_EXECUTABLE)