File tree Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 5
5
# Portions Copyright (c) 1996-2002, PostgreSQL Global Development Group
6
6
# Portions Copyright (c) 1994, Regents of the University of California
7
7
#
8
- # $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.49 2004/10/04 18:05:55 momjian Exp $
8
+ # $PostgreSQL: pgsql/src/bin/psql/Makefile,v 1.50 2004/10/04 20:36:10 momjian Exp $
9
9
#
10
10
# -------------------------------------------------------------------------
11
11
@@ -15,7 +15,7 @@ include $(top_builddir)/src/Makefile.global
15
15
16
16
REFDOCDIR = $(top_srcdir ) /doc/src/sgml/ref
17
17
18
- override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir ) $(CPPFLAGS ) -DFRONTEND
18
+ override CPPFLAGS := -DFRONTEND -I$(libpq_srcdir ) $(CPPFLAGS )
19
19
20
20
OBJS = command.o common.o help.o input.o stringutils.o mainloop.o copy.o \
21
21
startup.o prompt.o variables.o large_obj.o print.o describe.o \
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
7
- # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.25 2004/07/13 00:06:41 tgl Exp $
7
+ # $PostgreSQL: pgsql/src/interfaces/ecpg/ecpglib/Makefile,v 1.26 2004/10/04 20:36:11 momjian Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -21,6 +21,9 @@ override CPPFLAGS := -DFRONTEND -I$(top_srcdir)/src/interfaces/ecpg/include \
21
21
-I$(libpq_srcdir ) -I$(top_builddir ) /src/port $(CPPFLAGS )
22
22
override CFLAGS += $(PTHREAD_CFLAGS )
23
23
24
+ # Need to recomple any libpgport object files
25
+ LIBS := $(patsubst -lpgport,, $(LIBS ) )
26
+
24
27
OBJS = execute.o typename.o descriptor.o data.o error.o prepare.o memory.o \
25
28
connect.o misc.o path.o exec.o
26
29
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
7
- # $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.22 2004/07/13 00:06:43 tgl Exp $
7
+ # $PostgreSQL: pgsql/src/interfaces/ecpg/pgtypeslib/Makefile,v 1.23 2004/10/04 20:36:12 momjian Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -21,6 +21,9 @@ override CPPFLAGS := -I$(top_srcdir)/src/interfaces/ecpg/include \
21
21
-I$(top_srcdir ) /src/include/utils -I$(libpq_srcdir ) $(CPPFLAGS ) \
22
22
$(PTHREAD_CFLAGS ) -DFRONTEND
23
23
24
+ # Need to recomple any libpgport object files
25
+ LIBS := $(patsubst -lpgport,, $(LIBS ) )
26
+
24
27
SHLIB_LINK += -lm
25
28
26
29
OBJS = numeric.o datetime.o common.o dt_common.o timestamp.o interval.o \
Original file line number Diff line number Diff line change 4
4
#
5
5
# Copyright (c) 1994, Regents of the University of California
6
6
#
7
- # $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.113 2004/09/26 02:14:47 momjian Exp $
7
+ # $PostgreSQL: pgsql/src/interfaces/libpq/Makefile,v 1.114 2004/10/04 20:36:12 momjian Exp $
8
8
#
9
9
# -------------------------------------------------------------------------
10
10
@@ -19,9 +19,12 @@ SO_MAJOR_VERSION= 3
19
19
SO_MINOR_VERSION = 2
20
20
DLTYPE = library
21
21
22
- override CPPFLAGS := - I$(srcdir ) $(CPPFLAGS ) -I$(top_builddir ) /src/port -DFRONTEND
22
+ override CPPFLAGS := -DFRONTEND - I$(srcdir ) $(CPPFLAGS ) -I$(top_builddir ) /src/port
23
23
override CFLAGS += $(PTHREAD_CFLAGS )
24
24
25
+ # Need to recomple any libpgport object files
26
+ LIBS := $(patsubst -lpgport,, $(LIBS ) )
27
+
25
28
OBJS = fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o \
26
29
fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o \
27
30
dllist.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.o thread.o \
You can’t perform that action at this time.
0 commit comments