Refactor code for setting pg_popcount* function pointers.
[pgsql.git] / contrib / xml2 / Makefile
blob0d703fe0e8f948fe69d4e480d6d11e2e1b2bbe4c
1 # contrib/xml2/Makefile
3 MODULE_big = pgxml
4 OBJS = \
5 $(WIN32RES) \
6 xpath.o \
7 xslt_proc.o
9 EXTENSION = xml2
10 DATA = xml2--1.1.sql xml2--1.0--1.1.sql
11 PGFILEDESC = "xml2 - XPath querying and XSLT"
13 REGRESS = xml2
15 SHLIB_LINK += $(filter -lxslt, $(LIBS)) -lxml2
17 ifdef USE_PGXS
18 PG_CONFIG = pg_config
19 PGXS := $(shell $(PG_CONFIG) --pgxs)
20 include $(PGXS)
21 else
22 subdir = contrib/xml2
23 top_builddir = ../..
24 include $(top_builddir)/src/Makefile.global
25 include $(top_srcdir)/contrib/contrib-global.mk
26 endif