diff options
author | Peter Eisentraut | 2008-02-19 10:30:09 +0000 |
---|---|---|
committer | Peter Eisentraut | 2008-02-19 10:30:09 +0000 |
commit | 0474dcb60833c635c011ec3c4642f65fc2e1dcb0 (patch) | |
tree | ee5b04a008caa80cd522849f6e80930a97797b85 /src/backend/bootstrap/Makefile | |
parent | a74e0414a223f73bf9c4b836c9d62b03b4f898a9 (diff) |
Refactor backend makefiles to remove lots of duplicate code
Diffstat (limited to 'src/backend/bootstrap/Makefile')
-rw-r--r-- | src/backend/bootstrap/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
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 |