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
b5e2dafd
Commit
b5e2dafd
authored
Jul 04, 2000
by
Peter Eisentraut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix broken pg_dump makefile
parent
d819f5fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
src/bin/pg_dump/Makefile
src/bin/pg_dump/Makefile
+13
-7
No files found.
src/bin/pg_dump/Makefile
View file @
b5e2dafd
...
...
@@ -4,7 +4,7 @@
#
# Copyright (c) 1994, Regents of the University of California
#
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.1
8 2000/07/04 14:25:26 momjian
Exp $
# $Header: /cvsroot/pgsql/src/bin/pg_dump/Makefile,v 1.1
9 2000/07/04 19:52:00 petere
Exp $
#
#-------------------------------------------------------------------------
...
...
@@ -16,19 +16,25 @@ OBJS= pg_backup_archiver.o pg_backup_custom.o pg_backup_files.o \
pg_backup_plain_text.o
$(STRDUP)
CFLAGS
+=
-I
$(LIBPQDIR)
L
DFLAG
S
+=
-lz
L
IB
S
+=
-lz
all
:
submake pg_dump
$(X) pg_restore$(X)
all
:
submake pg_dump
pg_restore pg_dumpall
pg_dump
$(X)
:
pg_dump.o common.o $(OBJS) $(LIBPQDIR)/libpq.a
pg_dump
:
pg_dump.o common.o $(OBJS) $(LIBPQDIR)/libpq.a
$(CC)
$(CFLAGS)
-o
$@
pg_dump.o common.o
$(OBJS)
$(LIBPQ)
$(LDFLAGS)
pg_restore
$(X)
:
pg_restore.o $(OBJS) $(LIBPQDIR)/libpq.a
pg_restore
:
pg_restore.o $(OBJS) $(LIBPQDIR)/libpq.a
$(CC)
$(CFLAGS)
-o
$@
pg_restore.o
$(OBJS)
$(LIBPQ)
$(LDFLAGS)
../../utils/strdup.o
:
$(MAKE)
-C
../../utils strdup.o
pg_dumpall
:
pg_dumpall.sh
sed
-e
's:__VERSION__:
$(VERSION)
:g'
\
-e
's:__MULTIBYTE__:
$(MULTIBYTE)
:g'
\
-e
's:__bindir__:
$(bindir)
:g'
\
<
$<
>
$@
.PHONY
:
submake
submake
:
$(MAKE)
-C
$(LIBPQDIR)
all
...
...
@@ -43,13 +49,13 @@ installdirs:
$(mkinstalldirs)
$(bindir)
uninstall
:
rm
-f
$(
addprefix
$(bindir)
/, pg_dump
$(X)
pg_dumpall pg_upgrade
)
rm
-f
$(
addprefix
$(bindir)
/, pg_dump
$(X)
pg_
restore
$(X)
pg_
dumpall pg_upgrade
)
depend dep
:
$(CC)
-MM
$(CFLAGS)
*
.c
>
depend
clean distclean maintainer-clean
:
rm
-f
pg_dump
$(X)
pg_restore
$(X)
$(OBJS)
pg_dump.o common.o pg_restore.o
rm
-f
pg_dump
$(X)
pg_restore
$(X)
$(OBJS)
pg_dump.o common.o pg_restore.o
pg_dumpall
ifeq
(depend,$(wildcard depend))
include
depend
...
...
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