postgresql/contrib
Bruce Momjian b36d31030b Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
..
apache_logging /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
array Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
bit /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
datetime Remove old doc files, now README. 2000-06-15 19:08:37 +00:00
earthdistance Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
findoidjoins Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
fulltextindex Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
isbn_issn Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
linux Add missing /contrib files to CVS. 2000-06-15 19:05:22 +00:00
lo Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
mSQL-interface Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
miscutil Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
noupdate Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
odbc /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
pg_dumplo Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
pgbench Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
soundex Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
spi Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
string Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
tips Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
tools /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
unixdate Add missing /contrib files to CVS. 2000-06-15 19:05:22 +00:00
userlock Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
vacuumlo Cleanup README Makefile installs. 2000-06-16 18:59:30 +00:00
Contrib.index Add missing /contrib files to CVS. 2000-06-15 19:05:22 +00:00
Makefile /contrib patch from Karel. 2000-06-15 18:55:34 +00:00
Makefile.global Add missing /contrib files to CVS. 2000-06-15 19:05:22 +00:00
README /contrib patch from Karel. 2000-06-15 18:55:34 +00:00

README

 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
-----------