blob: 44799548e51a7e9aa3b8288afc68451bad41966f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
diff --color -Naru a/sdk/demo/demo.mk b/sdk/demo/demo.mk
--- a/sdk/demo/demo.mk 2021-08-22 17:20:17.232777697 +0200
+++ b/sdk/demo/demo.mk 2021-08-22 17:24:49.800783794 +0200
@@ -43,10 +43,15 @@
CC=/opt/SunProd/SUNWspro6.1/bin/CC
cc=/opt/SunProd/SUNWspro6.1/bin/cc
-ICINCHOME=../
-ICLIBHOME=../../
+ifeq ($(BUILD32),T)
+LIBDIR=lib32
+else
+LIBDIR=lib
+endif
+ICINCHOME=$(ORACLE_HOME)/include
+ICLIBHOME=$(ORACLE_HOME)/$(LIBDIR)
ICLIBPATH=-L$(ICLIBHOME)
-CCINCLUDES=-I$(ICINCHOME)include
+CCINCLUDES=-I$(ICINCHOME)
THREADLIBS=-lthread
CCLIB=$(ICLIBPATH) -locci -lclntsh $(THREADLIBS)
|