2008-05-08 16:49:37 +00:00
|
|
|
# $PostgreSQL: pgsql/contrib/xml2/Makefile,v 1.12 2008/05/08 16:49:37 tgl Exp $
|
2001-07-30 14:59:02 +00:00
|
|
|
|
2004-03-05 03:24:50 +00:00
|
|
|
MODULE_big = pgxml
|
|
|
|
|
2008-05-08 16:49:37 +00:00
|
|
|
OBJS = $(if $(filter -lxslt, $(LIBS)), xpath.o xslt_proc.o, xpath.o)
|
2004-03-05 03:24:50 +00:00
|
|
|
|
2008-05-08 16:49:37 +00:00
|
|
|
SHLIB_LINK += $(filter -lxslt, $(LIBS)) $(filter -lxml2, $(LIBS))
|
2004-03-05 03:24:50 +00:00
|
|
|
|
|
|
|
DATA_built = pgxml.sql
|
2006-02-27 12:54:39 +00:00
|
|
|
DATA = uninstall_pgxml.sql
|
2001-08-21 00:39:20 +00:00
|
|
|
|
2004-08-20 20:13:10 +00:00
|
|
|
ifdef USE_PGXS
|
2007-06-26 22:05:04 +00:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
PGXS := $(shell $(PG_CONFIG) --pgxs)
|
2004-08-20 20:13:10 +00:00
|
|
|
include $(PGXS)
|
|
|
|
else
|
|
|
|
subdir = contrib/xml2
|
|
|
|
top_builddir = ../..
|
|
|
|
include $(top_builddir)/src/Makefile.global
|
|
|
|
include $(top_srcdir)/contrib/contrib-global.mk
|
|
|
|
endif
|