We will now have a broker (aqhome-data) which stores data and distributes value change messages among connected clients. aqhomed will connect to that broker and send its values there. aqhome-mqtt will also connect to the broker and send its values there. Other clients can later connect to check for changes and react according to rules.
87 lines
1.3 KiB
Plaintext
87 lines
1.3 KiB
Plaintext
<?xml?>
|
|
|
|
<gwbuild>
|
|
|
|
<target type="Program" name="aqhome-data" install="$(bindir)" >
|
|
|
|
<includes type="c" >
|
|
$(gwenhywfar_cflags)
|
|
-I$(topsrcdir)
|
|
-I$(topbuilddir)
|
|
-I$(builddir)
|
|
-I$(srcdir)
|
|
</includes>
|
|
|
|
<includes type="tm2" >
|
|
--include=$(builddir)
|
|
--include=$(srcdir)
|
|
</includes>
|
|
|
|
<setVar name="local/cflags">$(visibility_cflags)</setVar>
|
|
|
|
<setVar name="tm2flags" >
|
|
</setVar>
|
|
|
|
<setVar name="local/typefiles" >
|
|
</setVar>
|
|
|
|
<setVar name="local/built_sources" >
|
|
</setVar>
|
|
|
|
<setVar name="local/built_headers_pub">
|
|
</setVar>
|
|
|
|
<setVar name="local/built_headers_priv" >
|
|
</setVar>
|
|
|
|
<headers dist="true" >
|
|
aqhome_data.h
|
|
aqhome_data_p.h
|
|
fini.h
|
|
init.h
|
|
loop.h
|
|
c_connect.h
|
|
c_updatedata.h
|
|
c_getvalues.h
|
|
c_getdatapoints.h
|
|
c_getlastdatapoint.h
|
|
</headers>
|
|
|
|
<sources>
|
|
$(local/typefiles)
|
|
|
|
aqhome_data.c
|
|
fini.c
|
|
init.c
|
|
loop.c
|
|
c_connect.c
|
|
c_updatedata.c
|
|
c_getvalues.c
|
|
c_getdatapoints.c
|
|
c_getlastdatapoint.c
|
|
main.c
|
|
</sources>
|
|
|
|
<useTargets>
|
|
aqhome
|
|
</useTargets>
|
|
|
|
<libraries>
|
|
$(gwenhywfar_libs)
|
|
</libraries>
|
|
|
|
<subdirs>
|
|
</subdirs>
|
|
|
|
|
|
<extradist>
|
|
</extradist>
|
|
|
|
|
|
</target>
|
|
|
|
|
|
</gwbuild>
|
|
|
|
|