| 1 |
#------------------------------------------------------------------------- |
| 2 |
# |
| 3 |
# Makefile-- |
| 4 |
# Makefile for src/backend/replication |
| 5 |
# |
| 6 |
# IDENTIFICATION |
| 7 |
# src/backend/replication/Makefile |
| 8 |
# |
| 9 |
#------------------------------------------------------------------------- |
| 10 |
|
| 11 |
subdir = src/backend/replication |
| 12 |
top_builddir = ../../.. |
| 13 |
include $(top_builddir)/src/Makefile.global |
| 14 |
|
| 15 |
override CPPFLAGS := -I. -I$(srcdir) $(CPPFLAGS) |
| 16 |
|
| 17 |
OBJS = \ |
| 18 |
repl_gram.o \ |
| 19 |
repl_scanner.o \ |
| 20 |
slot.o \ |
| 21 |
slotfuncs.o \ |
| 22 |
syncrep.o \ |
| 23 |
syncrep_gram.o \ |
| 24 |
syncrep_scanner.o \ |
| 25 |
walreceiver.o \ |
| 26 |
walreceiverfuncs.o \ |
| 27 |
walsender.o |
| 28 |
|
| 29 |
SUBDIRS = logical |
| 30 |
|
| 31 |
include $(top_srcdir)/src/backend/common.mk |
| 32 |
|
| 33 |
# See notes in src/backend/parser/Makefile about the following two rules |
| 34 |
repl_gram.h: repl_gram.c |
| 35 |
touch $@ |
| 36 |
|
| 37 |
repl_gram.c: BISONFLAGS += -d |
| 38 |
|
| 39 |
# Force these dependencies to be known even without dependency info built: |
| 40 |
repl_gram.o repl_scanner.o: repl_gram.h |
| 41 |
|
| 42 |
# See notes in src/backend/parser/Makefile about the following two rules |
| 43 |
syncrep_gram.h: syncrep_gram.c |
| 44 |
touch $@ |
| 45 |
|
| 46 |
syncrep_gram.c: BISONFLAGS += -d |
| 47 |
|
| 48 |
# Force these dependencies to be known even without dependency info built: |
| 49 |
syncrep_gram.o syncrep_scanner.o: syncrep_gram.h |
| 50 |
|
| 51 |
clean: |
| 52 |
rm -f repl_gram.c \ |
| 53 |
repl_gram.h \ |
| 54 |
repl_scanner.c \ |
| 55 |
syncrep_gram.c \ |
| 56 |
syncrep_gram.h \ |
| 57 |
syncrep_scanner.c |