~vcs-imports/mammoth-replicator/trunk

« back to all changes in this revision

Viewing changes to contrib/xml2/Makefile

  • Committer: alvherre
  • Date: 2005-12-16 21:24:52 UTC
  • Revision ID: svn-v4:db760fc0-0f08-0410-9d63-cc6633f64896:trunk:1
Initial import of the REL8_0_3 sources from the Pgsql CVS repository.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# This makefile will build the new XML and XSLT routines.
 
2
 
 
3
MODULE_big = pgxml
 
4
 
 
5
# Remove xslt_proc.o from the following line if you don't have libxslt
 
6
OBJS = xpath.o xslt_proc.o
 
7
 
 
8
# Remove -lxslt from the following line if you don't have libxslt.
 
9
SHLIB_LINK = -lxml2 -lxslt
 
10
 
 
11
DATA_built = pgxml.sql
 
12
DOCS = README.xml2
 
13
 
 
14
override CFLAGS += $(shell xml2-config --cflags)
 
15
 
 
16
ifdef USE_PGXS
 
17
PGXS = $(shell pg_config --pgxs)
 
18
include $(PGXS)
 
19
else
 
20
subdir = contrib/xml2
 
21
top_builddir = ../..
 
22
include $(top_builddir)/src/Makefile.global
 
23
include $(top_srcdir)/contrib/contrib-global.mk
 
24
endif
 
25