mirror of
				https://github.com/postgres/postgres.git
				synced 2025-11-03 09:13:20 +03:00 
			
		
		
		
	- add some additional files to the dbmirror install (approved by ssinger) - add a makefile for contrib/mysql, and add mysql to the list of contribs build by default - use xml2-config to pickup -I flags for libxml2 in contrib/xml and contrib/xml2 Original work from Martin Pitt of Debian, minor cleanups by Neil Conway.
		
			
				
	
	
		
			26 lines
		
	
	
		
			577 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			577 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
# This makefile will build the new XML and XSLT routines.
 | 
						|
 | 
						|
MODULE_big = pgxml
 | 
						|
 | 
						|
# Remove xslt_proc.o from the following line if you don't have libxslt
 | 
						|
OBJS = xpath.o xslt_proc.o
 | 
						|
 | 
						|
# Remove -lxslt from the following line if you don't have libxslt.
 | 
						|
SHLIB_LINK = -lxml2 -lxslt
 | 
						|
 | 
						|
DATA_built = pgxml.sql
 | 
						|
DOCS = README.xml2
 | 
						|
 | 
						|
override CFLAGS += $(shell xml2-config --cflags)
 | 
						|
 | 
						|
ifdef USE_PGXS
 | 
						|
PGXS = $(shell pg_config --pgxs)
 | 
						|
include $(PGXS)
 | 
						|
else
 | 
						|
subdir = contrib/xml2
 | 
						|
top_builddir = ../..
 | 
						|
include $(top_builddir)/src/Makefile.global
 | 
						|
include $(top_srcdir)/contrib/contrib-global.mk
 | 
						|
endif
 | 
						|
 |