Browse code

db_oracle: oracle client updated: 12.2 -> 18.3

Ovidiu Sas authored on 11/03/2019 19:06:44
Showing 1 changed files
... ...
@@ -9,9 +9,9 @@ NAME=kamailio_orasel
9 9
 
10 10
 include ../../src/Makefile.sources
11 11
 
12
-# default path for oracle 12.2 client
13
-DEFS +=-I/usr/include/oracle/12.2/client64
14
-LIBS +=-locci -lclntsh -L/usr/lib/oracle/12.2/client64/lib
12
+# default path for oracle 18.3 client
13
+DEFS +=-I/usr/include/oracle/18.3/client64
14
+LIBS +=-locci -lclntsh -L/usr/lib/oracle/18.3/client64/lib
15 15
 
16 16
 include ../../src/Makefile.rules
17 17
 
Browse code

utils/db_oracle: update Makefile for oracle 12.2 client

Ovidiu Sas authored on 26/09/2017 14:40:07
Showing 1 changed files
... ...
@@ -9,56 +9,9 @@ NAME=kamailio_orasel
9 9
 
10 10
 include ../../src/Makefile.sources
11 11
 
12
-ORAPATH=
13
-
14
-# use for multiple client sdk version install
15
-ifneq ($(ORAVERSION),)
16
-    ORAVERDIR=/$(ORAVERSION)
17
-endif
18
-
19
-# use include/library path's for full client installation
20
-ifneq ($(ORAHOME),)
21
-    DEFS +=-I$(ORAHOME)/include
22
-    LIBS +=-L$(ORAHOME)/lib
23
-ifeq ($(ORAPATH),)
24
-    ORAPATH=$(ORAHOME)/lib
25
-endif
26
-else
27
-# use standard know paths oci.h locations (linux)
28
-    DEFS +=-I$(LOCALBASE)/include/oracle$(ORAVERDIR) \
29
-	-I$(SYSBASE)/include/oracle$(ORAVERDIR)
30
-endif
31
-
32
-# search 'so' path if it non standard (possible liboclntsh locations on linux)
33
-ifeq ($(ORAPATH),)
34
-    ORAPATH=$(shell [ -f $(LOCALBASE)/lib64/oracle$(ORAVERDIR)/libocci.so ] && \
35
-	    echo $(LOCALBASE)/lib64/oracle$(ORAVERDIR) )
36
-endif
37
-ifeq ($(ORAPATH),)
38
-    ORAPATH=$(shell [ -f $(SYSBASE)/lib64/oracle$(ORAVERDIR)/libocci.so ] && \
39
-	    echo $(SYSBASE)/lib64/oracle$(ORAVERDIR) )
40
-endif
41
-ifeq ($(ORAPATH),)
42
-    ORAPATH=$(shell [ -f $(SYSBASE)/lib/oracle$(ORAVERDIR)/libocci.so ] && \
43
-	    echo $(SYSBASE)/lib/oracle$(ORAVERDIR) )
44
-endif
45
-ifeq ($(ORAPATH),)
46
-    ORAPATH=$(shell [ -f $(SYSBASE)/lib/oracle$(ORAVERDIR)/libocci.so ] && \
47
-	    echo $(SYSBASE)/lib/oracle$(ORAVERDIR) )
48
-endif
49
-
50
-ifneq ($(ORAPATH),)
51
-    LIBS +=-L$(ORAPATH)
52
-endif
53
-
54
-LIBS +=-locci -lclntsh
55
-
56
-#DEFS +=-DLINUX -D_GNU_SOURCE -D_REENTRANT
57
-#LIBS +=-lpthread
58
-
59
-ifneq ($(ORAPATH),)
60
-    LIBS +=-Wl,-rpath $(ORAPATH)
61
-endif
12
+# default path for oracle 12.2 client
13
+DEFS +=-I/usr/include/oracle/12.2/client64
14
+LIBS +=-locci -lclntsh -L/usr/lib/oracle/12.2/client64/lib
62 15
 
63 16
 include ../../src/Makefile.rules
64 17
 
Browse code

utils: updated Makefile for tools with path to core src

Daniel-Constantin Mierla authored on 08/12/2016 09:06:20
Showing 1 changed files
... ...
@@ -1,14 +1,13 @@
1
-# $Id$
2 1
 #
3 2
 #  db_orasel Makefile
4
-# 
3
+#
5 4
 
6
-include ../../Makefile.defs
5
+include ../../src/Makefile.defs
7 6
 
8 7
 auto_gen=
9 8
 NAME=kamailio_orasel
10 9
 
11
-include ../../Makefile.sources
10
+include ../../src/Makefile.sources
12 11
 
13 12
 ORAPATH=
14 13
 
... ...
@@ -61,6 +60,6 @@ ifneq ($(ORAPATH),)
61 60
     LIBS +=-Wl,-rpath $(ORAPATH)
62 61
 endif
63 62
 
64
-include ../../Makefile.rules
63
+include ../../src/Makefile.rules
65 64
 
66 65
 modules:
Browse code

- renamed: openserunix -> kamunix

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

Klaus Darilion authored on 05/08/2008 14:19:32
Showing 1 changed files
... ...
@@ -6,7 +6,7 @@
6 6
 include ../../Makefile.defs
7 7
 
8 8
 auto_gen=
9
-NAME=openser_orasel
9
+NAME=kamailio_orasel
10 10
 
11 11
 include ../../Makefile.sources
12 12
 
Browse code

Add db_oracle module and toolses for it

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

Iouri Kharon authored on 09/04/2008 15:46:09
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,66 @@
1
+# $Id$
2
+#
3
+#  db_orasel Makefile
4
+# 
5
+
6
+include ../../Makefile.defs
7
+
8
+auto_gen=
9
+NAME=openser_orasel
10
+
11
+include ../../Makefile.sources
12
+
13
+ORAPATH=
14
+
15
+# use for multiple client sdk version install
16
+ifneq ($(ORAVERSION),)
17
+    ORAVERDIR=/$(ORAVERSION)
18
+endif
19
+
20
+# use include/library path's for full client installation
21
+ifneq ($(ORAHOME),)
22
+    DEFS +=-I$(ORAHOME)/include
23
+    LIBS +=-L$(ORAHOME)/lib
24
+ifeq ($(ORAPATH),)
25
+    ORAPATH=$(ORAHOME)/lib
26
+endif
27
+else
28
+# use standard know paths oci.h locations (linux)
29
+    DEFS +=-I$(LOCALBASE)/include/oracle$(ORAVERDIR) \
30
+	-I$(SYSBASE)/include/oracle$(ORAVERDIR)
31
+endif
32
+
33
+# search 'so' path if it non standard (possible liboclntsh locations on linux)
34
+ifeq ($(ORAPATH),)
35
+    ORAPATH=$(shell [ -f $(LOCALBASE)/lib64/oracle$(ORAVERDIR)/libocci.so ] && \
36
+	    echo $(LOCALBASE)/lib64/oracle$(ORAVERDIR) )
37
+endif
38
+ifeq ($(ORAPATH),)
39
+    ORAPATH=$(shell [ -f $(SYSBASE)/lib64/oracle$(ORAVERDIR)/libocci.so ] && \
40
+	    echo $(SYSBASE)/lib64/oracle$(ORAVERDIR) )
41
+endif
42
+ifeq ($(ORAPATH),)
43
+    ORAPATH=$(shell [ -f $(SYSBASE)/lib/oracle$(ORAVERDIR)/libocci.so ] && \
44
+	    echo $(SYSBASE)/lib/oracle$(ORAVERDIR) )
45
+endif
46
+ifeq ($(ORAPATH),)
47
+    ORAPATH=$(shell [ -f $(SYSBASE)/lib/oracle$(ORAVERDIR)/libocci.so ] && \
48
+	    echo $(SYSBASE)/lib/oracle$(ORAVERDIR) )
49
+endif
50
+
51
+ifneq ($(ORAPATH),)
52
+    LIBS +=-L$(ORAPATH)
53
+endif
54
+
55
+LIBS +=-locci -lclntsh
56
+
57
+#DEFS +=-DLINUX -D_GNU_SOURCE -D_REENTRANT
58
+#LIBS +=-lpthread
59
+
60
+ifneq ($(ORAPATH),)
61
+    LIBS +=-Wl,-rpath $(ORAPATH)
62
+endif
63
+
64
+include ../../Makefile.rules
65
+
66
+modules: