diff --git a/contrib/Makefile b/contrib/Makefile index 321c1126f8e7ce63cb4db4e3a23e17666ab35735..600d4029579d730070fb75cea1c87f6e1b7f50e1 100644 --- a/contrib/Makefile +++ b/contrib/Makefile @@ -1,4 +1,4 @@ -# $PostgreSQL: pgsql/contrib/Makefile,v 1.51 2004/09/16 21:20:19 tgl Exp $ +# $PostgreSQL: pgsql/contrib/Makefile,v 1.52 2004/11/04 06:09:17 neilc Exp $ subdir = contrib top_builddir = .. @@ -22,6 +22,7 @@ WANTED_DIRS = \ lo \ ltree \ miscutil \ + mysql \ noupdate \ oid2name \ pg_autovacuum \ @@ -47,7 +48,6 @@ WANTED_DIRS = \ # ipc_check \ (does not have a makefile) # mSQL-interface \ (requires msql installed) # mac \ (does not have a makefile) -# mysql \ (does not have a makefile) # oracle \ (does not have a makefile) # pg_upgrade \ (does not have a makefile) # reindexdb \ (does not have a makefile) diff --git a/contrib/dbmirror/Makefile b/contrib/dbmirror/Makefile index b0f538f8b50d77faa849283d5e0e9c321081d20d..e21141342fa47bbbc3c67e01bd056b0d5a7a02e6 100644 --- a/contrib/dbmirror/Makefile +++ b/contrib/dbmirror/Makefile @@ -1,6 +1,8 @@ -# $PostgreSQL: pgsql/contrib/dbmirror/Makefile,v 1.3 2004/08/20 20:13:03 momjian Exp $ +# $PostgreSQL: pgsql/contrib/dbmirror/Makefile,v 1.4 2004/11/04 06:09:19 neilc Exp $ MODULES = pending +SCRIPTS = clean_pending.pl DBMirror.pl +DATA = AddTrigger.sql MirrorSetup.sql slaveDatabase.conf DOCS = README.dbmirror ifdef USE_PGXS diff --git a/contrib/mysql/Makefile b/contrib/mysql/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..13d4c2b226fd043bea1202df181988fb030241ce --- /dev/null +++ b/contrib/mysql/Makefile @@ -0,0 +1,16 @@ +# mysql conversion Perl scripts +# $PostgreSQL: pgsql/contrib/mysql/Makefile,v 1.1 2004/11/04 06:09:21 neilc Exp $ + +MODULES = +SCRIPTS = my2pg.pl mysql2pgsql +DOCS = README.mysql + +ifdef USE_PGXS +PGXS = $(shell pg_config --pgxs) +include $(PGXS) +else +subdir = contrib/mysql +top_builddir = ../.. +include $(top_builddir)/src/Makefile.global +include $(top_srcdir)/contrib/contrib-global.mk +endif diff --git a/contrib/mysql/mysql2pgsql b/contrib/mysql/mysql2pgsql index a51dfde53e368791a13c166796f96960f900929b..dfe5d6ffa21f133be2399c610e60affec4b3d337 100755 --- a/contrib/mysql/mysql2pgsql +++ b/contrib/mysql/mysql2pgsql @@ -1,4 +1,4 @@ -# -*- perl -*- +#!/usr/bin/perl # mysql2pgsql # Take a MySQL schema dump and turn it into SQL92 and PostgreSQL form. # Thomas Lockhart, (c) 2000, PostgreSQL Inc. diff --git a/contrib/xml/Makefile b/contrib/xml/Makefile index 0d8e48bac2ce65f614c64bac7816198c0cd088b4..879cd4d9ff3c7b764eb59b8a4c5281b6aa59ba1a 100644 --- a/contrib/xml/Makefile +++ b/contrib/xml/Makefile @@ -1,4 +1,4 @@ -# $Header: /cvsroot/pgsql/contrib/xml/Attic/Makefile,v 1.9 2004/08/20 20:13:10 momjian Exp $ +# $PostgreSQL: pgsql/contrib/xml/Makefile,v 1.10 2004/11/04 06:09:23 neilc Exp $ MODULE_big = pgxml_dom OBJS = pgxml_dom.o @@ -6,6 +6,8 @@ SHLIB_LINK = -lxml2 DATA_built = pgxml_dom.sql DOCS = README.xml +override CFLAGS += $(shell xml2-config --cflags) + ifdef USE_PGXS PGXS = $(shell pg_config --pgxs) include $(PGXS) diff --git a/contrib/xml2/Makefile b/contrib/xml2/Makefile index b2a4f2325e6bb92b3d974bfa7c323038318b1e4c..7d4779f25cba12b080ae28874067232f33049aa7 100644 --- a/contrib/xml2/Makefile +++ b/contrib/xml2/Makefile @@ -11,6 +11,7 @@ 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)