2007-11-10 18:59:52 -05:00
|
|
|
# $PostgreSQL: pgsql/contrib/xml2/Makefile,v 1.11 2007/11/10 23:59:52 momjian Exp $
|
2001-07-30 10:59:02 -04:00
|
|
|
|
2004-03-04 22:24:50 -05: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 10:39:42 -05:00
|
|
|
SHLIB_LINK = -lxslt -lxml2
|
2004-03-04 22:24:50 -05:00
|
|
|
|
|
|
|
|
DATA_built = pgxml.sql
|
2006-02-27 07:54:39 -05:00
|
|
|
DATA = uninstall_pgxml.sql
|
2001-08-20 20:39:20 -04:00
|
|
|
|
2004-11-04 01:09:26 -05:00
|
|
|
override CFLAGS += $(shell xml2-config --cflags)
|
2004-08-20 16:13:10 -04:00
|
|
|
|
|
|
|
|
ifdef USE_PGXS
|
2007-06-26 18:05:04 -04:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-20 16: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
|