Browse code

modules_k/*: moved k modules in directory modules/

Daniel-Constantin Mierla authored on 20/01/2013 11:57:52
Showing 1 changed files
1 1
deleted file mode 100644
... ...
@@ -1,21 +0,0 @@
1
-# $Id$
2
-#
3
-# WARNING: do not run this directly, it should be run by the master Makefile
4
-
5
-include ../../Makefile.defs
6
-auto_gen=
7
-NAME=db_unixodbc.so
8
-
9
-# sql.h locations (freebsd,openbsd  solaris)
10
-DEFS += -I$(LOCALBASE)/include
11
-
12
-# libodbc locations on RH/Suse, Solaris /OpenBSD, FreeBSD
13
-# (Debian does the right thing and puts it in /usr/lib)
14
-LIBS= -L$(LOCALBASE)/lib -lodbc
15
-
16
-DEFS+=-DKAMAILIO_MOD_INTERFACE
17
-
18
-SERLIBPATH=../../lib
19
-SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
20
-SER_LIBS+=$(SERLIBPATH)/kcore/kcore
21
-include ../../Makefile.modules
Browse code

all: OPENSER_MOD_INTERFACE replaced with KAMAILIO_MOD_INTERFACE

- OPENSER_MOD_INTERFACE still works if used in module Makefile

Daniel-Constantin Mierla authored on 18/10/2012 13:46:13
Showing 1 changed files
... ...
@@ -13,7 +13,7 @@ DEFS += -I$(LOCALBASE)/include
13 13
 # (Debian does the right thing and puts it in /usr/lib)
14 14
 LIBS= -L$(LOCALBASE)/lib -lodbc
15 15
 
16
-DEFS+=-DOPENSER_MOD_INTERFACE
16
+DEFS+=-DKAMAILIO_MOD_INTERFACE
17 17
 
18 18
 SERLIBPATH=../../lib
19 19
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
Browse code

Update module to use strcommon files from libkcore

This patch does two things:
* It links the module with the shared library libkcore which contains
strcommon files that were originally present in kamailio core and
are missing from the sip-router core.
* it fixes the path to strcommon.h to point to the header in the shared
library.

Jan Janak authored on 03/03/2009 16:14:45
Showing 1 changed files
... ...
@@ -17,4 +17,5 @@ DEFS+=-DOPENSER_MOD_INTERFACE
17 17
 
18 18
 SERLIBPATH=../../lib
19 19
 SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
20
+SER_LIBS+=$(SERLIBPATH)/kcore/kcore
20 21
 include ../../Makefile.modules
Browse code

Various db api changes needed after migration to libsrdb1

This patch makes the module compatible with the changes done in the
database library of kamailio/ser when it was converted to shared library
libsrdb1. These changes are mostly needed to avoid conflicts with the
symbols defined in the newer version of the library libsrdb2.

List of changes:
* Rename db_con_t to db1_con_t
* Rename db_res_t to db1_res_t
* Rename db field type names from DB_* to DB1_*
* Updated header paths to files in ../../lib/srdb1
* Link with libsrdb1

Jan Janak authored on 03/03/2009 14:41:26
Showing 1 changed files
... ...
@@ -15,4 +15,6 @@ LIBS= -L$(LOCALBASE)/lib -lodbc
15 15
 
16 16
 DEFS+=-DOPENSER_MOD_INTERFACE
17 17
 
18
+SERLIBPATH=../../lib
19
+SER_LIBS+=$(SERLIBPATH)/srdb1/srdb1
18 20
 include ../../Makefile.modules
Browse code

Define OPENSER_MOD_INTERFACE in Makefile.

This patch adds -DOPENSER_MOD_INTERFACE to the modules Makefile, this
is needed to make Kamailio modules compile with the sip router core.

Jan Janak authored on 03/03/2009 13:37:38
Showing 1 changed files
... ...
@@ -13,4 +13,6 @@ DEFS += -I$(LOCALBASE)/include
13 13
 # (Debian does the right thing and puts it in /usr/lib)
14 14
 LIBS= -L$(LOCALBASE)/lib -lodbc
15 15
 
16
+DEFS+=-DOPENSER_MOD_INTERFACE
17
+
16 18
 include ../../Makefile.modules
Browse code

- unixodbc don't need to link against the libz lib

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3692 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 12/02/2008 17:01:27
Showing 1 changed files
... ...
@@ -11,6 +11,6 @@ DEFS += -I$(LOCALBASE)/include
11 11
 
12 12
 # libodbc locations on RH/Suse, Solaris /OpenBSD, FreeBSD
13 13
 # (Debian does the right thing and puts it in /usr/lib)
14
-LIBS= -L$(LOCALBASE)/lib -lodbc -lz
14
+LIBS= -L$(LOCALBASE)/lib -lodbc
15 15
 
16 16
 include ../../Makefile.modules
Browse code

further changes after the db name change - update INSTALL file - fix Makefile skip modules variable - fix module Makefile, lib name - change db_bind_mod to add the db prefix in the function - change db url defines in db_berkeley and db_text - change database modules names in module struct - fix debian packaging - fix tests

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3642 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 06/02/2008 15:46:09
Showing 1 changed files
... ...
@@ -4,7 +4,7 @@
4 4
 
5 5
 include ../../Makefile.defs
6 6
 auto_gen=
7
-NAME=unixodbc.so
7
+NAME=db_unixodbc.so
8 8
 
9 9
 # sql.h locations (freebsd,openbsd  solaris)
10 10
 DEFS += -I$(LOCALBASE)/include
Browse code

- rename database modules to use the 'db_' prefix

git-svn-id: https://openser.svn.sourceforge.net/svnroot/openser/trunk@3638 689a6050-402a-0410-94f2-e92a70836424

Henning Westerholt authored on 06/02/2008 13:10:03
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,16 @@
1
+# $Id$
2
+#
3
+# WARNING: do not run this directly, it should be run by the master Makefile
4
+
5
+include ../../Makefile.defs
6
+auto_gen=
7
+NAME=unixodbc.so
8
+
9
+# sql.h locations (freebsd,openbsd  solaris)
10
+DEFS += -I$(LOCALBASE)/include
11
+
12
+# libodbc locations on RH/Suse, Solaris /OpenBSD, FreeBSD
13
+# (Debian does the right thing and puts it in /usr/lib)
14
+LIBS= -L$(LOCALBASE)/lib -lodbc -lz
15
+
16
+include ../../Makefile.modules