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
6faf150a
Commit
6faf150a
authored
Apr 04, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix/cleanup DLLLIBS handling for Cygwin port. If it works it's to
Jason Tishler's credit, if it's broken it's my fault ...
parent
d3ad2ad6
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
14 deletions
+20
-14
contrib/spi/Makefile
contrib/spi/Makefile
+4
-1
src/backend/Makefile
src/backend/Makefile
+7
-9
src/makefiles/Makefile.win
src/makefiles/Makefile.win
+3
-2
src/pl/plpgsql/src/Makefile
src/pl/plpgsql/src/Makefile
+3
-1
src/test/regress/GNUmakefile
src/test/regress/GNUmakefile
+3
-1
No files found.
contrib/spi/Makefile
View file @
6faf150a
#
# $Header: /cvsroot/pgsql/contrib/spi/Makefile,v 1.
19 2001/02/20 19:20:28 petere
Exp $
# $Header: /cvsroot/pgsql/contrib/spi/Makefile,v 1.
20 2001/04/04 21:15:56 tgl
Exp $
#
subdir
=
contrib/spi
...
...
@@ -19,6 +19,9 @@ ifdef REFINT_VERBOSE
override
CPPFLAGS
+=
-DREFINT_VERBOSE
endif
override DLLLIBS
:
= $(BE_DLLLIBS) $(DLLLIBS)
all
:
$(MODS) $(SQLS)
%.sql
:
%.sql.in
...
...
src/backend/Makefile
View file @
6faf150a
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.
69 2001/04/02 03:21:23
tgl Exp $
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.
70 2001/04/04 21:15:56
tgl Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -43,11 +43,11 @@ else # win
# No points for style here. How about encapsulating some of these
# commands into variables?
postgres
:
$(
DLL
OBJS) $(top_builddir)/src/utils/dllinit.o postgres.def libpostgres.a
postgres
:
$(OBJS) $(top_builddir)/src/utils/dllinit.o postgres.def libpostgres.a
dlltool
--dllname
$@$(X)
--output-exp
$@
.exp
--def
postgres.def
gcc
-g
-o
$@$(X)
-Wl
,--base-file,
$@
.base
$@
.exp
$(
DLL
OBJS)
$(DLLLIBS)
gcc
-g
-o
$@$(X)
-Wl
,--base-file,
$@
.base
$@
.exp
$(OBJS)
$(DLLLIBS)
dlltool
--dllname
$@$(X)
--base-file
$@
.base
--output-exp
$@
.exp
--def
postgres.def
gcc
-g
-o
$@$(X)
$@
.exp
$(
DLL
OBJS)
$(DLLLIBS)
gcc
-g
-o
$@$(X)
$@
.exp
$(OBJS)
$(DLLLIBS)
rm
$@
.exp
$@
.base
endif
# win
...
...
@@ -64,12 +64,10 @@ $(DIRS:%=%-recursive): $(top_builddir)/src/include/parser/parse.h $(top_builddir
ifeq
($(MAKE_DLL), true)
DLLOBJS
:=
$(OBJS)
postgres.def
:
$(OBJS)
$(DLLTOOL)
--export-all
--output-def
$@
$(OBJS)
postgres.def
:
$(DLLOBJS)
$(DLLTOOL)
--export-all
--output-def
$@
$(DLLOBJS)
libpostgres.a
:
$(DLLOBJS) $(top_builddir)/src/utils/dllinit.o postgres.def
libpostgres.a
:
$(OBJS) $(top_builddir)/src/utils/dllinit.o postgres.def
$(DLLTOOL)
--dllname
postgres.exe
--def
postgres.def
--output-lib
$@
endif
# MAKE_DLL
...
...
src/makefiles/Makefile.win
View file @
6faf150a
# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.
9 2001/02/20 19:20:29 petere
Exp $
# $Header: /cvsroot/pgsql/src/makefiles/Attic/Makefile.win,v 1.
10 2001/04/04 21:15:56 tgl
Exp $
LDFLAGS
+=
-g
DLLTOOL
=
dlltool
DLLWRAP
=
dllwrap
DLLLIBS
=
-L
$(top_builddir)
/src/backend
-lpostgres
-lcygipc
-lcygwin
-lcrypt
-lkernel32
DLLLIBS
=
-lcygipc
-lcrypt
BE_DLLLIBS
=
-L
$(top_builddir)
/src/backend
-lpostgres
MK_NO_LORDER
=
true
MAKE_DLL
=
true
#MAKE_DLL=false
...
...
src/pl/plpgsql/src/Makefile
View file @
6faf150a
...
...
@@ -2,7 +2,7 @@
#
# Makefile for the plpgsql shared object
#
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.1
2 2001/02/20 19:20:29 petere
Exp $
# $Header: /cvsroot/pgsql/src/pl/plpgsql/src/Makefile,v 1.1
3 2001/04/04 21:15:56 tgl
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -17,6 +17,8 @@ SO_MINOR_VERSION= 0
override CPPFLAGS
:
= -I$(srcdir) $(CPPFLAGS)
override DLLLIBS
:
= $(BE_DLLLIBS) $(DLLLIBS)
OBJS
=
pl_parse.o pl_handler.o pl_comp.o pl_exec.o pl_funcs.o
all
:
all-lib
...
...
src/test/regress/GNUmakefile
View file @
6faf150a
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.3
3 2001/02/20 19:20:30 petere
Exp $
# $Header: /cvsroot/pgsql/src/test/regress/GNUmakefile,v 1.3
4 2001/04/04 21:15:56 tgl
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -20,6 +20,8 @@ contribdir := $(top_builddir)/contrib
override CPPFLAGS
:
= -I$(libpq_srcdir) $(CPPFLAGS)
override
CFLAGS
+=
$(CFLAGS_SL)
override DLLLIBS
:
= $(BE_DLLLIBS) $(DLLLIBS)
##
## Prepare for tests
...
...
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