2010-09-21 00:08:53 +04:00
|
|
|
# contrib/xml2/Makefile
|
2001-07-30 18:59:02 +04:00
|
|
|
|
2004-03-05 06:24:50 +03:00
|
|
|
MODULE_big = pgxml
|
|
|
|
|
2010-03-01 21:07:59 +03:00
|
|
|
OBJS = xpath.o xslt_proc.o
|
2004-03-05 06:24:50 +03:00
|
|
|
|
2008-05-08 20:49:37 +04:00
|
|
|
SHLIB_LINK += $(filter -lxslt, $(LIBS)) $(filter -lxml2, $(LIBS))
|
2004-03-05 06:24:50 +03:00
|
|
|
|
|
|
|
DATA_built = pgxml.sql
|
2006-02-27 15:54:39 +03:00
|
|
|
DATA = uninstall_pgxml.sql
|
2010-03-01 00:31:57 +03:00
|
|
|
REGRESS = xml2
|
2001-08-21 04:39:20 +04:00
|
|
|
|
2004-08-21 00:13:10 +04:00
|
|
|
ifdef USE_PGXS
|
2007-06-27 02:05:04 +04:00
|
|
|
PG_CONFIG = pg_config
|
|
|
|
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
|