mirror of
https://github.com/debezium/postgres-decoderbufs.git
synced 2026-02-04 06:56:22 +00:00
Initial commit but not compiling yet
This commit is contained in:
14
Makefile
Normal file
14
Makefile
Normal file
@@ -0,0 +1,14 @@
|
||||
MODULES = decoderbufs
|
||||
|
||||
PROTOBUF_C_CFLAGS = $(shell pkg-config --cflags 'libprotobuf-c >= 1.0.0')
|
||||
PROTOBUF_C_LDFLAGS = $(shell pkg-config --libs 'libprotobuf-c >= 1.0.0')
|
||||
|
||||
PG_CPPFLAGS += -std=c11 $(PROTOBUF_C_CFLAGS)
|
||||
SHLIB_LINK += $(PROTOBUF_C_LDFLAGS)
|
||||
|
||||
MODULE_big = $(patsubst src/%.c,%,$(wildcard src/*.c))
|
||||
OBJS = src/decoderbufs.o src/proto/pg_logicaldec.pb-c.o
|
||||
|
||||
PG_CONFIG = pg_config
|
||||
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
||||
include $(PGXS)
|
||||
Reference in New Issue
Block a user