Initial commit but not compiling yet

This commit is contained in:
Xavier Stevens
2014-09-18 17:33:49 -07:00
parent 8c554c0b6f
commit 0241c144fc
6 changed files with 924 additions and 6 deletions

14
Makefile Normal file
View 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)