-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
50 lines (41 loc) · 939 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# contrib/kite_fdw/Makefile
MODULE_big = kite_fdw
OBJS = \
$(WIN32RES) \
connection.o \
deparse.o \
option.o \
kite_fdw.o \
shippable.o \
decimal.o \
schema.o \
decode.o \
op.o \
numeric.o \
dec.o \
exx_int.o \
partial_agg.o \
agg.o \
aggtrans.o \
serialize.o
all: ext $(OBJS)
ext:
make -C ext
PGFILEDESC = "kite_fdw - foreign data wrapper for Kite"
PG_CPPFLAGS = -I$(libpq_srcdir) -Iext/include -DKITE_CONNECT -std=c++17
SHLIB_LINK_INTERNAL = $(libpq) -Lext/lib -lkitesdk -levent -lxrg -lsproto -lhop -larrow -larrow_bundled_dependencies -llz4 -lstdc++ -std=c++17
EXTENSION = kite_fdw
DATA = kite_fdw--1.0.sql
REGRESS = kite_fdw
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
SHLIB_PREREQS = submake-libpq
subdir = contrib/kite_fdw
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
.PHONY: ext