mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-16 12:20:19 +02:00
5379b84eff
Makefile.global. End result, if all goes well, should allow for much easier porting, since there will no longer be a concept of a "port". Most, if not everything, *should* be determined by configure, or by the compiler itself. Still work to be done though :)
42 lines
863 B
Makefile
42 lines
863 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile--
|
|
# Makefile for optimizer/util
|
|
#
|
|
# IDENTIFICATION
|
|
# $Header: /cvsroot/pgsql/src/backend/optimizer/util/Makefile,v 1.4 1997/12/19 02:06:17 scrappy Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
SRCDIR = ../../..
|
|
include ../../../Makefile.global
|
|
|
|
INCLUDE_OPT = -I../..
|
|
|
|
ifdef PORTNAME
|
|
INCLUDE_OPT+=-I../../port/$(PORTNAME)
|
|
endif
|
|
|
|
CFLAGS+=$(INCLUDE_OPT)
|
|
|
|
OBJS = clauseinfo.o clauses.o indexnode.o internal.o plancat.o \
|
|
joininfo.o keys.o ordering.o pathnode.o relnode.o tlist.o var.o
|
|
|
|
# not ready yet: predmig.o xfunc.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
|
|
|