2004-03-05 06:24:50 +03:00
|
|
|
# This makefile will build the new XML and XSLT routines.
|
2001-07-30 18:59:02 +04:00
|
|
|
|
2004-03-05 06:24:50 +03: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.
|
2006-03-10 18:39:42 +03:00
|
|
|
SHLIB_LINK = -lxslt -lxml2
|
2004-03-05 06:24:50 +03:00
|
|
|
|
|
|
|
DATA_built = pgxml.sql
|
2006-02-27 15:54:39 +03:00
|
|
|
DATA = uninstall_pgxml.sql
|
2004-03-14 06:19:13 +03:00
|
|
|
DOCS = README.xml2
|
2001-08-21 04:39:20 +04:00
|
|
|
|
2004-11-04 09:09:26 +03:00
|
|
|
override CFLAGS += $(shell xml2-config --cflags)
|
2004-08-21 00:13:10 +04:00
|
|
|
|
|
|
|
ifdef USE_PGXS
|
2005-09-27 21:13:14 +04:00
|
|
|
PGXS := $(shell pg_config --pgxs)
|
2004-08-21 00:13:10 +04:00
|
|
|
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 06:24:50 +03:00
|
|
|
|