-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
29 lines (21 loc) · 975 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
EXTENSION = geqo_extension
EXTVERSION = $(shell grep default_version $(EXTENSION).control | \
sed -e "s/default_version[[:space:]]*=[[:space:]]*'\([^']*\)'/\1/")
DOCS = $(wildcard doc/*.md)
TESTS = $(wildcard test/sql/*.sql)
REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS))
REGRESS_OPTS = --inputdir=test
PG_CONFIG = pg_config
#EXTRA_CLEAN = src/saio_probes.h
MODULE_big = geqo_extension
OBJS = src/geqo.o src/geqo_copy.o src/geqo_eval.o src/geqo_main.o src/geqo_misc.o \
src/geqo_mutation.o src/geqo_pool.o src/geqo_random.o src/geqo_recombination.o \
src/geqo_selection.o \
src/geqo_erx.o src/geqo_pmx.o src/geqo_cx.o src/geqo_px.o src/geqo_ox1.o src/geqo_ox2.o
# make sure
all: all-lib
coverage:
lcov -d . -c -o lcov.info
genhtml --show-details --legend --output-directory=coverage --title=PostgreSQL --num-spaces=4 --prefix=./src/ `find . -name lcov.info -print`
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)