pguri/Makefile

21 lines
509 B
Makefile
Raw Normal View History

2015-02-17 23:23:18 -05:00
PG_CONFIG = pg_config
PKG_CONFIG = pkg-config
2015-03-12 23:18:58 -04:00
EXTENSION = uri
MODULE_big = uri
OBJS = uri.o
DATA = uri--0.sql uri--1.sql uri--0--1.sql
2015-02-17 23:23:18 -05:00
ifeq (no,$(shell $(PKG_CONFIG) liburiparser || echo no))
$(warning liburiparser not registed with pkg-config, build might fail)
endif
PG_CPPFLAGS += $(shell $(PKG_CONFIG) --cflags-only-I liburiparser)
SHLIB_LINK += $(shell $(PKG_CONFIG) --libs liburiparser)
2015-10-03 00:31:37 -04:00
REGRESS = init test escape
2015-02-17 23:23:18 -05:00
REGRESS_OPTS = --inputdir=test
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)