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