]> granicus.if.org Git - postgresql/blob - src/backend/access/Makefile
HOT updates. When we update a tuple without changing any of its indexed
[postgresql] / src / backend / access / Makefile
1 #
2 # Makefile for the access methods module
3 #
4 # $PostgreSQL: pgsql/src/backend/access/Makefile,v 1.13 2007/02/09 15:55:58 petere Exp $
5 #
6
7 subdir = src/backend/access
8 top_builddir = ../../..
9 include $(top_builddir)/src/Makefile.global
10
11 SUBDIRS     = common gist hash heap index nbtree transam gin
12 SUBDIROBJS  = $(SUBDIRS:%=%/SUBSYS.o)
13
14 all: SUBSYS.o
15
16 SUBSYS.o: $(SUBDIROBJS)
17         $(LD) $(LDREL) $(LDOUT) $@ $^
18
19 $(SUBDIROBJS): $(SUBDIRS:%=%-recursive) ;
20
21 .PHONY: $(SUBDIRS:%=%-recursive)
22 $(SUBDIRS:%=%-recursive):
23         $(MAKE) -C $(subst -recursive,,$@) SUBSYS.o
24
25 clean:
26         for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit; done
27         rm -f SUBSYS.o