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