]> granicus.if.org Git - postgresql/blob - src/backend/storage/smgr/Makefile
40687b9edbc69c567364db0309a51dda34938c04
[postgresql] / src / backend / storage / smgr / Makefile
1 #-------------------------------------------------------------------------
2 #
3 # Makefile--
4 #    Makefile for storage/smgr
5 #
6 # IDENTIFICATION
7 #    $Header: /cvsroot/pgsql/src/backend/storage/smgr/Makefile,v 1.10 1999/12/13 22:34:09 momjian Exp $
8 #
9 #-------------------------------------------------------------------------
10
11 SRCDIR = ../../..
12 include ../../../Makefile.global
13
14 CFLAGS += -I../..
15
16 ifdef MULTIBYTE
17 CFLAGS+= $(MBFLAGS)
18 endif
19
20 OBJS = md.o mm.o smgr.o smgrtype.o
21
22 all: SUBSYS.o
23
24 SUBSYS.o: $(OBJS)
25         $(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
26
27 depend dep:
28         $(CC) -MM $(CFLAGS) *.c >depend
29
30 clean: 
31         rm -f SUBSYS.o $(OBJS)
32
33 ifeq (depend,$(wildcard depend))
34 include depend
35 endif
36