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
5c410fa0
Commit
5c410fa0
authored
Nov 23, 1996
by
Bryan Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
First pass at getting shared libraries on AIX properly built.
parent
45f1d32b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
18 deletions
+34
-18
src/Makefile.global
src/Makefile.global
+9
-4
src/backend/Makefile
src/backend/Makefile
+25
-14
No files found.
src/Makefile.global
View file @
5c410fa0
...
...
@@ -7,7 +7,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.7
3 1996/11/18 16:32:53 momjian
Exp $
# $Header: /cvsroot/pgsql/src/Attic/Makefile.global,v 1.7
4 1996/11/23 09:50:34 bryanh
Exp $
#
# NOTES
# Essentially all Postgres make files include this file and use the
...
...
@@ -342,15 +342,20 @@ CFLAGS_BE= -qchars=signed -qmaxmem=4000
EXPSUFF
=
.exp
POSTGRES_EXP
=
$(SRCDIR)
/backend/postgres
$(EXPSUFF)
MKLDEXPORT
=
$(SRCDIR)
/backend/port/aix/mkldexport.sh
%$(EXPSUFF)
:
%.o
$(MKLDEXPORT)
$<
`
pwd
`
>
$@
%.so
:
%.o %$(EXPSUFF)
@
echo
The
link
stage here:
$(POSTGRES_EXP)
:
$(MAKE)
-C
$(SRCDIR)
/backend postgres.exp
%.so
:
%.o %$(EXPSUFF) $(POSTGRES_EXP)
@
echo
Making share library
$@
from
$*
.o,
$*$(EXPSUFF)
, and postgres.exp
$(LD)
-H512
-T512
-o
$@
-e
_nostart
\
-bI
:
$(
LIBDIR)
/postgres
$(EXPSUFF
)
-bE
:
$*$(EXPSUFF)
\
-bI
:
$(
POSTGRES_EXP
)
-bE
:
$*$(EXPSUFF)
\
$*
.o
-lm
-lc
2>/dev/null
endif
...
...
src/backend/Makefile
View file @
5c410fa0
...
...
@@ -34,7 +34,7 @@
#
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.1
6 1996/11/18 02:23:41
bryanh Exp $
# $Header: /cvsroot/pgsql/src/backend/Makefile,v 1.1
7 1996/11/23 09:51:57
bryanh Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -53,7 +53,13 @@ ifdef TIOGA
OBJS
+=
tioga/SUBSYS.o
endif
all
:
postgres global1.bki.source local1_template1.bki.source
ifeq
($(MAKE_EXPORTS), true)
EXP
=
postgres
$(EXPSUFF)
else
EXP
=
endif
all
:
postgres $(EXP) global1.bki.source local1_template1.bki.source
postgres
:
postgres_group1 postgres_group2 postgres_group3 postgres_group4
$(CC)
$(LDFLAGS)
-o
postgres
$(OBJS)
$(LDADD)
...
...
@@ -89,6 +95,11 @@ global1.bki.source local1_template1.bki.source:
$(MAKE)
-C
catalog
$@
cp
catalog/
$@
.
# The postgres.o target is needed by the rule in Makefile.global that
# creates the exports file when MAKE_EXPORTS = true.
postgres.o
:
$(OBJS)
$(CC)
$(LDFLAGS)
-r
-o
postgres.o
$(OBJS)
$(LDADD)
############################################################################
# The following targets are specified in make commands that appear in the
...
...
@@ -168,25 +179,25 @@ endif
# and (2) the parameters of a database system should be set at initdb time,
# not at postgres build time.
D_LIBDIR
=
$(DESTDIR)$(LIBDIR)
D_BINDIR
=
$(DESTDIR)$(BINDIR)
install
:
$(D_LIBDIR) $(D_BINDIR) $(HEADERDIR) postgres fmgr.h
\
install
:
$(LIBDIR) $(BINDIR) $(HEADERDIR) postgres $(EXP) fmgr.h
\
global1.bki.source local1_template1.bki.source
\
libpq/pg_hba.conf.sample
$(INSTALL)
$(INSTL_EXE_OPTS)
postgres
$(D_BINDIR)
/postgres
@
rm
-f
$(D_BINDIR)
/postmaster
cd
$(D_BINDIR)
;
ln
-s
postgres postmaster
$(INSTALL)
$(INSTL_EXE_OPTS)
postgres
$(BINDIR)
/postgres
ifeq
($(MAKE_EXPORTS), true)
$(INSTALL)
$(INSTLOPTS)
postgres
$(EXPSUFF)
$(LIBDIR)
/postgres
$(EXPSUFF)
endif
@
rm
-f
$(BINDIR)
/postmaster
cd
$(BINDIR)
;
ln
-s
postgres postmaster
$(INSTALL)
$(INSTLOPTS)
fmgr.h
$(HEADERDIR)
/fmgr.h
$(INSTALL)
$(INSTLOPTS)
global1.bki.source
\
$(
D_
LIBDIR)
/global1.bki.source
$(LIBDIR)
/global1.bki.source
$(INSTALL)
$(INSTLOPTS)
local1_template1.bki.source
\
$(
D_
LIBDIR)
/local1_template1.bki.source
$(LIBDIR)
/local1_template1.bki.source
$(INSTALL)
$(INSTLOPTS)
libpq/pg_hba.conf.sample
\
$(
D_
LIBDIR)
/pg_hba.conf.sample
$(LIBDIR)
/pg_hba.conf.sample
$(
D_BINDIR) $(D_
LIBDIR) $(HEADERDIR)
:
$(
BINDIR) $(
LIBDIR) $(HEADERDIR)
:
mkdir
$@
#############################################################################
...
...
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