postgresql/contrib
2000-06-15 18:55:34 +00:00
..
apache_logging /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
array /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
bit /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
datetime /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
earthdistance /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
findoidjoins /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
fulltextindex /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
isbn_issn /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
likeplanning Because we ended up forcing an initdb for 7.0 final, we aren't going 2000-05-05 03:11:24 +00:00
linux The old init file won't run under bash on my box. 2000-05-16 03:18:43 +00:00
lo /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
miscutil /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
mSQL-interface /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
noupdate /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
odbc /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
pg_dumplo /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
pgbench /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
soundex /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
spi /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
string /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
tools /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
unixdate Remove some definitions which could not work; conversions from datetime 1998-02-11 04:24:20 +00:00
userlock /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
vacuumlo /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
Makefile /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
README /contrib patch from Karel. 2000-06-15 18:55:34 +00:00

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

	FIXME:
		os2client	
		odbc
		spi/preprocessor
		tools		
	

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

--------
#
# $Header: /cvsroot/pgsql/contrib/README,v 1.18 2000/06/15 18:54:29 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
-----------