postgresql/src/backend/main/Makefile
Marc G. Fournier 542d4e528d First pass through, of many to come, towards making the whole source
tree "non-PORTNAME" dependent.  Technically, anything that is PORTNAME
dependent should be able to be derived at compile time, through configure
or through gcc
1997-12-17 04:59:16 +00:00

38 lines
673 B
Makefile

#-------------------------------------------------------------------------
#
# Makefile--
# Makefile for main
#
# IDENTIFICATION
# $Header: /cvsroot/pgsql/src/backend/main/Makefile,v 1.3 1997/12/17 04:59:05 scrappy Exp $
#
#-------------------------------------------------------------------------
SRCDIR = ../..
include ../../Makefile.global
INCLUDE_OPT = -I..
ifdef PORTNAME
INCLUDE_OPT+=-I../port/$(PORTNAME)
endif
CFLAGS+=$(INCLUDE_OPT)
OBJS = main.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