gator: Version 5.19
[firefly-linux-kernel-4.4.55.git] / tools / gator / daemon / Android.mk
1 LOCAL_PATH := $(call my-dir)
2 include $(CLEAR_VARS)
3
4 XML_H := $(shell cd $(LOCAL_PATH) && make events_xml.h defaults_xml.h)
5
6 LOCAL_CFLAGS += -Wall -O3 -mthumb-interwork -fno-exceptions -pthread -DETCDIR=\"/etc\" -Ilibsensors
7
8 LOCAL_SRC_FILES := \
9         Buffer.cpp \
10         CapturedXML.cpp \
11         Child.cpp \
12         ConfigurationXML.cpp \
13         Driver.cpp \
14         DriverSource.cpp \
15         DynBuf.cpp \
16         EventsXML.cpp \
17         ExternalSource.cpp \
18         FSDriver.cpp \
19         Fifo.cpp \
20         Hwmon.cpp \
21         KMod.cpp \
22         LocalCapture.cpp \
23         Logging.cpp \
24         main.cpp \
25         MaliVideoDriver.cpp \
26         Monitor.cpp \
27         OlySocket.cpp \
28         OlyUtility.cpp \
29         PerfBuffer.cpp \
30         PerfDriver.cpp \
31         PerfGroup.cpp \
32         PerfSource.cpp \
33         Proc.cpp \
34         Sender.cpp \
35         SessionData.cpp \
36         SessionXML.cpp \
37         Source.cpp \
38         StreamlineSetup.cpp \
39         UEvent.cpp \
40         UserSpaceSource.cpp \
41         libsensors/access.c \
42         libsensors/conf-lex.c \
43         libsensors/conf-parse.c \
44         libsensors/data.c \
45         libsensors/error.c \
46         libsensors/general.c \
47         libsensors/init.c \
48         libsensors/sysfs.c \
49         mxml/mxml-attr.c \
50         mxml/mxml-entity.c \
51         mxml/mxml-file.c \
52         mxml/mxml-get.c \
53         mxml/mxml-index.c \
54         mxml/mxml-node.c \
55         mxml/mxml-private.c \
56         mxml/mxml-search.c \
57         mxml/mxml-set.c \
58         mxml/mxml-string.c
59
60 LOCAL_C_INCLUDES := $(LOCAL_PATH)
61
62 LOCAL_MODULE := gatord
63 LOCAL_MODULE_TAGS := optional
64
65 include $(BUILD_EXECUTABLE)