forked from postgrespro/aqo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (31 loc) · 883 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
# contrib/aqo/Makefile
EXTENSION = aqo
EXTVERSION = 1.2
PGFILEDESC = "AQO - adaptive query optimization"
MODULES = aqo
OBJS = aqo.o auto_tuning.o cardinality_estimation.o cardinality_hooks.o \
hash.o machine_learning.o path_utils.o postprocessing.o preprocessing.o \
selectivity_cache.o storage.o utils.o $(WIN32RES)
REGRESS = aqo_disabled \
aqo_controlled \
aqo_intelligent \
aqo_forced \
aqo_learn \
schema
EXTRA_REGRESS_OPTS=--temp-config=$(top_srcdir)/$(subdir)/conf.add
TAP_TESTS = 1
DATA = aqo--1.0.sql aqo--1.0--1.1.sql aqo--1.1--1.2.sql
DATA_built = aqo--1.2.sql
MODULE_big = aqo
ifdef USE_PGXS
PG_CONFIG ?= pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/aqo
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
$(DATA_built): $(DATA)
cat $+ > $@