summaryrefslogtreecommitdiff
path: root/src/backend/access/Makefile
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2008-02-19 10:30:09 +0000
committerPeter Eisentraut <peter_e@gmx.net>2008-02-19 10:30:09 +0000
commit0474dcb60833c635c011ec3c4642f65fc2e1dcb0 (patch)
treeee5b04a008caa80cd522849f6e80930a97797b85 /src/backend/access/Makefile
parenta74e0414a223f73bf9c4b836c9d62b03b4f898a9 (diff)
downloadpostgresql-0474dcb60833c635c011ec3c4642f65fc2e1dcb0.tar.gz
Refactor backend makefiles to remove lots of duplicate code
Diffstat (limited to 'src/backend/access/Makefile')
-rw-r--r--src/backend/access/Makefile18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/backend/access/Makefile b/src/backend/access/Makefile
index bf42037a9f..cfbb5a5d35 100644
--- a/src/backend/access/Makefile
+++ b/src/backend/access/Makefile
@@ -1,7 +1,7 @@
#
# Makefile for the access methods module
#
-# $PostgreSQL: pgsql/src/backend/access/Makefile,v 1.13 2007/02/09 15:55:58 petere Exp $
+# $PostgreSQL: pgsql/src/backend/access/Makefile,v 1.14 2008/02/19 10:30:06 petere Exp $
#
subdir = src/backend/access
@@ -9,19 +9,5 @@ top_builddir = ../../..
include $(top_builddir)/src/Makefile.global
SUBDIRS = common gist hash heap index nbtree transam gin
-SUBDIROBJS = $(SUBDIRS:%=%/SUBSYS.o)
-all: SUBSYS.o
-
-SUBSYS.o: $(SUBDIROBJS)
- $(LD) $(LDREL) $(LDOUT) $@ $^
-
-$(SUBDIROBJS): $(SUBDIRS:%=%-recursive) ;
-
-.PHONY: $(SUBDIRS:%=%-recursive)
-$(SUBDIRS:%=%-recursive):
- $(MAKE) -C $(subst -recursive,,$@) SUBSYS.o
-
-clean:
- for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit; done
- rm -f SUBSYS.o
+include $(top_srcdir)/src/backend/common.mk