Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit33e3c9b

Browse files
committed
Add files for pg_resetxlog.
1 parent6945ea3 commit33e3c9b

File tree

2 files changed

+647
-0
lines changed

2 files changed

+647
-0
lines changed

‎src/bin/pg_resetxlog/Makefile‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
#-------------------------------------------------------------------------
2+
#
3+
# Makefile for src/bin/pg_resetxlog
4+
#
5+
# Copyright (c) 1998, PostgreSQL Global Development Group
6+
#
7+
# $Header: /cvsroot/pgsql/src/bin/pg_resetxlog/Makefile,v 1.1 2002/08/17 02:44:24 momjian Exp $
8+
#
9+
#-------------------------------------------------------------------------
10+
11+
subdir = src/bin/pg_resetxlog
12+
top_builddir = ../../..
13+
include$(top_builddir)/src/Makefile.global
14+
15+
OBJS= pg_resetxlog.o pg_crc.o
16+
17+
pg_crc.c:$(top_builddir)/src/backend/utils/hash/pg_crc.c
18+
rm -f$@&&$(LN_S)$<.
19+
20+
all: submake-libpgport pg_resetxlog
21+
22+
pg_resetxlog:$(OBJS)
23+
$(CC)$(CFLAGS)$^$(libpq)$(LDFLAGS)$(LIBS) -o$@
24+
25+
install: all installdirs
26+
$(INSTALL_PROGRAM) pg_resetxlog$(X)$(DESTDIR)$(bindir)/pg_resetxlog$(X)
27+
28+
installdirs:
29+
$(mkinstalldirs)$(DESTDIR)$(bindir)
30+
31+
uninstall:
32+
rm -f$(DESTDIR)$(bindir)/pg_resetxlog$(X)
33+
34+
cleandistcleanmaintainer-clean:
35+
rm -f pg_resetxlog$(X) pg_resetxlog.o pg_crc.o pg_crc.c

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp