]> granicus.if.org Git - postgresql/blob - src/backend/access/hash/Makefile
Clean up the Makefiles
[postgresql] / src / backend / access / hash / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile--
4 #    Makefile for access/hash
5 #
6 # IDENTIFICATION
7 #    $Header: /cvsroot/pgsql/src/backend/access/hash/Makefile,v 1.4 1997/12/17 04:30:52 scrappy Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 SRCDIR = ../../..
12 include ../../../Makefile.global
13
14 INCLUDE_OPT = -I../.. 
15
16 ifdef PORTNAME
17   INCLUDE_OPT += -I../../port/$(PORTNAME) 
18 endif
19
20 CFLAGS += $(INCLUDE_OPT)
21
22 OBJS = hash.o hashfunc.o hashinsert.o hashovfl.o hashpage.o hashscan.o \
23        hashsearch.o hashstrat.o hashutil.o
24
25 all: SUBSYS.o
26
27 SUBSYS.o: $(OBJS)
28         $(LD) -r -o SUBSYS.o $(OBJS)
29
30 depend dep:
31         $(CC) -MM $(INCLUDE_OPT) *.c >depend
32
33 clean: 
34         rm -f SUBSYS.o $(OBJS)
35
36 ifeq (depend,$(wildcard depend))
37 include depend
38 endif
39