]> granicus.if.org Git - postgresql/blob - contrib/xml2/Makefile
Fix up memory management problems in contrib/xml2.
[postgresql] / contrib / xml2 / Makefile
1 # $PostgreSQL: pgsql/contrib/xml2/Makefile,v 1.13 2010/02/28 21:31:57 tgl Exp $
2
3 MODULE_big = pgxml
4
5 OBJS = $(if $(filter -lxslt, $(LIBS)), xpath.o xslt_proc.o, xpath.o)
6
7 SHLIB_LINK += $(filter -lxslt, $(LIBS)) $(filter -lxml2, $(LIBS))
8
9 DATA_built = pgxml.sql
10 DATA = uninstall_pgxml.sql
11 REGRESS = xml2
12
13 ifdef USE_PGXS
14 PG_CONFIG = pg_config
15 PGXS := $(shell $(PG_CONFIG) --pgxs)
16 include $(PGXS)
17 else
18 subdir = contrib/xml2
19 top_builddir = ../..
20 include $(top_builddir)/src/Makefile.global
21 include $(top_srcdir)/contrib/contrib-global.mk
22 endif