1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
$NetBSD: patch-aa,v 1.2 1999/09/19 04:24:54 jlam Exp $
--- ./Makefile.global.in.orig Thu Jun 24 20:13:45 1999
+++ ./Makefile.global.in Sat Sep 18 03:20:03 1999
@@ -54,6 +54,15 @@
ELF_SYSTEM= @ELF_SYS@
LIBPQDIR:= $(SRCDIR)/interfaces/libpq
+LIBPGTCLDIR:= $(SRCDIR)/interfaces/libpgtcl
+
+ifneq ($(LIBTOOL),)
+LIBPQ:= $(LIBPQDIR)/libpq.la
+LIBPGTCL:= $(LIBPGTCLDIR)/libpgtcl.la
+else
+LIBPQ:= -L$(LIBPQDIR) -lpq
+LIBPGTCL:= -L$(LIBPGTCLDIR) -lpgtcl
+endif
# For convenience, POSTGRESDIR is where BINDIR, and LIBDIR
# and other target destinations are rooted. Of course, each of these is
@@ -200,6 +209,7 @@
#-------------------------------------------------------------
CC= @CC@
CPP= @CPP@
+CXX= @CXX@
YFLAGS= @YFLAGS@
YACC= @YACC@
LEX= @LEX@
@@ -242,7 +252,7 @@
##############################################################################
ifneq ($(CUSTOM_INSTALL),)
-INSTALL= $(CUSTOM_INSTALL)
+INSTALL:= $(CUSTOM_INSTALL)
endif
#
@@ -273,7 +283,11 @@
# using a i486 or better.
ifneq ($(CUSTOM_CC),)
- CC= $(CUSTOM_CC)
+ CC:= $(CUSTOM_CC)
+endif
+
+ifneq ($(CUSTOM_CXX),)
+ CXX:= $(CUSTOM_CXX)
endif
ifneq ($(CUSTOM_COPT),)
|