Browse Source

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

Jan Janak 16 years ago
parent
commit
536ced2783

+ 5 - 0
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

+ 2 - 2
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.

+ 3 - 3
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>
 

+ 2 - 2
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