mirror of
https://github.com/postgres/postgres.git
synced 2025-11-18 02:02:55 +03:00
Refactor backend makefiles to remove lots of duplicate code
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# Makefile for access/transam
|
||||
#
|
||||
# IDENTIFICATION
|
||||
# $PostgreSQL: pgsql/src/backend/access/transam/Makefile,v 1.21 2005/06/17 22:32:42 tgl Exp $
|
||||
# $PostgreSQL: pgsql/src/backend/access/transam/Makefile,v 1.22 2008/02/19 10:30:07 petere Exp $
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
|
||||
@@ -14,13 +14,7 @@ include $(top_builddir)/src/Makefile.global
|
||||
|
||||
OBJS = clog.o transam.o varsup.o xact.o xlog.o xlogutils.o rmgr.o slru.o subtrans.o multixact.o twophase.o twophase_rmgr.o
|
||||
|
||||
all: SUBSYS.o
|
||||
|
||||
SUBSYS.o: $(OBJS)
|
||||
$(LD) $(LDREL) $(LDOUT) SUBSYS.o $(OBJS)
|
||||
|
||||
clean:
|
||||
rm -f SUBSYS.o $(OBJS)
|
||||
include $(top_srcdir)/src/backend/common.mk
|
||||
|
||||
# ensure that version checks in xlog.c get recompiled when catversion.h changes
|
||||
xlog.o: xlog.c $(top_srcdir)/src/include/catalog/catversion.h
|
||||
|
||||
Reference in New Issue
Block a user