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
3031ec7c
Commit
3031ec7c
authored
Mar 15, 1997
by
Marc G. Fournier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
NetBSD Shared Library Patch from Martin J. Laubach
parent
078633e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+17
-11
No files found.
src/interfaces/libpq/Makefile
View file @
3031ec7c
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.2
8 1997/03/14 23:34
:03 scrappy Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.2
9 1997/03/15 19:17
:03 scrappy Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -23,21 +23,25 @@ ifdef KRBVERS
CFLAGS
+=
$(KRBFLAGS)
endif
# dllist.c is found in backend/lib
VPATH
:=
$(VPATH)
:../backend/lib
OBJS
=
fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-lobj.o
\
../backend/lib/dllist.o pqsignal.o
dllist.o pqsignal.o
# Shared library stuff
shlib
:=
install-shlib-dep
:=
ifeq
($(PORTNAME), linux)
ifdef
LINUX_ELF
install-shlib-dep
:=
install-shlib
shlib
:=
libpq.so.1
LDFLAGS_SL
=
-shared
endif
endif
ifeq
($(PORTNAME), BSD44_derived)
install-shlib-dep
:=
install-shlib
shlib
:=
libpq.so.1.0
LDFLAGS_SL
=
-x
-Bshareable
-Bforcearchive
CFLAGS
+=
-fpic
-DPIC
endif
all
:
libpq.a $(shlib) c.h
...
...
@@ -51,17 +55,19 @@ endif
fe-lobj.o
:
../backend/fmgr.h
# We need to compile this with special options for shared libs,
# so we can't use the object in ../backend
dllist.c
:
../backend/lib/dllist.c
-
ln
../backend/lib/dllist.c
# The following rules cause dependencies in the backend directory to
# get made if they don't exist, but don't cause them to get remade if they
# are out of date.
../backend/fmgr.h
:
$(MAKE)
-C
../backend fmgr.h
../backend/lib/dllist.o
:
$(MAKE)
-C
../backend/lib dllist.o
libpq.so.1
:
$(OBJS)
gcc
$(LDFLAGS)
-shared
-o
$@
$(OBJS)
$(shlib)
:
$(OBJS)
$(LD)
$(LDFLAGS)
$(LDFLAGS_SL)
-o
$@
$(OBJS)
c.h
:
../include/c.h
rm
-f
c.h
...
...
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