File tree Expand file tree Collapse file tree 2 files changed +647
-0
lines changed Expand file tree Collapse file tree 2 files changed +647
-0
lines changed Original file line number Diff line number Diff line change
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
+ clean distclean maintainer-clean :
35
+ rm -f pg_resetxlog$(X ) pg_resetxlog.o pg_crc.o pg_crc.c
You can’t perform that action at this time.
0 commit comments