mirror of
https://github.com/postgres/postgres.git
synced 2026-01-05 23:38:41 +03:00
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 :)
39 lines
708 B
Makefile
39 lines
708 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile--
|
|
# Makefile for utils/hash
|
|
#
|
|
# IDENTIFICATION
|
|
# $Header: /cvsroot/pgsql/src/backend/utils/hash/Makefile,v 1.3 1997/12/19 02:08:22 scrappy Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
SRCDIR = ../../..
|
|
include ../../../Makefile.global
|
|
|
|
INCLUDE_OPT = -I../..
|
|
|
|
ifdef PORTNAME
|
|
INCLUDE+=-I../../port/$(PORTNAME)
|
|
endif
|
|
|
|
CFLAGS+=$(INCLUDE_OPT)
|
|
|
|
OBJS = dynahash.o hashfn.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
|
|
|