forked from tvondra/count_distinct
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
22 lines (16 loc) · 630 Bytes
/
Copy pathMakefile
File metadata and controls
22 lines (16 loc) · 630 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
MODULE_big = count_distinct
OBJS = src/count_distinct.o
EXTENSION = count_distinct
DATA = sql/count_distinct--3.0.0.sql sql/count_distinct--1.3.1--1.3.2.sql \
sql/count_distinct--1.3.2--1.3.3.sql sql/count_distinct--1.3.3--2.0.0.sql \
sql/count_distinct--2.0.0--3.0.0.sql
MODULES = count_distinct
CFLAGS=`pg_config --includedir-server`
TESTS = $(wildcard test/sql/*.sql)
REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS))
REGRESS_OPTS = --inputdir=test
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
count_distinct.so: src/count_distinct.o
src/count_distinct.o: src/count_distinct.c