~ubuntu-branches/ubuntu/natty/postgresql-8.4/natty-updates

« back to all changes in this revision

Viewing changes to contrib/xml2/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2009-03-20 12:00:13 UTC
  • Revision ID: james.westby@ubuntu.com-20090320120013-hogj7egc5mjncc5g
Tags: upstream-8.4~0cvs20090328
ImportĀ upstreamĀ versionĀ 8.4~0cvs20090328

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# $PostgreSQL$
 
2
 
 
3
MODULE_big = pgxml
 
4
 
 
5
OBJS = $(if $(filter -lxslt, $(LIBS)), xpath.o xslt_proc.o, xpath.o)
 
6
 
 
7
SHLIB_LINK += $(filter -lxslt, $(LIBS)) $(filter -lxml2, $(LIBS))
 
8
 
 
9
DATA_built = pgxml.sql
 
10
DATA = uninstall_pgxml.sql
 
11
 
 
12
ifdef USE_PGXS
 
13
PG_CONFIG = pg_config
 
14
PGXS := $(shell $(PG_CONFIG) --pgxs)
 
15
include $(PGXS)
 
16
else
 
17
subdir = contrib/xml2
 
18
top_builddir = ../..
 
19
include $(top_builddir)/src/Makefile.global
 
20
include $(top_srcdir)/contrib/contrib-global.mk
 
21
endif