Makefile 778 字节
Newer Older
1 2 3 4 5 6
#-------------------------------------------------------------------------
#
# Makefile--
#    Makefile for nodes
#
# IDENTIFICATION
M
Marc G. Fournier 已提交
7
#    $Header: /cvsroot/pgsql/src/backend/nodes/Makefile,v 1.2 1996/10/31 10:42:55 scrappy Exp $
8 9 10 11 12 13
#
#-------------------------------------------------------------------------

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

M
Marc G. Fournier 已提交
14
INCLUDE_OPT = -I../port/$(PORTNAME) \
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
              -I../../include

CFLAGS+=$(INCLUDE_OPT)

OBJS = nodeFuncs.o nodes.o list.o \
       copyfuncs.o equalfuncs.o makefuncs.o outfuncs.o readfuncs.o \
       print.o read.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