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
5f5db804
Commit
5f5db804
authored
Apr 03, 2001
by
Tom Lane
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Provide snprintf() if system hasn't got it.
parent
7cdbc1e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
8 deletions
+16
-8
contrib/pg_controldata/Makefile
contrib/pg_controldata/Makefile
+8
-4
contrib/pg_resetxlog/Makefile
contrib/pg_resetxlog/Makefile
+8
-4
No files found.
contrib/pg_controldata/Makefile
View file @
5f5db804
#
# $Header: /cvsroot/pgsql/contrib/pg_controldata/Attic/Makefile,v 1.
3 2001/03/13 01:17:40
tgl Exp $
# $Header: /cvsroot/pgsql/contrib/pg_controldata/Attic/Makefile,v 1.
4 2001/04/03 19:06:19
tgl Exp $
#
subdir
=
contrib/pg_controldata
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
OBJS
=
pg_controldata.o pg_crc.o
OBJS
=
pg_controldata.o pg_crc.o
$(SNPRINTF)
all
:
pg_controldata
pg_controldata
:
$(OBJS)
$(CC)
$(CFLAGS)
$(OBJS)
$(LDFLAGS)
$(LIBS)
-o
$@
pg_crc.c
:
$(top_builddir)/src/backend/utils/hash/pg_crc.c
pg_crc.c
:
$(top_srcdir)/src/backend/utils/hash/pg_crc.c
rm
-f
$@
&&
$(LN_S)
$<
.
# this only gets done if configure finds system doesn't have snprintf()
snprintf.c
:
$(top_srcdir)/src/backend/port/snprintf.c
rm
-f
$@
&&
$(LN_S)
$<
.
install
:
all installdirs
...
...
@@ -27,7 +31,7 @@ uninstall:
rm
-f
$(bindir)
/pg_controldata
$(X)
$(docdir)
/contrib/README.pg_controldata
clean distclean maintainer-clean
:
rm
-f
pg_controldata
$(X)
$(OBJS)
pg_crc.c
rm
-f
pg_controldata
$(X)
$(OBJS)
pg_crc.c
snprintf.c
depend dep
:
$(CC)
-MM
-MG
$(CFLAGS)
*
.c
>
depend
...
...
contrib/pg_resetxlog/Makefile
View file @
5f5db804
#
# $Header: /cvsroot/pgsql/contrib/pg_resetxlog/Attic/Makefile,v 1.
1 2001/03/14 00:57:43
tgl Exp $
# $Header: /cvsroot/pgsql/contrib/pg_resetxlog/Attic/Makefile,v 1.
2 2001/04/03 19:01:57
tgl Exp $
#
subdir
=
contrib/pg_resetxlog
top_builddir
=
../..
include
$(top_builddir)/src/Makefile.global
OBJS
=
pg_resetxlog.o pg_crc.o
OBJS
=
pg_resetxlog.o pg_crc.o
$(SNPRINTF)
all
:
pg_resetxlog
pg_resetxlog
:
$(OBJS)
$(CC)
$(CFLAGS)
$(OBJS)
$(LDFLAGS)
$(LIBS)
-o
$@
pg_crc.c
:
$(top_builddir)/src/backend/utils/hash/pg_crc.c
pg_crc.c
:
$(top_srcdir)/src/backend/utils/hash/pg_crc.c
rm
-f
$@
&&
$(LN_S)
$<
.
# this only gets done if configure finds system doesn't have snprintf()
snprintf.c
:
$(top_srcdir)/src/backend/port/snprintf.c
rm
-f
$@
&&
$(LN_S)
$<
.
install
:
all installdirs
...
...
@@ -27,7 +31,7 @@ uninstall:
rm
-f
$(bindir)
/pg_resetxlog
$(X)
$(docdir)
/contrib/README.pg_resetxlog
clean distclean maintainer-clean
:
rm
-f
pg_resetxlog
$(X)
$(OBJS)
pg_crc.c
rm
-f
pg_resetxlog
$(X)
$(OBJS)
pg_crc.c
snprintf.c
depend dep
:
$(CC)
-MM
-MG
$(CFLAGS)
*
.c
>
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