|
Lines 1-5
Link Here
|
| 1 |
--- makefile.orig Fri Nov 22 00:41:30 2002 |
1 |
--- makefile.orig Tue Dec 10 00:22:22 2002 |
| 2 |
+++ makefile Sun Dec 1 07:54:01 2002 |
2 |
+++ makefile Tue Jan 14 18:57:13 2003 |
| 3 |
@@ -32,8 +32,8 @@ |
3 |
@@ -32,8 +32,8 @@ |
| 4 |
SUFF= |
4 |
SUFF= |
| 5 |
else |
5 |
else |
|
Lines 11-31
Link Here
|
| 11 |
else |
11 |
else |
| 12 |
TFLAGS=-D_REENTRANT -D_THREAD_SAFE |
12 |
TFLAGS=-D_REENTRANT -D_THREAD_SAFE |
| 13 |
THRLIBS=-lpthread |
13 |
THRLIBS=-lpthread |
| 14 |
@@ -65,7 +65,6 @@ |
14 |
@@ -65,7 +65,7 @@ |
| 15 |
|
15 |
|
| 16 |
WEB_EXAMPLES = cgistub bugdb clidb |
16 |
WEB_EXAMPLES = cgistub bugdb clidb |
| 17 |
|
17 |
|
| 18 |
-CC = g++ |
18 |
-CC = g++ |
|
|
19 |
+CC = ${CXX} |
| 19 |
|
20 |
|
| 20 |
# Possible FastDB compile time parameters (-Dxxx should be added to DEFS macro): |
21 |
# Possible FastDB compile time parameters (-Dxxx should be added to DEFS macro): |
| 21 |
# 1. USE_LOCALE_SETTING - use C locale for string comparison operations |
22 |
# 1. USE_LOCALE_SETTINGS - use C locale for string comparison operations |
| 22 |
@@ -101,13 +100,13 @@ |
23 |
@@ -101,13 +101,13 @@ |
| 23 |
DEFS = -DUSE_QUEUE_MANAGER -DUSE_LOCALE_SETTINGS |
24 |
DEFS = -DUSE_QUEUE_MANAGER -DUSE_LOCALE_SETTINGS |
| 24 |
|
25 |
|
| 25 |
#CFLAGS = $(TFLAGS) -c -Wall -O5 -g $(DEFS) |
26 |
#CFLAGS = $(TFLAGS) -c -Wall -O5 -g $(DEFS) |
| 26 |
-CFLAGS = -c -Wall -O0 -g $(DEFS) $(TFLAGS) |
27 |
-CFLAGS = -c -Wall -O0 -g $(DEFS) $(TFLAGS) |
| 27 |
+CFLAGS += -c $(DEFS) $(TFLAGS) |
28 |
+CFLAGS = -c ${CXXFLAGS} $(DEFS) $(TFLAGS) |
| 28 |
#CFLAGS = -c -Wall -O0 -DDEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS) |
29 |
#CFLAGS = -c -Wall -O0 -DFASTDB_DEBUG=DEBUG_TRACE -g $(DEFS) $(TFLAGS) |
| 29 |
-SHFLAGS=-shared |
30 |
-SHFLAGS=-shared |
| 30 |
+SHFLAGS=-shared -Wl,-soname,$@ |
31 |
+SHFLAGS=-shared -Wl,-soname,$@ |
| 31 |
|
32 |
|
|
Lines 36-42
Link Here
|
| 36 |
|
37 |
|
| 37 |
AR = ar |
38 |
AR = ar |
| 38 |
ARFLAGS = -cru |
39 |
ARFLAGS = -cru |
| 39 |
@@ -326,14 +325,13 @@ |
40 |
@@ -326,14 +326,13 @@ |
| 40 |
|
41 |
|
| 41 |
install: subsql installlib |
42 |
install: subsql installlib |
| 42 |
mkdir -p $(BINSPATH) |
43 |
mkdir -p $(BINSPATH) |