From 0474dcb60833c635c011ec3c4642f65fc2e1dcb0 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Tue, 19 Feb 2008 10:30:09 +0000 Subject: Refactor backend makefiles to remove lots of duplicate code --- src/backend/bootstrap/Makefile | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'src/backend/bootstrap') diff --git a/src/backend/bootstrap/Makefile b/src/backend/bootstrap/Makefile index 314826e4f4b..ac83245395d 100644 --- a/src/backend/bootstrap/Makefile +++ b/src/backend/bootstrap/Makefile @@ -2,7 +2,7 @@ # # Makefile for the bootstrap module # -# $PostgreSQL: pgsql/src/backend/bootstrap/Makefile,v 1.35 2007/01/20 17:16:11 petere Exp $ +# $PostgreSQL: pgsql/src/backend/bootstrap/Makefile,v 1.36 2008/02/19 10:30:07 petere Exp $ # #------------------------------------------------------------------------- @@ -14,10 +14,7 @@ override CPPFLAGS := -I$(srcdir) $(CPPFLAGS) OBJS= bootparse.o bootstrap.o -all: SUBSYS.o - -SUBSYS.o: $(OBJS) - $(LD) $(LDREL) $(LDOUT) $@ $^ +include $(top_srcdir)/src/backend/common.mk # bootscanner is compiled as part of bootparse @@ -50,6 +47,5 @@ bootstrap.o bootparse.o: $(srcdir)/bootstrap_tokens.h # bootparse.c, bootstrap_tokens.h, and bootscanner.c are in the distribution # tarball, so they are not cleaned here. clean: - rm -f SUBSYS.o $(OBJS) # And the garbage that might have been left behind by partial build: @rm -f y.tab.h y.tab.c y.output lex.yy.c -- cgit v1.2.3