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
63b22d8a
Commit
63b22d8a
authored
Jan 10, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup for LINUX_ELF
parent
37c168f6
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
19 deletions
+18
-19
src/Makefile.global
src/Makefile.global
+2
-2
src/backend/utils/fmgr/Makefile
src/backend/utils/fmgr/Makefile
+4
-4
src/interfaces/libpgtcl/Makefile
src/interfaces/libpgtcl/Makefile
+7
-3
src/interfaces/libpq/Makefile
src/interfaces/libpq/Makefile
+5
-10
No files found.
src/Makefile.global
View file @
63b22d8a
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.8
4 1997/01/08 08:30:21 bryanh
Exp $
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.8
5 1997/01/10 18:54:49 momjian
Exp $
#
# NOTES
# Essentially all Postgres make files include this file and use the
...
...
@@ -71,7 +71,7 @@ PORTNAME= UNDEFINED
# Ignore LINUX_ELF if you're not using Linux. But if you are, and you're
# compiling to a.out (which means you're using the dld dynamic loading
# library), set LINUX_ELF to null in Makefile.custom.
LINUX_ELF
=
1
LINUX_ELF
=
true
LIBPQDIR
:=
$(SRCDIR)
/libpq
...
...
src/backend/utils/fmgr/Makefile
View file @
63b22d8a
...
...
@@ -4,7 +4,7 @@
# Makefile for utils/fmgr
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/utils/fmgr/Makefile,v 1.
2 1996/11/09 06:23:18
momjian Exp $
# $Header: /cvsroot/pgsql/src/backend/utils/fmgr/Makefile,v 1.
3 1997/01/10 18:55:00
momjian Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -20,9 +20,9 @@ CFLAGS+=$(INCLUDE_OPT)
ifeq
($(PORTNAME), linux)
# LINUX_ELF tells us to use the ELF dynamic load facilities that come with
# Linux.
ifdef
LINUX_ELF
CFLAGS
+=
-DLINUX_ELF
endif
ifdef
LINUX_ELF
CFLAGS
+=
-DLINUX_ELF
endif
endif
OBJS
=
dfmgr.o fmgr.o
...
...
src/interfaces/libpgtcl/Makefile
View file @
63b22d8a
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.
7 1997/01/10 17:40:07
momjian Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpgtcl/Attic/Makefile,v 1.
8 1997/01/10 18:55:14
momjian Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -25,8 +25,12 @@ ifdef KRBVERS
CFLAGS
+=
$(KRBFLAGS)
endif
ifdef
LINUX_ELF
CFLAGS
+=
-fPIC
ifeq
($(PORTNAME), linux)
ifdef
LINUX_ELF
ifeq
($(CC), gcc)
CFLAGS
+=
-fpic
-fPIC
endif
endif
endif
OBJS
=
pgtcl.o pgtclCmds.o pgtclId.o
...
...
src/interfaces/libpq/Makefile
View file @
63b22d8a
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.2
5 1997/01/10 04:01:09 vadim
Exp $
# $Header: /cvsroot/pgsql/src/interfaces/libpq/Makefile,v 1.2
6 1997/01/10 18:55:24 momjian
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -32,16 +32,11 @@ OBJS= fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-lobj.o \
shlib
:=
install-shlib-dep
:=
ifdef
LINUX_ELF
install-shlib-dep
:=
install-shlib
ifeq
($(PORTNAME), linux)
shlib
:=
libpq.so.1
endif
ifeq
($(PORTNAME), BSD44_derived)
shlib
:=
libpq.so.1.0
CFLAGS
+=
-fpic
-DPIC
LDFLAGS
=
-Bshareable
-Bforcearchive
endif
ifdef
LINUX_ELF
install-shlib-dep
:=
install-shlib
shlib
:=
libpq.so.1
endif
endif
all
:
libpq.a $(shlib) 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