2010-09-20 22:08:53 +02:00
|
|
|
# contrib/xml2/Makefile
|
2001-07-30 16:59:02 +02:00
|
|
|
|
2004-03-05 04:24:50 +01:00
|
|
|
MODULE_big = pgxml
|
2014-07-14 20:07:52 +02:00
|
|
|
OBJS = xpath.o xslt_proc.o $(WIN32RES)
|
2004-03-05 04:24:50 +01:00
|
|
|
|
2011-02-14 02:06:41 +01:00
|
|
|
EXTENSION = xml2
|
2016-06-14 21:49:32 +02:00
|
|
|
DATA = xml2--1.1.sql xml2--1.0--1.1.sql xml2--unpackaged--1.0.sql
|
2014-07-14 20:07:52 +02:00
|
|
|
PGFILEDESC = "xml2 - XPath querying and XSLT"
|
2004-03-05 04:24:50 +01:00
|
|
|
|
2010-02-28 22:31:57 +01:00
|
|
|
REGRESS = xml2
|
2001-08-21 02:39:20 +02:00
|
|
|
|
2011-08-19 17:57:38 +02:00
|
|
|
SHLIB_LINK += $(filter -lxslt, $(LIBS)) -lxml2
|
2011-02-14 02:06:41 +01:00
|
|
|
|
2004-08-20 22:13:10 +02:00
|
|
|
ifdef USE_PGXS
|
2007-06-27 00:05:04 +02:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-20 22:13:10 +02:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/xml2
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|