Nishanth Menon | ca27365 | 2011-09-20 11:31:17 +0200 | [diff] [blame^] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | |
| 5 | LOCAL_MODULE_TAGS := optional |
| 6 | LOCAL_SHARED_LIBRARIES := libstlport |
| 7 | |
| 8 | LOCAL_STATIC_LIBRARIES := libncurses |
| 9 | |
| 10 | LOCAL_MODULE := powerdebug |
| 11 | |
| 12 | LOCAL_CPPFLAGS += \ |
| 13 | -DDISABLE_I18N \ |
| 14 | -DDISABLE_TRYCATCH \ |
| 15 | -DNCURSES_NOMACROS \ |
| 16 | -DDISABLE_WSTRING \ |
| 17 | -DDEFAULT_TERM=\"xterm\" \ |
| 18 | -DTERMINFO_PATH=\"/system/etc/terminfo\" \ |
| 19 | -DDEFINE_ETHTOOL_CMD \ |
| 20 | |
| 21 | LOCAL_C_INCLUDES += external/stlport/stlport/ \ |
| 22 | external/stlport/stlport/stl \ |
| 23 | external/stlport/stlport/using/h/ \ |
| 24 | bionic \ |
| 25 | external/ncurses \ |
| 26 | external/ncurses/lib \ |
| 27 | external/ncurses/include \ |
| 28 | external/ncurses/include/ncurses |
| 29 | |
| 30 | LOCAL_SRC_FILES += \ |
| 31 | powerdebug.c sensor.c clocks.c regulator.c \ |
| 32 | display.c tree.c utils.c mainloop.c |
| 33 | |
| 34 | include $(BUILD_EXECUTABLE) |