Skip to content

Commit 8af8be2

Browse files
committed
Initial revision
0 parents  commit 8af8be2

File tree

12 files changed

+2638
-0
lines changed

12 files changed

+2638
-0
lines changed

Makefile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# pg_reorg: Makefile
3+
#
4+
# Copyright (c) 2008, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5+
#
6+
.PHONY: all install clean
7+
8+
all:
9+
make -C bin
10+
make -C lib
11+
12+
install:
13+
make -C bin install
14+
make -C lib install
15+
16+
clean:
17+
make -C bin clean
18+
make -C lib clean
19+
20+
debug:
21+
make -C bin DEBUG_REORG=enable
22+
make -C lib DEBUG_REORG=enable
23+
24+
uninstall:
25+
make -C bin uninstall
26+
make -C lib uninstall

bin/Makefile

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# pg_reorg: bin/Makefile
3+
#
4+
# Copyright (c) 2008, NIPPON TELEGRAPH AND TELEPHONE CORPORATION
5+
#
6+
SRCS = \
7+
pg_reorg.c
8+
OBJS = $(SRCS:.c=.o) $(top_builddir)/src/bin/scripts/common.o
9+
PROGRAM = pg_reorg
10+
11+
ifdef DEBUG_REORG
12+
PG_CPPFLAGS = -I$(libpq_srcdir) -I$(top_builddir)/src/bin/scripts -DDEBUG_REORG
13+
else
14+
PG_CPPFLAGS = -I$(libpq_srcdir) -I$(top_builddir)/src/bin/scripts
15+
endif
16+
PG_LIBS = $(libpq)
17+
18+
ifdef USE_PGXS
19+
PGXS := $(shell pg_config --pgxs)
20+
include $(PGXS)
21+
else
22+
subdir = contrib/pg_reorg
23+
top_builddir = ../../..
24+
include $(top_builddir)/src/Makefile.global
25+
include $(top_srcdir)/contrib/contrib-global.mk
26+
endif

0 commit comments

Comments
 (0)