Debian Codegraph @

contrib/xml2/Makefile

raw
1 # contrib/xml2/Makefile
2
3 MODULE_big = pgxml
4 OBJS = \
5 $(WIN32RES) \
6 xpath.o \
7 xslt_proc.o
8
9 EXTENSION = xml2
10 DATA = xml2--1.1.sql \
11 xml2--1.1--1.2.sql \
12 xml2--1.0--1.1.sql
13 PGFILEDESC = "xml2 - XPath querying and XSLT"
14
15 REGRESS = xml2
16
17 SHLIB_LINK += $(filter -lxslt, $(LIBS)) -lxml2
18
19 ifdef USE_PGXS
20 PG_CONFIG = pg_config
21 PGXS := $(shell $(PG_CONFIG) --pgxs)
22 include $(PGXS)
23 else
24 subdir = contrib/xml2
25 top_builddir = ../..
26 include $(top_builddir)/src/Makefile.global
27 include $(top_srcdir)/contrib/contrib-global.mk
28 endif