]> granicus.if.org Git - postgresql/blob - src/backend/storage/smgr/Makefile
From: t-ishii@sra.co.jp
[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.8 1998/07/26 04:30:43 scrappy 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) -r -o 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