2007-02-09 18:04:00 +01:00
|
|
|
# $PostgreSQL: pgsql/contrib/xml2/Makefile,v 1.9 2007/02/09 17:04:00 petere Exp $
|
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.
|
2006-03-10 16:39:42 +01:00
|
|
|
SHLIB_LINK = -lxslt -lxml2
|
2004-03-05 04:24:50 +01:00
|
|
|
|
|
|
|
DATA_built = pgxml.sql
|
2006-02-27 13:54:39 +01:00
|
|
|
DATA = uninstall_pgxml.sql
|
2004-03-14 04:19:13 +01:00
|
|
|
DOCS = README.xml2
|
2001-08-21 02:39:20 +02:00
|
|
|
|
2004-11-04 07:09:26 +01:00
|
|
|
override CFLAGS += $(shell xml2-config --cflags)
|
2004-08-20 22:13:10 +02:00
|
|
|
|
|
|
|
ifdef USE_PGXS
|
2005-09-27 19:13:14 +02:00
|
|
|
PGXS := $(shell pg_config --pgxs)
|
2004-08-20 22:13:10 +02:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/xml2
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|