blob: 6b93c9f691e46245a31368fee03103fcb79e3cfd [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
Harout Hedeshian0abce002015-07-22 14:53:41 -060021LOCAL_CFLAGS := -Wall -Wextra -Werror -pedantic -std=c99
Harout Hedeshian6202ba72015-04-13 19:02:25 -060022LOCAL_CFLAGS += -DVERSION="\"1.0.4"\"
Harout Hedeshiane21de8d2015-05-20 12:06:46 -060023LOCAL_CFLAGS += -DHAVE_STRL_FUNCTIONS
Harout Hedeshianad3f8482015-06-02 14:43:23 -060024LOCAL_CFLAGS += -D _BSD_SOURCE
Harout Hedeshian6202ba72015-04-13 19:02:25 -060025
26LOCAL_C_INCLUDES := $(LOCAL_PATH)
27
28LOCAL_MODULE := datatop
29LOCAL_MODULE_TAGS := optional
30
31include $(BUILD_EXECUTABLE)