mirror of
https://github.com/postgres/postgres.git
synced 2026-03-09 01:31:22 -04:00
Some compilers don't automatically search the current directory for
included files. 9cc2c182fc fixed that for builds from tarballs by
adding an include to the source directory. But that doesn't work when
the scanner is generated in the VPATH directory. Use the same search
path as the other parsers in the tree.
One compiler that definitely was affected is solaris' sun cc.
Backpatch to 9.1 which introduced using an actual parser for
replication commands.
28 lines
768 B
Makefile
28 lines
768 B
Makefile
#-------------------------------------------------------------------------
|
|
#
|
|
# Makefile--
|
|
# Makefile for src/backend/replication
|
|
#
|
|
# IDENTIFICATION
|
|
# src/backend/replication/Makefile
|
|
#
|
|
#-------------------------------------------------------------------------
|
|
|
|
subdir = src/backend/replication
|
|
top_builddir = ../../..
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS)
|
|
|
|
OBJS = walsender.o walreceiverfuncs.o walreceiver.o basebackup.o \
|
|
repl_gram.o slot.o slotfuncs.o syncrep.o
|
|
|
|
SUBDIRS = logical
|
|
|
|
include $(top_srcdir)/src/backend/common.mk
|
|
|
|
# repl_scanner is compiled as part of repl_gram
|
|
repl_gram.o: repl_scanner.c
|
|
|
|
# repl_gram.c and repl_scanner.c are in the distribution tarball, so
|
|
# they are not cleaned here.
|