Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
cb6edf9d
Commit
cb6edf9d
authored
Feb 20, 2001
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make sure -L and -I's for our source tree are always before system include
or library directories on the command line.
parent
c4a9023d
Changes
39
Show whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
95 additions
and
100 deletions
+95
-100
contrib/array/Makefile
contrib/array/Makefile
+2
-2
contrib/cube/Makefile
contrib/cube/Makefile
+2
-2
contrib/earthdistance/Makefile
contrib/earthdistance/Makefile
+2
-2
contrib/findoidjoins/Makefile
contrib/findoidjoins/Makefile
+6
-3
contrib/fulltextindex/Makefile
contrib/fulltextindex/Makefile
+2
-2
contrib/intarray/Makefile
contrib/intarray/Makefile
+2
-2
contrib/isbn_issn/Makefile
contrib/isbn_issn/Makefile
+2
-2
contrib/lo/Makefile
contrib/lo/Makefile
+2
-2
contrib/mSQL-interface/Makefile
contrib/mSQL-interface/Makefile
+2
-2
contrib/miscutil/Makefile
contrib/miscutil/Makefile
+2
-2
contrib/noupdate/Makefile
contrib/noupdate/Makefile
+2
-2
contrib/oid2name/Makefile
contrib/oid2name/Makefile
+3
-4
contrib/pg_dumplo/Makefile
contrib/pg_dumplo/Makefile
+3
-3
contrib/pgbench/Makefile
contrib/pgbench/Makefile
+3
-3
contrib/rserv/Makefile
contrib/rserv/Makefile
+1
-1
contrib/seg/Makefile
contrib/seg/Makefile
+2
-2
contrib/spi/Makefile
contrib/spi/Makefile
+2
-2
contrib/string/Makefile
contrib/string/Makefile
+2
-2
contrib/userlock/Makefile
contrib/userlock/Makefile
+2
-2
contrib/vacuumlo/Makefile
contrib/vacuumlo/Makefile
+3
-3
src/Makefile.global.in
src/Makefile.global.in
+2
-6
src/Makefile.shlib
src/Makefile.shlib
+2
-5
src/backend/tioga/Makefile
src/backend/tioga/Makefile
+2
-2
src/bin/pg_dump/Makefile
src/bin/pg_dump/Makefile
+4
-4
src/bin/pg_encoding/Makefile
src/bin/pg_encoding/Makefile
+2
-2
src/bin/pgtclsh/Makefile
src/bin/pgtclsh/Makefile
+4
-4
src/bin/psql/Makefile
src/bin/psql/Makefile
+3
-3
src/interfaces/ecpg/lib/Makefile
src/interfaces/ecpg/lib/Makefile
+2
-2
src/interfaces/ecpg/preproc/Makefile
src/interfaces/ecpg/preproc/Makefile
+3
-2
src/interfaces/libpgeasy/Makefile
src/interfaces/libpgeasy/Makefile
+4
-4
src/interfaces/libpgtcl/Makefile
src/interfaces/libpgtcl/Makefile
+4
-4
src/interfaces/libpq++/Makefile
src/interfaces/libpq++/Makefile
+2
-2
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+3
-3
src/interfaces/odbc/GNUmakefile
src/interfaces/odbc/GNUmakefile
+2
-2
src/makefiles/Makefile.win
src/makefiles/Makefile.win
+2
-3
src/pl/plpgsql/src/Makefile
src/pl/plpgsql/src/Makefile
+2
-2
src/test/bench/Makefile
src/test/bench/Makefile
+2
-2
src/test/examples/Makefile
src/test/examples/Makefile
+1
-1
src/test/regress/GNUmakefile
src/test/regress/GNUmakefile
+2
-2
No files found.
contrib/array/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/array/Attic/Makefile,v 1.1
3 2000/10/20 21:03:03
petere Exp $
# $Header: /cvsroot/pgsql/contrib/array/Attic/Makefile,v 1.1
4 2001/02/20 19:20:26
petere Exp $
#
subdir
=
contrib/array
...
...
@@ -9,7 +9,7 @@ include $(top_builddir)/src/Makefile.global
NAME
:=
array_iterator
SONAME
:=
$(NAME)$(DLSUFFIX)
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
all
:
$(SONAME) $(NAME).sql
...
...
contrib/cube/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/cube/Makefile,v 1.
2 2001/02/10 22:31:42
petere Exp $
# $Header: /cvsroot/pgsql/contrib/cube/Makefile,v 1.
3 2001/02/20 19:20:27
petere Exp $
#
subdir
=
contrib/cube
...
...
@@ -14,7 +14,7 @@ NAME= cube
SO_MAJOR_VERSION
=
1
SO_MINOR_VERSION
=
0
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
OBJS
=
cube.o cubeparse.o cubescan.o buffer.o
...
...
contrib/earthdistance/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/earthdistance/Makefile,v 1.
7 2000/10/20 21:03:03
petere Exp $
# $Header: /cvsroot/pgsql/contrib/earthdistance/Makefile,v 1.
8 2001/02/20 19:20:27
petere Exp $
#
subdir
=
contrib/earthdistance
...
...
@@ -9,7 +9,7 @@ include ../../src/Makefile.global
NAME
:=
earthdistance
SONAME
:=
$(NAME)$(DLSUFFIX)
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
all
:
$(SONAME) $(NAME).sql
...
...
contrib/findoidjoins/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/findoidjoins/Attic/Makefile,v 1.1
1 2000/12/04 01:32:18 tgl
Exp $
# $Header: /cvsroot/pgsql/contrib/findoidjoins/Attic/Makefile,v 1.1
2 2001/02/20 19:20:27 petere
Exp $
#
subdir
=
contrib/findoidjoins
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
override
CPPFLAGS
+=
-I
$(libpgeasy_srcdir)
-I
$(libpq_srcdir)
libpgeasy_srcdir
=
$(top_srcdir)
/src/interfaces/libpgeasy
libpgeasy_builddir
=
$(top_builddir)
/src/interfaces/libpgeasy
override CPPFLAGS
:
= -I$(libpgeasy_srcdir) -I$(libpq_srcdir) $(CPPFLAGS)
OBJS
=
findoidjoins.o
all
:
findoidjoins
findoidjoins
:
$(OBJS) $(libpgeasy_builddir)/libpgeasy.a $(libpq_builddir)/libpq.a
$(CC)
$(CFLAGS)
$(
LDFLAGS)
$(OBJS)
$(libpgeasy)
$(libpq
)
$(LIBS)
-o
$@
$(CC)
$(CFLAGS)
$(
OBJS)
-L
$(libpgeasy_builddir)
-lpgeasy
$(libpq)
$(LDFLAGS
)
$(LIBS)
-o
$@
install
:
all installdirs
$(INSTALL_PROGRAM)
findoidjoins
$(X)
$(bindir)
...
...
contrib/fulltextindex/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/fulltextindex/Attic/Makefile,v 1.
8 2000/10/20 21:03:10
petere Exp $
# $Header: /cvsroot/pgsql/contrib/fulltextindex/Attic/Makefile,v 1.
9 2001/02/20 19:20:27
petere Exp $
#
subdir
=
contrib/fulltextindex
...
...
@@ -9,7 +9,7 @@ include ../../src/Makefile.global
NAME
:=
fti
SONAME
:=
$(NAME)$(DLSUFFIX)
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
all
:
$(SONAME) $(NAME).sql
...
...
contrib/intarray/Makefile
View file @
cb6edf9d
# $Header: /cvsroot/pgsql/contrib/intarray/Makefile,v 1.
2 2001/01/13 02:18:31
petere Exp $
# $Header: /cvsroot/pgsql/contrib/intarray/Makefile,v 1.
3 2001/02/20 19:20:27
petere Exp $
subdir
=
contrib/intarray
top_builddir
=
../..
...
...
@@ -12,7 +12,7 @@ NAME= _int
SO_MAJOR_VERSION
=
1
SO_MINOR_VERSION
=
0
override
CPPFLAGS
+=
-I
$(srcdir
)
-DPGSQL71
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
) -DPGSQL71
OBJS
=
_int.o
...
...
contrib/isbn_issn/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/isbn_issn/Attic/Makefile,v 1.
8 2000/10/20 21:03:13
petere Exp $
# $Header: /cvsroot/pgsql/contrib/isbn_issn/Attic/Makefile,v 1.
9 2001/02/20 19:20:27
petere Exp $
#
subdir
=
contrib/isbn_issn
...
...
@@ -9,7 +9,7 @@ include $(top_builddir)/src/Makefile.global
NAME
:=
isbn_issn
SONAME
:=
$(NAME)$(DLSUFFIX)
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
all
:
$(SONAME) $(NAME).sql
...
...
contrib/lo/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/lo/Makefile,v 1.
8 2000/10/20 21:03:16
petere Exp $
# $Header: /cvsroot/pgsql/contrib/lo/Makefile,v 1.
9 2001/02/20 19:20:27
petere Exp $
#
subdir
=
contrib/lo
...
...
@@ -12,7 +12,7 @@ SONAME := $(NAME)$(DLSUFFIX)
SQLS
=
$(NAME)
.sql lo_drop.sql lo_test.sql
MODS
=
$(NAME)$(DLSUFFIX)
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
ifdef
REFINT_VERBOSE
...
...
contrib/mSQL-interface/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/mSQL-interface/Attic/Makefile,v 1.
6 2000/10/20 21:03:18
petere Exp $
# $Header: /cvsroot/pgsql/contrib/mSQL-interface/Attic/Makefile,v 1.
7 2001/02/20 19:20:27
petere Exp $
#
subdir
=
contrib/mSQL-interface
...
...
@@ -11,7 +11,7 @@ SO_MAJOR_VERSION := 0
SO_MINOR_VERSION
:=
0
OBJS
:=
mpgsql.o
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
include
$(top_srcdir)/src/Makefile.shlib
...
...
contrib/miscutil/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/miscutil/Attic/Makefile,v 1.1
3 2000/10/20 21:03:21
petere Exp $
# $Header: /cvsroot/pgsql/contrib/miscutil/Attic/Makefile,v 1.1
4 2001/02/20 19:20:27
petere Exp $
#
subdir
=
contrib/miscutil
...
...
@@ -9,7 +9,7 @@ include $(top_builddir)/src/Makefile.global
NAME
:=
misc_utils
SONAME
:=
$(NAME)$(DLSUFFIX)
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
all
:
$(SONAME) $(NAME).sql
...
...
contrib/noupdate/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/noupdate/Attic/Makefile,v 1.
6 2000/10/20 21:03:24
petere Exp $
# $Header: /cvsroot/pgsql/contrib/noupdate/Attic/Makefile,v 1.
7 2001/02/20 19:20:27
petere Exp $
#
subdir
=
contrib/noupdate
...
...
@@ -9,7 +9,7 @@ include $(top_builddir)/src/Makefile.global
NAME
:=
noup
SONAME
:=
$(NAME)$(DLSUFFIX)
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
all
:
$(SONAME) $(NAME).sql
...
...
contrib/oid2name/Makefile
View file @
cb6edf9d
#
#
# $Header: /cvsroot/pgsql/contrib/oid2name/Makefile,v 1.3 2001/02/20 19:20:27 petere Exp $
subdir
=
contrib/oid2name
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
OBJS
=
oid2name.o
all
:
oid2name
oid2name
:
$(OBJS) $(libpq_builddir)/libpq.a
$(CC)
$(CFLAGS)
$(
LDFLAGS)
$(OBJS)
$(libpq
)
$(LIBS)
-o
$@
-g
$(CC)
$(CFLAGS)
$(
OBJS)
$(libpq)
$(LDFLAGS
)
$(LIBS)
-o
$@
-g
install
:
all installdirs
$(INSTALL_PROGRAM)
oid2name
$(X)
$(bindir)
...
...
contrib/pg_dumplo/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/Makefile,v 1.
9 2000/12/04 01:32:18 tgl
Exp $
# $Header: /cvsroot/pgsql/contrib/pg_dumplo/Attic/Makefile,v 1.
10 2001/02/20 19:20:27 petere
Exp $
#
subdir
=
contrib/pg_dumplo
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
OBJS
=
main.o lo_export.o lo_import.o utils.o
all
:
pg_dumplo
pg_dumplo
:
$(OBJS) $(libpq_builddir)/libpq.a
$(CC)
$(CFLAGS)
$(
LDFLAGS)
$(OBJS)
$(libpq
)
$(LIBS)
-o
$@
$(CC)
$(CFLAGS)
$(
OBJS)
$(libpq)
$(LDFLAGS
)
$(LIBS)
-o
$@
install
:
all installdirs
$(INSTALL_PROGRAM)
pg_dumplo
$(X)
$(bindir)
...
...
contrib/pgbench/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.
8 2000/12/04 01:32:19 tgl
Exp $
# $Header: /cvsroot/pgsql/contrib/pgbench/Makefile,v 1.
9 2001/02/20 19:20:27 petere
Exp $
#
subdir
=
contrib/pgbench
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
OBJS
=
pgbench.o
all
:
pgbench
pgbench
:
$(OBJS) $(libpq_builddir)/libpq.a
$(CC)
$(CFLAGS)
$(
LDFLAGS)
$(OBJS)
$(libpq
)
$(LIBS)
-o
$@
$(CC)
$(CFLAGS)
$(
OBJS)
$(libpq)
$(LDFLAGS
)
$(LIBS)
-o
$@
install
:
all installdirs
$(INSTALL_PROGRAM)
pgbench
$(X)
$(bindir)
...
...
contrib/rserv/Makefile
View file @
cb6edf9d
...
...
@@ -14,7 +14,7 @@ PERLS += SlaveInit SlaveAddTable GetSyncID
PERLS
+=
PrepareSnapshot ApplySnapshot
SCRIPTS
=
InitRservTest
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
...
...
contrib/seg/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/seg/Makefile,v 1.
2 2001/02/10 22:31:42
petere Exp $
# $Header: /cvsroot/pgsql/contrib/seg/Makefile,v 1.
3 2001/02/20 19:20:28
petere Exp $
#
subdir
=
contrib/seg
...
...
@@ -14,7 +14,7 @@ NAME= seg
SO_MAJOR_VERSION
=
1
SO_MINOR_VERSION
=
0
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
OBJS
=
seg.o segparse.o segscan.o buffer.o
...
...
contrib/spi/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/spi/Makefile,v 1.1
8 2000/10/20 21:03:31
petere Exp $
# $Header: /cvsroot/pgsql/contrib/spi/Makefile,v 1.1
9 2001/02/20 19:20:28
petere Exp $
#
subdir
=
contrib/spi
...
...
@@ -12,7 +12,7 @@ SQLS = $(OBJS:.o=.sql)
EXAMPLES
=
$(OBJS:.o=.example)
MODS
=
$
(
OBJS:.o
=
$(DLSUFFIX)
)
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
ifdef
REFINT_VERBOSE
...
...
contrib/string/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/string/Attic/Makefile,v 1.1
3 2000/10/20 21:03:32
petere Exp $
# $Header: /cvsroot/pgsql/contrib/string/Attic/Makefile,v 1.1
4 2001/02/20 19:20:28
petere Exp $
#
subdir
=
contrib/string
...
...
@@ -9,7 +9,7 @@ include $(top_builddir)/src/Makefile.global
NAME
:=
string_io
SONAME
:=
$(NAME)$(DLSUFFIX)
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
all
:
$(SONAME) $(NAME).sql
...
...
contrib/userlock/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/userlock/Attic/Makefile,v 1.1
3 2000/10/20 21:03:34
petere Exp $
# $Header: /cvsroot/pgsql/contrib/userlock/Attic/Makefile,v 1.1
4 2001/02/20 19:20:28
petere Exp $
#
subdir
=
contrib/userlock
...
...
@@ -9,7 +9,7 @@ include $(top_builddir)/src/Makefile.global
NAME
:=
user_locks
SONAME
:=
$(NAME)$(DLSUFFIX)
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
all
:
$(SONAME) $(NAME).sql
...
...
contrib/vacuumlo/Makefile
View file @
cb6edf9d
#
# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.
9 2000/12/04 01:32:19 tgl
Exp $
# $Header: /cvsroot/pgsql/contrib/vacuumlo/Makefile,v 1.
10 2001/02/20 19:20:28 petere
Exp $
#
subdir
=
contrib/vacuumlo
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
OBJS
=
vacuumlo.o
all
:
vacuumlo
vacuumlo
:
$(OBJS) $(libpq_builddir)/libpq.a
$(CC)
$(CFLAGS)
$(
LDFLAGS)
$(OBJS)
$(libpq
)
$(LIBS)
-o
$@
$(CC)
$(CFLAGS)
$(
OBJS)
$(libpq)
$(LDFLAGS
)
$(LIBS)
-o
$@
install
:
all installdirs
$(INSTALL_PROGRAM)
vacuumlo
$(X)
$(bindir)
...
...
src/Makefile.global.in
View file @
cb6edf9d
# -*-makefile-*-
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.11
8 2001/02/07 20:13:27 tgl
Exp $
# $Header: /cvsroot/pgsql/src/Makefile.global.in,v 1.11
9 2001/02/20 19:20:28 petere
Exp $
#------------------------------------------------------------------------------
# All PostgreSQL makefiles include this file and use the variables it sets,
...
...
@@ -137,7 +137,7 @@ DOCBOOKSTYLE = @DOCBOOKSTYLE@
CPP
=
@CPP@
CPPFLAGS
=
@CPPFLAGS@
override
CPPFLAGS
+=
$(
sort
-I
$(top_srcdir)
/src/include
-I
$(top_builddir)
/src/include
)
override CPPFLAGS
:
= $(sort -I$(top_srcdir)/src/include -I$(top_builddir)/src/include) $(CPPFLAGS
)
CC
=
@CC@
GCC
=
@GCC@
...
...
@@ -240,10 +240,6 @@ libpq_srcdir = $(top_srcdir)/src/interfaces/libpq
libpq_builddir
=
$(top_builddir)
/src/interfaces/libpq
libpq
=
-L
$(libpq_builddir)
-lpq
libpgeasy_srcdir
=
$(top_srcdir)
/src/interfaces/libpgeasy
libpgeasy_builddir
=
$(top_builddir)
/src/interfaces/libpgeasy
libpgeasy
=
-L
$(libpgeasy_builddir)
-lpgeasy
##########################################################################
#
...
...
src/Makefile.shlib
View file @
cb6edf9d
...
...
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.4
4 2001/02/10 18:46:34 momjian
Exp $
# $Header: /cvsroot/pgsql/src/Makefile.shlib,v 1.4
5 2001/02/20 19:20:28 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -230,9 +230,6 @@ ifeq ($(PORTNAME), beos)
SHLIB_LINK
+=
-ltermcap
-lstdc
++.r4
-lbind
-lsocket
-L
/boot/develop/lib/x86
endif
# Pull in any extra -L options that the user might have specified.
SHLIB_LINK
:=
$(
filter
-L
%,
$(LDFLAGS)
)
$(SHLIB_LINK)
ifeq
($(enable_rpath), yes)
SHLIB_LINK
+=
$(rpath)
endif
...
...
@@ -298,7 +295,7 @@ else # PORTNAME == win
# WIN case
$(shlib) lib$(NAME).a
:
$(OBJS) $(top_builddir)/src/utils/dllinit.o
$(DLLTOOL)
--export-all
--output-def
$(NAME)
.def
$(OBJS)
$(DLLWRAP)
-o
$(shlib)
--dllname
$(shlib)
--def
$(NAME)
.def
$(OBJS)
$(top_builddir)
/src/utils/dllinit.o
$(DLLINIT)
$(SHLIB_LINK)
$(DLLWRAP)
-o
$(shlib)
--dllname
$(shlib)
--def
$(NAME)
.def
$(OBJS)
$(top_builddir)
/src/utils/dllinit.o
$(DLLINIT)
$(
DLLLIBS)
$(
SHLIB_LINK)
$(DLLTOOL)
--dllname
$(shlib)
--def
$(NAME)
.def
--output-lib
lib
$(NAME)
.a
$(top_builddir)/src/utils/dllinit.o
:
$(top_srcdir)/src/utils/dllinit.c
...
...
src/backend/tioga/Makefile
View file @
cb6edf9d
...
...
@@ -4,7 +4,7 @@
# Makefile for tioga
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/tioga/Attic/Makefile,v 1.
9 2000/10/20 21:03:50
petere Exp $
# $Header: /cvsroot/pgsql/src/backend/tioga/Attic/Makefile,v 1.
10 2001/02/20 19:20:28
petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -13,7 +13,7 @@ top_builddir = ../../..
include
$(top_builddir)/src/Makefile.global
OBJS
=
tgRecipe.o Varray.o
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
all
:
SUBSYS.o
...
...
src/bin/pg_dump/Makefile
View file @
cb6edf9d
...
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.2
8 2001/02/18 18:33:59 momjian
Exp $
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.2
9 2001/02/20 19:20:28 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -16,15 +16,15 @@ include $(top_builddir)/src/Makefile.global
OBJS
=
pg_backup_archiver.o pg_backup_db.o pg_backup_custom.o pg_backup_files.o
\
pg_backup_null.o pg_backup_tar.o
$(STRDUP)
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
all
:
submake pg_dump pg_restore pg_dumpall
pg_dump
:
pg_dump.o common.o $(OBJS) $(libpq_builddir)/libpq.a
$(CC)
$(CFLAGS)
$(LDFLAGS)
pg_dump.o common.o
$(OBJS)
$(libpq
)
$(LIBS)
-o
$@
$(CC)
$(CFLAGS)
pg_dump.o common.o
$(OBJS)
$(libpq)
$(LDFLAGS
)
$(LIBS)
-o
$@
pg_restore
:
pg_restore.o $(OBJS) $(libpq_builddir)/libpq.a
$(CC)
$(CFLAGS)
$(LDFLAGS)
pg_restore.o
$(OBJS)
$(libpq
)
$(LIBS)
-o
$@
$(CC)
$(CFLAGS)
pg_restore.o
$(OBJS)
$(libpq)
$(LDFLAGS
)
$(LIBS)
-o
$@
../../utils/strdup.o
:
$(MAKE)
-C
../../utils strdup.o
...
...
src/bin/pg_encoding/Makefile
View file @
cb6edf9d
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1998, PostgreSQL Global Development Group
#
# $Header: /cvsroot/pgsql/src/bin/pg_encoding/Attic/Makefile,v 1.1
2 2000/11/30 20:36:11
petere Exp $
# $Header: /cvsroot/pgsql/src/bin/pg_encoding/Attic/Makefile,v 1.1
3 2001/02/20 19:20:28
petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -17,7 +17,7 @@ OBJS= pg_encoding.o
all
:
submake pg_encoding
pg_encoding
:
$(OBJS)
$(CC)
$(CFLAGS)
$
(LDFLAGS)
$^
$(libpq
)
$(LIBS)
-o
$@
$(CC)
$(CFLAGS)
$
^
$(libpq)
$(LDFLAGS
)
$(LIBS)
-o
$@
.PHONY
:
submake
...
...
src/bin/pgtclsh/Makefile
View file @
cb6edf9d
...
...
@@ -6,7 +6,7 @@
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.3
6 2001/02/18 18:34:01 momjian
Exp $
# $Header: /cvsroot/pgsql/src/bin/pgtclsh/Attic/Makefile,v 1.3
7 2001/02/20 19:20:29 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -26,7 +26,7 @@ libpgtcl_srcdir = $(top_srcdir)/src/interfaces/libpgtcl
libpgtcl_builddir
=
$(top_builddir)
/src/interfaces/libpgtcl
libpgtcl
=
-L
$(libpgtcl_builddir)
-lpgtcl
override
CPPFLAGS
+=
-I
$(libpgtcl_srcdir
)
$(TK_XINCLUDES)
override CPPFLAGS
:
= -I$(libpgtcl_srcdir) $(CPPFLAGS
) $(TK_XINCLUDES)
# If we are here then Tcl is available
...
...
@@ -40,10 +40,10 @@ endif
all
:
submake $(PROGRAMS)
pgtclsh
:
pgtclAppInit.o
$(CC)
$(CFLAGS)
$
(LDFLAGS)
$^
$(libpgtcl)
$(libpq)
$(TCL_LIB_SPEC)
$(TCL_LIB
S)
$(LIBS)
-o
$@
$(CC)
$(CFLAGS)
$
^
$(libpgtcl)
$(libpq)
$(TCL_LIB_SPEC)
$(TCL_LIBS)
$(LDFLAG
S)
$(LIBS)
-o
$@
pgtksh
:
pgtkAppInit.o
$(CC)
$(CFLAGS)
$
(LDFLAGS)
$^
$(libpgtcl)
$(libpq)
$(TK_LIB_SPEC)
$(TK_LIBS)
$(TCL_LIB_SPEC
)
$(LIBS)
-o
$@
$(CC)
$(CFLAGS)
$
^
$(libpgtcl)
$(libpq)
$(TK_LIB_SPEC)
$(TK_LIBS)
$(TCL_LIB_SPEC)
$(LDFLAGS
)
$(LIBS)
-o
$@
.PHONY
:
submake
submake
:
...
...
src/bin/psql/Makefile
View file @
cb6edf9d
...
...
@@ -5,7 +5,7 @@
# Portions Copyright (c) 1996-2001, PostgreSQL Global Development Group
# Portions Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.2
8 2001/02/18 18:34:01 momjian
Exp $
# $Header: /cvsroot/pgsql/src/bin/psql/Makefile,v 1.2
9 2001/02/20 19:20:29 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -15,7 +15,7 @@ include $(top_builddir)/src/Makefile.global
REFDOCDIR
=
$(top_srcdir)
/doc/src/sgml/ref
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
OBJS
=
command.o common.o help.o input.o stringutils.o mainloop.o
\
copy.o startup.o prompt.o variables.o large_obj.o print.o describe.o
\
...
...
@@ -49,7 +49,7 @@ endif
# End of hacks for picking up backend 'port' modules
psql
:
$(OBJS) $(libpq_builddir)/libpq.a
$(CC)
$(CFLAGS)
$(
LDFLAGS)
$(OBJS)
$(libpq
)
$(LIBS)
-o
$@
$(CC)
$(CFLAGS)
$(
OBJS)
$(libpq)
$(LDFLAGS
)
$(LIBS)
-o
$@
help.o
:
$(srcdir)/sql_help.h
...
...
src/interfaces/ecpg/lib/Makefile
View file @
cb6edf9d
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile,v 1.1
0 2000/10/20 21:04:05
petere Exp $
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/lib/Attic/Makefile,v 1.1
1 2001/02/20 19:20:29
petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -16,7 +16,7 @@ NAME= ecpg
SO_MAJOR_VERSION
=
3
SO_MINOR_VERSION
=
2.0
override
CPPFLAGS
+=
-I
$(top_srcdir)
/src/interfaces/ecpg/include
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(top_srcdir)/src/interfaces/ecpg/include -I$(libpq_srcdir) $(CPPFLAGS
)
OBJS
=
execute.o typename.o descriptor.o data.o error.o prepare.o memory.o
\
...
...
src/interfaces/ecpg/preproc/Makefile
View file @
cb6edf9d
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.7
3 2001/02/10 22:31:42
petere Exp $
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.7
4 2001/02/20 19:20:29
petere Exp $
subdir
=
src/interfaces/ecpg/preproc
top_builddir
=
../../../..
...
...
@@ -8,7 +8,8 @@ MAJOR_VERSION=2
MINOR_VERSION
=
8
PATCHLEVEL
=
0
override
CPPFLAGS
+=
-I
$(srcdir)
/../include
-DMAJOR_VERSION
=
$(MAJOR_VERSION)
\
override CPPFLAGS
:
= -I$(srcdir)/../include $(CPPFLAGS)
\
-DMAJOR_VERSION=$(MAJOR_VERSION)
\
-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)
\
-DINCLUDE_PATH=
\"
$(includedir)
\"
...
...
src/interfaces/libpgeasy/Makefile
View file @
cb6edf9d
...
...
@@ -2,7 +2,7 @@
#
# Makefile for src/interfaces/libpgeasy
#
# $Header: /cvsroot/pgsql/src/interfaces/libpgeasy/Attic/Makefile,v 1.
5 2000/10/31 14:37:25
petere Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpgeasy/Attic/Makefile,v 1.
6 2001/02/20 19:20:29
petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -16,16 +16,16 @@ NAME= pgeasy
SO_MAJOR_VERSION
=
2
SO_MINOR_VERSION
=
1
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
OBJS
=
libpgeasy.o halt.o
SHLIB_LINK
+
=
$(libpq)
SHLIB_LINK
=
$(libpq)
# If crypt is a separate library, rather than part of libc, it may need
# to be referenced separately to keep (broken) linkers happy. (This is
# braindead; users of libpq should not need to know what it depends on.)
SHLIB_LINK
+=
$(
filter
-lcrypt
,
$(LIBS)
)
SHLIB_LINK
+=
$(
filter
-
L
%,
$(LDFLAGS)
)
$(
filter
-
lcrypt
,
$(LIBS)
)
all
:
all-lib
...
...
src/interfaces/libpgtcl/Makefile
View file @
cb6edf9d
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.2
4 2000/10/31 14:37:25
petere Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.2
5 2001/02/20 19:20:29
petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -16,16 +16,16 @@ NAME= pgtcl
SO_MAJOR_VERSION
=
2
SO_MINOR_VERSION
=
1
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
OBJS
=
pgtcl.o pgtclCmds.o pgtclId.o
SHLIB_LINK
+
=
$(libpq)
SHLIB_LINK
=
$(libpq)
# If crypt is a separate library, rather than part of libc, it may need
# to be referenced separately to keep (broken) linkers happy. (This is
# braindead; users of libpq should not need to know what it depends on.)
SHLIB_LINK
+=
$(
filter
-lcrypt
,
$(LIBS)
)
SHLIB_LINK
+=
$(
filter
-
L
%,
$(LDFLAGS)
)
$(
filter
-
lcrypt
,
$(LIBS)
)
all
:
submake all-lib
...
...
src/interfaces/libpq++/Makefile
View file @
cb6edf9d
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.2
7 2000/10/23 21:43:57
petere Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq++/Attic/Makefile,v 1.2
8 2001/02/20 19:20:29
petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -16,7 +16,7 @@ NAME= pq++
SO_MAJOR_VERSION
=
3
SO_MINOR_VERSION
=
1
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
OBJS
=
pgconnection.o pgdatabase.o pgtransdb.o pgcursordb.o pglobject.o
...
...
src/interfaces/libpq/Makefile
View file @
cb6edf9d
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.5
0 2001/02/11 01:52:11 ishii
Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.5
1 2001/02/20 19:20:29 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -17,7 +17,7 @@ NAME= pq
SO_MAJOR_VERSION
=
2
SO_MINOR_VERSION
=
1
override
CPPFLAGS
+=
-DFRONTEND
-I
$(srcdir)
-DSYSCONFDIR
=
'"
$(sysconfdir)
"'
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS) -DFRONTEND
-DSYSCONFDIR='"$(sysconfdir)"'
OBJS
=
fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o
\
pqexpbuffer.o dllist.o pqsignal.o
\
...
...
@@ -30,7 +30,7 @@ endif
# Add libraries that libpq depends (or might depend) on into the
# shared library link. (The order in which you list them here doesn't
# matter.)
SHLIB_LINK
+=
$(
filter
-lcrypt
-ldes
-lkrb
-lcom_err
-lcrypto
-lk5crypto
-lkrb5
-lssl
-lsocket
-lnsl
-lresolv
,
$(LIBS)
)
SHLIB_LINK
+=
$(
filter
-
L
%,
$(LDFLAGS)
)
$(
filter
-
lcrypt
-ldes
-lkrb
-lcom_err
-lcrypto
-lk5crypto
-lkrb5
-lssl
-lsocket
-lnsl
-lresolv
,
$(LIBS)
)
all
:
all-lib
...
...
src/interfaces/odbc/GNUmakefile
View file @
cb6edf9d
...
...
@@ -2,7 +2,7 @@
#
# GNUMakefile for psqlodbc (Postgres ODBC driver)
#
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.1
3 2001/02/14 05:45:38 momjian
Exp $
# $Header: /cvsroot/pgsql/src/interfaces/odbc/Attic/GNUmakefile,v 1.1
4 2001/02/20 19:20:29 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -15,7 +15,7 @@ NAME = psqlodbc
SO_MAJOR_VERSION
=
0
SO_MINOR_VERSION
=
26
override
CPPFLAGS
+=
-I
$(srcdir
)
-DHAVE_CONFIG_H
-DODBCINSTDIR
=
'"
$(odbcinst_ini_dir)
"'
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
) -DHAVE_CONFIG_H -DODBCINSTDIR='"$(odbcinst_ini_dir)"'
OBJS
=
info.o bind.o columninfo.o connection.o convert.o drvconn.o
\
...
...
src/makefiles/Makefile.win
View file @
cb6edf9d
# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.
8 2001/01/09 18:45:41
petere Exp $
# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.
9 2001/02/20 19:20:29
petere Exp $
LDFLAGS
+=
-g
DLLTOOL
=
dlltool
DLLWRAP
=
dllwrap
DLLLIBS
=
-L
/usr/local/lib
-L
$(top_builddir)
/src/backend
-lpostgres
-lcygipc
-lcygwin
-lcrypt
-lkernel32
DLLLIBS
=
-L
$(top_builddir)
/src/backend
-lpostgres
-lcygipc
-lcygwin
-lcrypt
-lkernel32
MK_NO_LORDER
=
true
MAKE_DLL
=
true
#MAKE_DLL=false
SHLIB_LINK
=
$(DLLLIBS)
# linking with -lm or -lc causes program to crash
# (see http://sources.redhat.com/cygwin/faq/faq.html#SEC110)
LIBS
:=
$(
filter-out
-lm
-lc
,
$(LIBS)
)
...
...
src/pl/plpgsql/src/Makefile
View file @
cb6edf9d
...
...
@@ -2,7 +2,7 @@
#
# Makefile for the plpgsql shared object
#
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.1
1 2001/02/10 22:31:42
petere Exp $
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.1
2 2001/02/20 19:20:29
petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -15,7 +15,7 @@ NAME= plpgsql
SO_MAJOR_VERSION
=
1
SO_MINOR_VERSION
=
0
override
CPPFLAGS
+=
-I
$(srcdir
)
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS
)
OBJS
=
pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
...
...
src/test/bench/Makefile
View file @
cb6edf9d
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/test/bench/Attic/Makefile,v 1.
8 2000/10/20 21:04:1
9 petere Exp $
# $Header: /cvsroot/pgsql/src/test/bench/Attic/Makefile,v 1.
9 2001/02/20 19:20:2
9 petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -18,7 +18,7 @@ include $(top_builddir)/src/Makefile.global
CREATEFILES
=
create.sql bench.sql
OUTFILES
=
bench.out bench.out.perquery
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
...
...
src/test/examples/Makefile
View file @
cb6edf9d
...
...
@@ -6,7 +6,7 @@ subdir = src/test/examples
top_builddir
=
../../..
include
$(top_builddir)/src/Makefile.global
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
LIBS
+=
$(libpq)
...
...
src/test/regress/GNUmakefile
View file @
cb6edf9d
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.3
2 2000/11/22 13:16:24
petere Exp $
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.3
3 2001/02/20 19:20:30
petere Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -17,7 +17,7 @@ include $(top_builddir)/src/Makefile.global
contribdir
:=
$(top_builddir)
/contrib
override
CPPFLAGS
+=
-I
$(libpq_srcdir
)
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS
)
override
CFLAGS
+=
$(CFLAGS_SL)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment