Contrib port/ usage is same as others so no need for rules.

This commit is contained in:
Bruce Momjian 2002-07-18 04:33:39 +00:00
parent 7c5c1a2adb
commit a5a8110a86
2 changed files with 4 additions and 14 deletions

View File

@ -1,20 +1,15 @@
# $Header: /cvsroot/pgsql/contrib/pg_controldata/Attic/Makefile,v 1.6 2002/07/18 03:59:49 momjian Exp $
# $Header: /cvsroot/pgsql/contrib/pg_controldata/Attic/Makefile,v 1.7 2002/07/18 04:33:39 momjian Exp $
subdir = contrib/pg_controldata
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
PROGRAM = pg_controldata
OBJS = pg_controldata.o pg_crc.o $(notdir $(SNPRINTF))
OBJS = pg_controldata.o pg_crc.o $(SNPRINTF)
pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
rm -f $@ && $(LN_S) $< .
ifdef SNPRINTF
$(basename $(notdir $(SNPRINTF))).c: $(basename $(SNPRINTF)).c
rm -f $@ && $(LN_S) $< .
endif
EXTRA_CLEAN = pg_crc.c snprintf.c
DOCS = README.pg_controldata

View File

@ -1,20 +1,15 @@
# $Header: /cvsroot/pgsql/contrib/pg_resetxlog/Attic/Makefile,v 1.4 2002/07/18 03:59:49 momjian Exp $
# $Header: /cvsroot/pgsql/contrib/pg_resetxlog/Attic/Makefile,v 1.5 2002/07/18 04:33:39 momjian Exp $
subdir = contrib/pg_resetxlog
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
PROGRAM = pg_resetxlog
OBJS = pg_resetxlog.o pg_crc.o $(notdir $(SNPRINTF))
OBJS = pg_resetxlog.o pg_crc.o $(SNPRINTF)
pg_crc.c: $(top_srcdir)/src/backend/utils/hash/pg_crc.c
rm -f $@ && $(LN_S) $< .
ifdef SNPRINTF
$(basename $(notdir $(SNPRINTF))).c: $(basename $(SNPRINTF)).c
rm -f $@ && $(LN_S) $< .
endif
EXTRA_CLEAN = pg_crc.c snprintf.c
DOCS = README.pg_resetxlog