2004-03-05 04:24:50 +01:00
|
|
|
# This makefile will build the new XML and XSLT routines.
|
2001-07-30 16:59:02 +02:00
|
|
|
|
2004-03-05 04:24:50 +01:00
|
|
|
MODULE_big = pgxml
|
|
|
|
|
|
|
|
# Remove xslt_proc.o from the following line if you don't have libxslt
|
|
|
|
OBJS = xpath.o xslt_proc.o
|
|
|
|
|
|
|
|
# Remove -lxslt from the following line if you don't have libxslt.
|
|
|
|
SHLIB_LINK = -lxml2 -lxslt
|
|
|
|
|
|
|
|
DATA_built = pgxml.sql
|
2004-03-14 04:19:13 +01:00
|
|
|
DOCS = README.xml2
|
2001-08-21 02:39:20 +02:00
|
|
|
|
2004-08-20 22:13:10 +02:00
|
|
|
|
|
|
|
ifdef USE_PGXS
|
|
|
|
PGXS = $(shell pg_config --pgxs)
|
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/xml2
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|
2004-03-05 04:24:50 +01:00
|
|
|
|