Makefile 421 Bytes
Newer Older
1
MODULE_big = debversion
2
EXTENSION = debversion
3
OBJS = debversion.o
4 5 6 7 8
DATA = \
	debversion--unpackaged--1.0.5.sql	\
	debversion--1.0.5--1.0.6.sql		\
	debversion--1.0.6--1.0.7.sql		\
	debversion--1.0.7--1.0.8.sql		\
9 10
	debversion--1.0.8--1.1.sql		\
	debversion--1.1.sql
11
REGRESS = debversion
12 13 14 15 16

PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

17 18
CXXFLAGS += -fPIC # needed for 9.x-10
LDFLAGS += -lapt-pkg