postgresql/contrib
Peter Eisentraut 74618e2b82 Another round of those unportable config/build changes :-/
* Add option to build with OpenSSL out of the box. Fix thusly exposed
  bit rot. Although it compiles now, getting this to do something
  useful is left as an exercise.

* Fix Kerberos options to defer checking for required libraries until
  all the other libraries are checked for.

* Change default odbcinst.ini and krb5.srvtab path to PREFIX/etc.

* Install work around for Autoconf's install-sh relative path anomaly.
  Get rid of old INSTL_*_OPTS variables, now that we don't need them
  anymore.

* Use `gunzip -c' instead of g?zcat. Reportedly broke on AIX.

* Look for only one of readline.h or readline/readline.h, not both.

* Make check for PS_STRINGS cacheable. Don't test for the header files
  separately.

* Disable fcntl(F_SETLK) test on Linux.

* Substitute the standard GCC warnings set into CFLAGS in configure,
  don't add it on in Makefile.global.

* Sweep through contrib tree to teach makefiles standard semantics.

... and in completely unrelated news:

* Make postmaster.opts arbitrary options-aware. I still think we need to
  save the environment as well.
2000-07-09 13:14:19 +00:00
..
array Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
earthdistance Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
findoidjoins Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
fulltextindex Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
isbn_issn Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
linux Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
lo Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
miscutil Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
mSQL-interface Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
noupdate Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
odbc Remove old README files. 2000-06-19 14:07:37 +00:00
pg_dumplo Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
pgbench Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
soundex Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
spi Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
statmath Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
string Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
tips Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
tools Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
unixdate Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
userlock Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
vacuumlo Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
Contrib.index Update to /contrib from Karel. 2000-06-19 13:54:50 +00:00
Makefile Another round of those unportable config/build changes :-/ 2000-07-09 13:14:19 +00:00
README Update to /contrib from Karel. 2000-06-19 13:54:50 +00:00

 The PostgreSQL contrib tree
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~

	FIXME:
		odbc
		spi/preprocessor
		tools		

 - the contrib contain is in the "Contrib.index" 	

 - in each directory must be Makefile, possible Makefile template
   is below this text,

--------
#
# $Header: /cvsroot/pgsql/contrib/README,v 1.19 2000/06/19 13:52:59 momjian Exp $
#

TOPDIR=../..

include ../Makefile.global

NAME	= some_name

PROGRAM	= 
OBJS	= $(NAME).o
DOCS	= $(NAME).doc
SQLS	= $(NAME).sql
BINS	=
EXAMPLES=
MODS	= $(NAME)$(DLSUFFIX)

CFLAGS += -I. $(CFLAGS_SL)

OTHER_CLEAN = $(SQLS)

all: $(MODS) $(SQLS)

%.sql: %.sql.in
	$(SED) "s|MODULE_PATHNAME|$(CONTRIB_MODDIR)/$@|" < $< > $@


install: install_doc install_sql install_mod install_bin install_example

install_doc:
	for inst_file in $(DOCS); do \
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_DOCDIR); \
	done

install_sql:
	for inst_file in $(SQLS); do \
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_SQLDIR); \
	done

install_mod:
	for inst_file in $(MODS); do \
		$(INSTALL) $(INSTL_SHLIB_OPTS) $$inst_file $(CONTRIB_MODDIR); \
	done

install_bin:
	for inst_file in $(BINS); do \
		$(INSTALL) $(INSTL_EXE_OPTS) $$inst_file $(CONTRIB_BINDIR); \
	done

install_example:
	for inst_file in $(EXAMPLES); do \
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_EXAMPLESDIR); \
	done

depend dep:
	$(CC) -MM -MG $(CFLAGS) *.c > depend

clean:
	$(RM) *~ $(OBJS) $(MODS) $(PROGRAM) depend $(OTHER_CLEAN) core log

ifeq (depend,$(wildcard depend))
include depend
endif
-----------