mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-06 22:19:20 +02:00
40 lines
866 B
Makefile
40 lines
866 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile--
|
|
# Makefile for commands
|
|
#
|
|
# IDENTIFICATION
|
|
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.1 1996/10/27 09:47:14 bryanh Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
SRCDIR = ../..
|
|
include ../../Makefile.global
|
|
|
|
INCLUDE_OPT = -I.. \
|
|
-I../port/$(PORTNAME) \
|
|
-I../include \
|
|
-I../../include
|
|
|
|
CFLAGS+=$(INCLUDE_OPT)
|
|
|
|
OBJS = async.o creatinh.o command.o copy.o defind.o define.o \
|
|
purge.o remove.o rename.o vacuum.o version.o view.o cluster.o \
|
|
recipe.o explain.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
|
|
|