-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathMakefile
More file actions
35 lines (23 loc) · 732 Bytes
/
Makefile
File metadata and controls
35 lines (23 loc) · 732 Bytes
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
# contrib/pathman_sharding/Makefile
MODULE_big = pathman_sharding
OBJS = src/pathman_sharding.o src/hooks.o src/parse_utils.o $(WIN32RES)
PG_CPPFLAGS = -I$(CURDIR)/src/include
EXTENSION = pathman_sharding
EXTVERSION = 0.1
DATA_built = pathman_sharding--$(EXTVERSION).sql
PGFILEDESC = "pathman_sharding - Improved sharding for pg_pathman"
REGRESS = pathman_sharding
SHLIB_LINK += -lpq
EXTRA_CLEAN =
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/pathman_sharding
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
$(EXTENSION)--$(EXTVERSION).sql: init.sql range.sql hash.sql
cat $^ > $@