mirror of
https://github.com/postgres/postgres.git
synced 2026-01-05 23:38:41 +03:00
Numerous flex and bison make rules have appeared in the source tree over time, and they are all virtually identical, so we can replace them by pattern rules with some variables for customization. Users of pgxs will also be able to benefit from this.
27 lines
726 B
Makefile
27 lines
726 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$(srcdir) $(CPPFLAGS)
|
|
|
|
OBJS = walsender.o walreceiverfuncs.o walreceiver.o basebackup.o \
|
|
repl_gram.o syncrep.o
|
|
|
|
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.
|