Harout Hedeshian | 6202ba7 | 2015-04-13 19:02:25 -0600 | [diff] [blame] | 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 | |
Harout Hedeshian | 0abce00 | 2015-07-22 14:53:41 -0600 | [diff] [blame^] | 21 | LOCAL_CFLAGS := -Wall -Wextra -Werror -pedantic -std=c99 |
Harout Hedeshian | 6202ba7 | 2015-04-13 19:02:25 -0600 | [diff] [blame] | 22 | LOCAL_CFLAGS += -DVERSION="\"1.0.4"\" |
Harout Hedeshian | e21de8d | 2015-05-20 12:06:46 -0600 | [diff] [blame] | 23 | LOCAL_CFLAGS += -DHAVE_STRL_FUNCTIONS |
Harout Hedeshian | ad3f848 | 2015-06-02 14:43:23 -0600 | [diff] [blame] | 24 | LOCAL_CFLAGS += -D _BSD_SOURCE |
Harout Hedeshian | 6202ba7 | 2015-04-13 19:02:25 -0600 | [diff] [blame] | 25 | |
| 26 | LOCAL_C_INCLUDES := $(LOCAL_PATH) |
| 27 | |
| 28 | LOCAL_MODULE := datatop |
| 29 | LOCAL_MODULE_TAGS := optional |
| 30 | |
| 31 | include $(BUILD_EXECUTABLE) |