mirror of
https://github.com/postgres/postgres.git
synced 2025-10-28 11:55:03 +03:00
39 lines
838 B
Makefile
39 lines
838 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile--
|
|
# Makefile for commands
|
|
#
|
|
# IDENTIFICATION
|
|
# $Header: /cvsroot/pgsql/src/backend/commands/Makefile,v 1.2 1996/11/03 23:57:17 scrappy Exp $
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
SRCDIR = ../..
|
|
include ../../Makefile.global
|
|
|
|
INCLUDE_OPT = -I.. \
|
|
-I../port/$(PORTNAME) \
|
|
-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
|
|
|