aqhome: moved datafile implementations into their own folder.
This commit is contained in:
@@ -57,7 +57,6 @@
|
||||
|
||||
<headers dist="true" install="$(pkgincludedir)/data" >
|
||||
storage.h
|
||||
datafile_direct.h
|
||||
</headers>
|
||||
|
||||
|
||||
@@ -65,7 +64,6 @@
|
||||
storage_p.h
|
||||
storage_readxml.h
|
||||
storage_writexml.h
|
||||
datafile_direct_p.h
|
||||
vars.h
|
||||
vars_p.h
|
||||
vars_dbread.h
|
||||
@@ -80,7 +78,6 @@
|
||||
storage.c
|
||||
storage_readxml.c
|
||||
storage_writexml.c
|
||||
datafile_direct.c
|
||||
vars.c
|
||||
vars_dbread.c
|
||||
vars_dbwrite.c
|
||||
@@ -101,9 +98,11 @@
|
||||
|
||||
|
||||
<useTargets>
|
||||
aqhdf
|
||||
</useTargets>
|
||||
|
||||
<subdirs>
|
||||
datafile
|
||||
</subdirs>
|
||||
|
||||
|
||||
|
||||
79
aqhome/data/datafile/0BUILD
Normal file
79
aqhome/data/datafile/0BUILD
Normal file
@@ -0,0 +1,79 @@
|
||||
<?xml?>
|
||||
|
||||
<gwbuild>
|
||||
|
||||
<target type="ConvenienceLibrary" name="aqhdf" >
|
||||
|
||||
<includes type="c" >
|
||||
$(gwenhywfar_cflags)
|
||||
-I$(topsrcdir)
|
||||
-I$(topbuilddir)
|
||||
</includes>
|
||||
|
||||
<includes type="tm2" >
|
||||
--include=$(builddir)
|
||||
--include=$(srcdir)
|
||||
</includes>
|
||||
|
||||
|
||||
<define name="BUILDING_AQHOME" />
|
||||
|
||||
<setVar name="local/cflags">$(visibility_cflags)</setVar>
|
||||
|
||||
|
||||
<setVar name="tm2flags" >
|
||||
--api=AQHOME_API
|
||||
</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="false" install="$(pkgincludedir)/nodes" >
|
||||
$(local/built_headers_pub)
|
||||
</headers>
|
||||
|
||||
|
||||
<headers dist="true" install="$(pkgincludedir)/nodes" >
|
||||
</headers>
|
||||
|
||||
|
||||
<headers dist="true" >
|
||||
</headers>
|
||||
|
||||
|
||||
<sources>
|
||||
$(local/typefiles)
|
||||
dummy.c
|
||||
</sources>
|
||||
|
||||
|
||||
<extradist>
|
||||
</extradist>
|
||||
|
||||
|
||||
<useTargets>
|
||||
aqhdf_direct
|
||||
</useTargets>
|
||||
|
||||
<subdirs>
|
||||
df_direct
|
||||
</subdirs>
|
||||
|
||||
|
||||
|
||||
|
||||
</target>
|
||||
|
||||
|
||||
</gwbuild>
|
||||
78
aqhome/data/datafile/df_direct/0BUILD
Normal file
78
aqhome/data/datafile/df_direct/0BUILD
Normal file
@@ -0,0 +1,78 @@
|
||||
<?xml?>
|
||||
|
||||
<gwbuild>
|
||||
|
||||
<target type="ConvenienceLibrary" name="aqhdf_direct" >
|
||||
|
||||
<includes type="c" >
|
||||
$(gwenhywfar_cflags)
|
||||
-I$(topsrcdir)
|
||||
-I$(topbuilddir)
|
||||
</includes>
|
||||
|
||||
<includes type="tm2" >
|
||||
--include=$(builddir)
|
||||
--include=$(srcdir)
|
||||
</includes>
|
||||
|
||||
|
||||
<define name="BUILDING_AQHOME" />
|
||||
|
||||
<setVar name="local/cflags">$(visibility_cflags)</setVar>
|
||||
|
||||
|
||||
<setVar name="tm2flags" >
|
||||
--api=AQHOME_API
|
||||
</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="false" install="$(pkgincludedir)/nodes" >
|
||||
$(local/built_headers_pub)
|
||||
</headers>
|
||||
|
||||
|
||||
<headers dist="true" install="$(pkgincludedir)/nodes" >
|
||||
</headers>
|
||||
|
||||
|
||||
<headers dist="true" >
|
||||
df_direct.h
|
||||
</headers>
|
||||
|
||||
|
||||
<sources>
|
||||
$(local/typefiles)
|
||||
df_direct.c
|
||||
</sources>
|
||||
|
||||
|
||||
<extradist>
|
||||
</extradist>
|
||||
|
||||
|
||||
<useTargets>
|
||||
</useTargets>
|
||||
|
||||
<subdirs>
|
||||
</subdirs>
|
||||
|
||||
|
||||
|
||||
|
||||
</target>
|
||||
|
||||
|
||||
</gwbuild>
|
||||
@@ -10,7 +10,7 @@
|
||||
# include <config.h>
|
||||
#endif
|
||||
|
||||
#include "./datafile_direct_p.h"
|
||||
#include "./df_direct_p.h"
|
||||
|
||||
#include <gwenhywfar/debug.h>
|
||||
#include <gwenhywfar/syncio_file.h>
|
||||
@@ -6,8 +6,8 @@
|
||||
* should have received along with this file.
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef AQH_DATAFILE_H
|
||||
#define AQH_DATAFILE_H
|
||||
#ifndef AQH_DF_DIRECT_H
|
||||
#define AQH_DF_DIRECT_H
|
||||
|
||||
|
||||
#include "aqhome/data/storage.h"
|
||||
@@ -6,11 +6,11 @@
|
||||
* should have received along with this file.
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef AQH_DATAFILE_DIRECT_P_H
|
||||
#define AQH_DATAFILE_DIRECT_P_H
|
||||
#ifndef AQH_DF_DIRECT_P_H
|
||||
#define AQH_DF_DIRECT_P_H
|
||||
|
||||
|
||||
#include "./datafile_direct.h"
|
||||
#include "./df_direct.h"
|
||||
|
||||
#include <gwenhywfar/syncio.h>
|
||||
|
||||
0
aqhome/data/datafile/dummy.c
Normal file
0
aqhome/data/datafile/dummy.c
Normal file
@@ -13,7 +13,7 @@
|
||||
#include "aqhome/data/storage_p.h"
|
||||
#include "aqhome/data/storage_readxml.h"
|
||||
#include "aqhome/data/storage_writexml.h"
|
||||
#include "aqhome/data/datafile_direct.h"
|
||||
#include "aqhome/data/datafile/df_direct/df_direct.h"
|
||||
|
||||
#include <gwenhywfar/debug.h>
|
||||
#include <gwenhywfar/xml.h>
|
||||
|
||||
Reference in New Issue
Block a user