formatting
This commit is contained in:
@@ -1,16 +1,11 @@
|
|||||||
add_definitions(-Wconversion -Wno-unused-parameter)
|
add_definitions(-Wconversion -Wno-unused-parameter)
|
||||||
|
|
||||||
set(ebusd_SOURCES
|
set(ebusd_SOURCES
|
||||||
bushandler.cpp
|
bushandler.h bushandler.cpp
|
||||||
bushandler.h
|
datahandler.h datahandler.cpp
|
||||||
datahandler.h
|
network.h network.cpp
|
||||||
datahandler.cpp
|
mainloop.h mainloop.cpp
|
||||||
network.cpp
|
main.h main.cpp
|
||||||
network.h
|
|
||||||
mainloop.cpp
|
|
||||||
mainloop.h
|
|
||||||
main.h
|
|
||||||
main.cpp
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if(HAVE_MQTT)
|
if(HAVE_MQTT)
|
||||||
|
|||||||
+6
-10
@@ -6,16 +6,12 @@ AM_CXXFLAGS = -I$(top_srcdir)/src \
|
|||||||
|
|
||||||
bin_PROGRAMS = ebusd
|
bin_PROGRAMS = ebusd
|
||||||
|
|
||||||
ebusd_SOURCES = bushandler.cpp \
|
ebusd_SOURCES = \
|
||||||
bushandler.h \
|
bushandler.h bushandler.cpp \
|
||||||
datahandler.cpp \
|
datahandler.h datahandler.cpp \
|
||||||
datahandler.h \
|
network.h network.cpp \
|
||||||
network.cpp \
|
mainloop.h mainloop.cpp \
|
||||||
network.h \
|
main.h main.cpp
|
||||||
mainloop.cpp \
|
|
||||||
mainloop.h \
|
|
||||||
main.h \
|
|
||||||
main.cpp
|
|
||||||
|
|
||||||
if MQTT
|
if MQTT
|
||||||
ebusd_SOURCES += mqtthandler.cpp mqtthandler.h
|
ebusd_SOURCES += mqtthandler.cpp mqtthandler.h
|
||||||
|
|||||||
@@ -7,8 +7,7 @@ set(libebus_a_SOURCES
|
|||||||
datatype.h datatype.cpp
|
datatype.h datatype.cpp
|
||||||
data.h data.cpp
|
data.h data.cpp
|
||||||
device.h device.cpp
|
device.h device.cpp
|
||||||
message.cpp
|
message.h message.cpp
|
||||||
message.h
|
|
||||||
stringhelper.h stringhelper.cpp
|
stringhelper.h stringhelper.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -4,20 +4,14 @@ AM_CXXFLAGS = -I$(top_srcdir)/src \
|
|||||||
|
|
||||||
noinst_LIBRARIES = libebus.a
|
noinst_LIBRARIES = libebus.a
|
||||||
|
|
||||||
libebus_a_SOURCES = result.cpp \
|
libebus_a_SOURCES = \
|
||||||
result.h \
|
result.h result.cpp \
|
||||||
symbol.cpp \
|
symbol.h symbol.cpp \
|
||||||
symbol.h \
|
filereader.h filereader.cpp \
|
||||||
filereader.h \
|
datatype.h datatype.cpp \
|
||||||
filereader.cpp \
|
data.h data.cpp \
|
||||||
datatype.cpp \
|
device.h device.cpp \
|
||||||
datatype.h \
|
message.h message.cpp \
|
||||||
data.cpp \
|
|
||||||
data.h \
|
|
||||||
device.cpp \
|
|
||||||
device.h \
|
|
||||||
message.cpp \
|
|
||||||
message.h \
|
|
||||||
stringhelper.h stringhelper.cpp
|
stringhelper.h stringhelper.cpp
|
||||||
|
|
||||||
if CONTRIB
|
if CONTRIB
|
||||||
|
|||||||
@@ -1,10 +1,8 @@
|
|||||||
add_definitions(-Wno-unused-parameter)
|
add_definitions(-Wno-unused-parameter)
|
||||||
|
|
||||||
set(libebuscontrib_a_SOURCES
|
set(libebuscontrib_a_SOURCES
|
||||||
contrib.cpp
|
contrib.h contrib.cpp
|
||||||
contrib.h
|
tem.h tem.cpp
|
||||||
tem.cpp
|
|
||||||
tem.h
|
|
||||||
)
|
)
|
||||||
|
|
||||||
include_directories(..)
|
include_directories(..)
|
||||||
|
|||||||
@@ -4,7 +4,9 @@ AM_CXXFLAGS = -I$(top_srcdir)/src \
|
|||||||
|
|
||||||
noinst_LIBRARIES = libebuscontrib.a
|
noinst_LIBRARIES = libebuscontrib.a
|
||||||
|
|
||||||
libebuscontrib_a_SOURCES = contrib.h contrib.cpp tem.h tem.cpp
|
libebuscontrib_a_SOURCES = \
|
||||||
|
contrib.h contrib.cpp \
|
||||||
|
tem.h tem.cpp
|
||||||
|
|
||||||
distclean-local:
|
distclean-local:
|
||||||
-rm -f Makefile.in
|
-rm -f Makefile.in
|
||||||
|
|||||||
@@ -4,7 +4,8 @@ AM_CXXFLAGS = -I$(top_srcdir)/src \
|
|||||||
|
|
||||||
noinst_LIBRARIES = libutils.a
|
noinst_LIBRARIES = libutils.a
|
||||||
|
|
||||||
libutils_a_SOURCES = log.h log.cpp \
|
libutils_a_SOURCES = \
|
||||||
|
log.h log.cpp \
|
||||||
tcpsocket.h tcpsocket.cpp \
|
tcpsocket.h tcpsocket.cpp \
|
||||||
thread.h thread.cpp \
|
thread.h thread.cpp \
|
||||||
clock.h clock.cpp \
|
clock.h clock.cpp \
|
||||||
|
|||||||
Reference in New Issue
Block a user