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
c217b36e
Commit
c217b36e
authored
Dec 01, 2003
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Win32 patch for Makefile.shlib
Claudio Natoli
parent
9be15f4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
1 deletion
+24
-1
src/Makefile.shlib
src/Makefile.shlib
+24
-1
No files found.
src/Makefile.shlib
View file @
c217b36e
...
...
@@ -6,7 +6,7 @@
# Copyright (c) 1998, Regents of the University of California
#
# IDENTIFICATION
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.7
3 2003/11/29 19:51:39 pgsql
Exp $
# $PostgreSQL: pgsql/src/Makefile.shlib,v 1.7
4 2003/12/01 22:23:06 momjian
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -201,6 +201,10 @@ ifeq ($(PORTNAME), cygwin)
shlib
:=
$(NAME)$(DLSUFFIX)
endif
ifeq
($(PORTNAME), win32)
shlib
:=
lib
$(NAME)$(DLSUFFIX)
endif
ifeq
($(PORTNAME), beos)
shlib
:=
lib
$(NAME)$(DLSUFFIX)
LINK.shared
=
$(LD)
-nostart
...
...
@@ -229,6 +233,7 @@ all-static-lib: lib$(NAME).a
all-shared-lib
:
$(shlib)
ifneq
($(PORTNAME), cygwin)
ifneq
($(PORTNAME), win32)
ifndef
LORDER
MK_NO_LORDER
:=
true
...
...
@@ -242,12 +247,14 @@ else
endif
$(RANLIB)
$@
endif
# not win32
endif
# not cygwin
ifeq
($(enable_shared), yes)
ifneq
($(PORTNAME), beos)
ifneq
($(PORTNAME), cygwin)
ifneq
($(PORTNAME), win32)
ifneq
($(PORTNAME), aix)
# Normal case
...
...
@@ -273,6 +280,16 @@ $(shlib): lib$(NAME).a
endif
# PORTNAME == aix
else
# PORTNAME == win32
# win32 case
$(shlib) lib$(NAME).a
:
$(OBJS)
$(DLLTOOL)
--export-all
--output-def
$(NAME)
.def
$(OBJS)
$(DLLWRAP)
-o
$(shlib)
--dllname
$(shlib)
--def
$(NAME)
.def
$(OBJS)
$(SHLIB_LINK)
$(DLLTOOL)
--dllname
$(shlib)
--def
$(NAME)
.def
--output-lib
lib
$(NAME)
.a
endif
# PORTNAME == win32
else
# PORTNAME == cygwin
# Cygwin case
...
...
@@ -316,6 +333,7 @@ ifeq ($(enable_shared), yes)
install-lib-shared
:
$(shlib)
$(INSTALL_SHLIB)
$<
$(DESTDIR)$(libdir)
/
$(shlib)
ifneq
($(PORTNAME), cygwin)
ifneq
($(PORTNAME), win32)
ifneq
($(shlib), lib$(NAME)$(DLSUFFIX).$(SO_MAJOR_VERSION))
cd
$(DESTDIR)$(libdir)
&&
\
rm
-f
lib
$(NAME)$(DLSUFFIX)
.
$(SO_MAJOR_VERSION)
&&
\
...
...
@@ -327,6 +345,7 @@ ifneq ($(shlib), lib$(NAME)$(DLSUFFIX))
$(LN_S)
$(shlib)
lib
$(NAME)$(DLSUFFIX)
endif
endif
# not win32
endif
# not cygwin
endif
# enable_shared
...
...
@@ -361,3 +380,7 @@ endif
ifeq
($(PORTNAME), cygwin)
rm
-f
$(NAME)
.dll
$(NAME)
.def
endif
ifeq
($(PORTNAME), win32)
rm
-f
$(NAME).dll
$(NAME).def
endif
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