aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--contrib/pg_controldata/Makefile9
-rw-r--r--contrib/pg_resetxlog/Makefile9
2 files changed, 4 insertions, 14 deletions
diff --git a/contrib/pg_controldata/Makefile b/contrib/pg_controldata/Makefile
index c0272ec41bb..0feeb973d4f 100644
--- a/contrib/pg_controldata/Makefile
+++ b/contrib/pg_controldata/Makefile
@@ -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
diff --git a/contrib/pg_resetxlog/Makefile b/contrib/pg_resetxlog/Makefile
index 652c1a2c951..93eeffe491b 100644
--- a/contrib/pg_resetxlog/Makefile
+++ b/contrib/pg_resetxlog/Makefile
@@ -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