[SR-Dev] git:janakj/flatstore: Make the module compile in the sip-router source tree .

Jan Janak jan at iptel.org
Sun Feb 15 18:56:46 CET 2009


Module: sip-router
Branch: janakj/flatstore
Commit: 536ced2783aa223bbabd10682df04c6eff7a47b2
URL:    http://git.sip-router.org/cgi-bin/gitweb.cgi/sip-router/?a=commit;h=536ced2783aa223bbabd10682df04c6eff7a47b2

Author: Jan Janak <jan at iptel.org>
Committer: Jan Janak <jan at iptel.org>
Date:   Sun Feb 15 18:45:58 2009 +0100

Make the module compile in the sip-router source tree.

---

 modules/db_flatstore/Makefile   |    5 +++++
 modules/db_flatstore/flat_cmd.h |    4 ++--
 modules/db_flatstore/flat_con.h |    6 +++---
 modules/db_flatstore/flat_uri.h |    4 ++--
 4 files changed, 12 insertions(+), 7 deletions(-)

diff --git a/modules/db_flatstore/Makefile b/modules/db_flatstore/Makefile
index 661f1b8..8bbf2e4 100644
--- a/modules/db_flatstore/Makefile
+++ b/modules/db_flatstore/Makefile
@@ -7,4 +7,9 @@ auto_gen=
 NAME=flatstore.so
 LIBS=
 
+DEFS += -DSER_MOD_INTERFACE
+
+SERLIBPATH=../../lib
+SER_LIBS=$(SERLIBPATH)/srdb2/srdb2
+
 include ../../Makefile.modules
diff --git a/modules/db_flatstore/flat_cmd.h b/modules/db_flatstore/flat_cmd.h
index e27e344..9ae33cb 100644
--- a/modules/db_flatstore/flat_cmd.h
+++ b/modules/db_flatstore/flat_cmd.h
@@ -33,8 +33,8 @@
  * Inmplementation of flatstore commands.
  */
 
-#include "../../db/db_drv.h"
-#include "../../db/db_cmd.h"
+#include "../../lib/srdb2/db_drv.h"
+#include "../../lib/srdb2/db_cmd.h"
 
 
 /** Extension structure of db_cmd adding flatstore specific data.
diff --git a/modules/db_flatstore/flat_con.h b/modules/db_flatstore/flat_con.h
index f71666c..7826cc7 100644
--- a/modules/db_flatstore/flat_con.h
+++ b/modules/db_flatstore/flat_con.h
@@ -33,9 +33,9 @@
  * Inmplementation of flatstore "connections".
  */
 
-#include "../../db/db_pool.h"
-#include "../../db/db_con.h"
-#include "../../db/db_uri.h"
+#include "../../lib/srdb2/db_pool.h"
+#include "../../lib/srdb2/db_con.h"
+#include "../../lib/srdb2/db_uri.h"
 
 #include <stdio.h>
 
diff --git a/modules/db_flatstore/flat_uri.h b/modules/db_flatstore/flat_uri.h
index 2cb251a..d15d417 100644
--- a/modules/db_flatstore/flat_uri.h
+++ b/modules/db_flatstore/flat_uri.h
@@ -32,8 +32,8 @@
  * The functions parsing and interpreting flatstore: URIs.
  */
 
-#include "../../db/db_uri.h"
-#include "../../db/db_drv.h"
+#include "../../lib/srdb2/db_uri.h"
+#include "../../lib/srdb2/db_drv.h"
 
 /** Flatstore driver specific payload to attach to db_uri structures.  
  * This is the flatstore specific structure that will be attached to generic




More information about the sr-dev mailing list