-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
62 lines (51 loc) · 1.7 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
AM_CXXFLAGS=-std=c++11 -Wall -Wpedantic -I$(srcdir)/src
bin_PROGRAMS=
noinst_PROGRAMS=
noinst_LIBRARIES=
wwwdir=$(datadir)/renogySolar
www_DATA=
www_DATA+=www/index.html
www_DATA+=www/subframe.html
www_DATA+=www/style.css
www_DATA+=www/dark_style.css
noinst_LIBRARIES+=libRenogySolarCommon.a
libRenogySolarCommon_a_CPPFLAGS=-I$(srcdir)/src
libRenogySolarCommon_a_SOURCES=
libRenogySolarCommon_a_SOURCES+=src/Args.cpp
libRenogySolarCommon_a_SOURCES+=src/HTTPServer.cpp
libRenogySolarCommon_a_SOURCES+=src/Log.cpp
libRenogySolarCommon_a_SOURCES+=src/ModBus.cpp
libRenogySolarCommon_a_SOURCES+=src/Task.cpp
libRenogySolarCommon_a_SOURCES+=src/TCP.cpp
libRenogySolarCommon_a_SOURCES+=src/XML2JSON.cpp
libRenogySolarCommon_a_SOURCES+=src/XMLParser.cpp
bin_PROGRAMS+=rs485-tcp
rs485_tcp_SOURCES=
rs485_tcp_SOURCES+=src/rs485-tcp.cpp
rs485_tcp_SOURCES+=src/SerialPort.cpp
rs485_tcp_LDADD=libRenogySolarCommon.a
bin_PROGRAMS+=controller_read
controller_read_SOURCES=
controller_read_SOURCES+=src/controller_read.cpp
controller_read_LDADD=libRenogySolarCommon.a
bin_PROGRAMS+=history
history_SOURCES=
history_SOURCES+=src/history.cpp
history_SOURCES+=src/HistoryTable.cpp
history_LDADD=
history_LDADD+=libRenogySolarCommon.a
history_LDADD+=-lsqlite3
# YUCK : need a better way to handle thread linkage
history_LDADD+=-lpthread
bin_PROGRAMS+=webserver
webserver_CPPFLAGS="-DWWW_DATA=\"$(wwwdir)\""
webserver_SOURCES=src/webserver.cpp
webserver_LDADD=libRenogySolarCommon.a
noinst_PROGRAMS+=testjson
testjson_CPPFLAGS=-I$(srcdir)/src
testjson_SOURCES=test/testjson.cpp
testjson_LDADD=libRenogySolarCommon.a
noinst_PROGRAMS+=testhttp
testhttp_CPPFLAGS=-I$(srcdir)/src
testhttp_SOURCES=test/testhttp.cpp
testhttp_LDADD=libRenogySolarCommon.a