]> granicus.if.org Git - postgresql/blob - src/backend/access/Makefile
Add per-user and per-database connection limit options.
[postgresql] / src / backend / access / Makefile
1 #
2 # Makefile for the access methods module
3 #
4 # $PostgreSQL: pgsql/src/backend/access/Makefile,v 1.9 2003/11/29 19:51:39 pgsql 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 rtree transam
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
28
29 dep depend:
30         for dir in $(SUBDIRS); do $(MAKE) -C $$dir $@ || exit; done