summaryrefslogtreecommitdiff
path: root/contrib/xml2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/xml2/Makefile')
-rw-r--r--contrib/xml2/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/xml2/Makefile b/contrib/xml2/Makefile
index 57b4cbfac5d..ad325723c99 100644
--- a/contrib/xml2/Makefile
+++ b/contrib/xml2/Makefile
@@ -1,15 +1,15 @@
# contrib/xml2/Makefile
MODULE_big = pgxml
-
OBJS = xpath.o xslt_proc.o
-SHLIB_LINK += $(filter -lxslt, $(LIBS)) $(filter -lxml2, $(LIBS))
+EXTENSION = xml2
+DATA = xml2--1.0.sql xml2--unpackaged--1.0.sql
-DATA_built = pgxml.sql
-DATA = uninstall_pgxml.sql
REGRESS = xml2
+SHLIB_LINK += $(filter -lxslt, $(LIBS)) $(filter -lxml2, $(LIBS))
+
ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)