Makefile 678 Bytes
Newer Older
1 2 3 4 5 6
#-------------------------------------------------------------------------
#
# Makefile--
#    Makefile for storage/lmgr
#
# IDENTIFICATION
Marc G. Fournier's avatar
Marc G. Fournier committed
7
#    $Header: /cvsroot/pgsql/src/backend/storage/lmgr/Makefile,v 1.8 1998/07/26 04:30:40 scrappy Exp $
8 9 10 11 12 13
#
#-------------------------------------------------------------------------

SRCDIR = ../../..
include ../../../Makefile.global

Bruce Momjian's avatar
Hi,  
Bruce Momjian committed
14
CFLAGS += -I../..
Marc G. Fournier's avatar
Marc G. Fournier committed
15 16
ifdef MULTIBYTE
CFLAGS+= $(MBFLAGS)
17
endif
18 19 20 21 22 23 24 25 26

OBJS = lmgr.o lock.o multi.o proc.o single.o

all: SUBSYS.o

SUBSYS.o: $(OBJS)
	$(LD) -r -o SUBSYS.o $(OBJS)

depend dep:
Bruce Momjian's avatar
Hi,  
Bruce Momjian committed
27
	$(CC) -MM $(CFLAGS) *.c >depend
28 29 30 31 32 33 34 35

clean: 
	rm -f SUBSYS.o $(OBJS)

ifeq (depend,$(wildcard depend))
include depend
endif