2001-09-06 18:49:30 +08:00
|
|
|
# $Header: /cvsroot/pgsql/contrib/pg_resetxlog/Attic/Makefile,v 1.3 2001/09/06 10:49:30 petere Exp $
|
2001-03-14 08:57:43 +08:00
|
|
|
|
|
|
|
subdir = contrib/pg_resetxlog
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
PROGRAM = pg_resetxlog
|
2001-04-04 03:06:19 +08:00
|
|
|
OBJS = pg_resetxlog.o pg_crc.o $(SNPRINTF)
|
2001-03-14 08:57:43 +08:00
|
|
|
|
2001-04-04 03:06:19 +08:00
|
|
|
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
|
2001-03-14 08:57:43 +08:00
|
|
|
rm -f $@ && $(LN_S) $< .
|
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
EXTRA_CLEAN = pg_crc.c snprintf.c
|
2001-03-14 08:57:43 +08:00
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
DOCS = README.pg_resetxlog
|
2001-03-14 08:57:43 +08:00
|
|
|
|
2001-09-06 18:49:30 +08:00
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|