mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-22 06:17:00 +08:00
When maintaining or merging patches, one of the most common sources for conflicts are the list of objects in makefiles. Especially when the split across lines has been changed on both sides, which is somewhat common due to attempting to stay below 80 columns, those conflicts are unnecessarily laborious to resolve. By splitting, and alphabetically sorting, OBJS style lines into one object per line, conflicts should be less frequent, and easier to resolve when they still occur. Author: Andres Freund Discussion: https://postgr.es/m/20191029200901.vww4idgcxv74cwes@alap3.anarazel.de
26 lines
631 B
Makefile
26 lines
631 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile for the bootstrap module
|
|
#
|
|
# src/backend/bootstrap/Makefile
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/backend/bootstrap
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
|
|
|
|
OBJS = \
|
|
bootparse.o \
|
|
bootstrap.o
|
|
|
|
include $(top_srcdir)/src/backend/common.mk
|
|
|
|
# bootscanner is compiled as part of bootparse
|
|
bootparse.o: bootscanner.c
|
|
|
|
# bootparse.c and bootscanner.c are in the distribution tarball, so
|
|
# they are not cleaned here.
|