mirror of
https://github.com/postgres/postgres.git
synced 2025-11-12 05:01:15 +03:00
Simplify make files, add full dependencies.
This commit is contained in:
42
src/backend/tcop/Makefile
Normal file
42
src/backend/tcop/Makefile
Normal file
@@ -0,0 +1,42 @@
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Makefile--
|
||||
# Makefile for tcop
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/backend/tcop/Makefile,v 1.1 1996/10/27 09:52:53 bryanh Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
SRCDIR = ../..
|
||||
include ../../Makefile.global
|
||||
|
||||
INCLUDE_OPT = -I.. \
|
||||
-I../port/$(PORTNAME) \
|
||||
-I../include \
|
||||
-I../../include
|
||||
|
||||
CFLAGS+=$(INCLUDE_OPT)
|
||||
|
||||
OBJS = aclchk.o dest.o fastpath.o postgres.o pquery.o utility.o
|
||||
|
||||
all: SUBSYS.o
|
||||
|
||||
SUBSYS.o: $(OBJS)
|
||||
$(LD) -r -o SUBSYS.o $(OBJS)
|
||||
|
||||
utility.o: ../parse.h
|
||||
|
||||
../parse.h:
|
||||
make -C .. parse.h
|
||||
|
||||
dep: ../parse.h
|
||||
$(CC) -MM $(INCLUDE_OPT) *.c >depend
|
||||
|
||||
clean:
|
||||
rm -f SUBSYS.o $(OBJS)
|
||||
|
||||
ifeq (depend,$(wildcard depend))
|
||||
include depend
|
||||
endif
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# Makefile.inc--
|
||||
# Makefile for the traffic cop module
|
||||
#
|
||||
# Copyright (c) 1994, Regents of the University of California
|
||||
#
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $Header: /cvsroot/pgsql/src/backend/tcop/Attic/Makefile.inc,v 1.1.1.1 1996/07/09 06:21:59 scrappy Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
VPATH:= $(VPATH):$(CURDIR)/tcop
|
||||
|
||||
SRCS_TCOP= aclchk.c dest.c fastpath.c postgres.c pquery.c utility.c
|
||||
|
||||
HEADERS+= dest.h fastpath.h pquery.h tcopdebug.h tcopprot.h utility.h
|
||||
Reference in New Issue
Block a user