Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
21 lines (14 sloc) 545 Bytes
MODULE_big = pcsa_counter
OBJS = src/pcsa_counter.o src/pcsa.o
EXTENSION = pcsa_counter
DATA = sql/pcsa_counter--1.3.3.sql sql/pcsa_counter--1.2.0--1.3.0.sql sql/pcsa_counter--1.3.0--1.3.2.sql sql/pcsa_counter--1.3.2--1.3.3.sql
MODULES = pcsa_counter
TESTS = $(wildcard test/sql/*.sql)
REGRESS = $(patsubst test/sql/%.sql,%,$(TESTS))
REGRESS_OPTS = --inputdir=test --load-language=plpgsql
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
all: pcsa_counter.so
pcsa_counter.so: $(OBJS)
%.o : src/%.c