mirror of
https://github.com/postgres/postgres.git
synced 2026-06-06 15:22:43 -04:00
tree "non-PORTNAME" dependent. Technically, anything that is PORTNAME dependent should be able to be derived at compile time, through configure or through gcc
38 lines
673 B
Makefile
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
|
|
|