# $PostgreSQL: pgsql/contrib/xml2/Makefile,v 1.11 2007/11/10 23:59:52 momjian Exp $

MODULE_big = json

# Remove xslt_proc.o from the following line if you don't have libxslt
OBJS = json.o

# Remove -lxslt from the following line if you don't have libxslt.
SHLIB_LINK = 

DATA_built = json.sql
DATA = uninstall_json.sql


ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/json
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
