mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-08 20:59:23 +02:00
async.c: #include <port-protos.h> surrounded by an #ifdef HAVE_STRDUP vacuum.c: #include <port-protos.h> commented out...can someone comment as to why it was included, as it doesn't seem to have any effect under FreeBSD so far...would like some sort of #ifdef wrapper like async.c if possible
41 lines
871 B
Makefile
41 lines
871 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile--
|
|
# Makefile for commands
|
|
#
|
|
# IDENTIFICATION
|
|
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.9 1997/12/17 04:44:47 scrappy Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
SRCDIR = ../..
|
|
include ../../Makefile.global
|
|
|
|
INCLUDE_OPT = -I..
|
|
|
|
ifdef PORTNAME
|
|
INCLUDE_OPT+=-I../port/$(PORTNAME)
|
|
endif
|
|
|
|
CFLAGS+=$(INCLUDE_OPT)
|
|
|
|
OBJS = async.o creatinh.o command.o copy.o defind.o define.o \
|
|
remove.o rename.o vacuum.o version.o view.o cluster.o \
|
|
recipe.o explain.o sequence.o trigger.o user.o proclang.o dbcommands.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
|
|
|