mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-07 04:09:28 +02:00
38 lines
766 B
Makefile
38 lines
766 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile--
|
|
# Makefile for storage/smgr
|
|
#
|
|
# IDENTIFICATION
|
|
# $Header: /cvsroot/pgsql/src/backend/storage/smgr/Makefile,v 1.1 1996/10/27 09:52:40 bryanh Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
SRCDIR = ../../..
|
|
include ../../../Makefile.global
|
|
|
|
INCLUDE_OPT = -I../.. \
|
|
-I../../port/$(PORTNAME) \
|
|
-I../../include \
|
|
-I../../../include
|
|
|
|
CFLAGS+=$(INCLUDE_OPT)
|
|
|
|
OBJS = md.o mm.o smgr.o smgrtype.o
|
|
|
|
all: SUBSYS.o
|
|
|
|
SUBSYS.o: $(OBJS)
|
|
$(LD) -r -o SUBSYS.o $(OBJS)
|
|
|
|
depend dep:
|
|
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
|
|
|
clean:
|
|
rm -f SUBSYS.o $(OBJS)
|
|
|
|
ifeq (depend,$(wildcard depend))
|
|
include depend
|
|
endif
|
|
|