You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
postgres/contrib
Bruce Momjian fca9295fab Remove old doc files, now README. 26 years ago
..
apache_logging /contrib patch from Karel. 26 years ago
array Remove old doc files, now README. 26 years ago
bit /contrib patch from Karel. 26 years ago
datetime Remove old doc files, now README. 26 years ago
earthdistance Add missing /contrib files to CVS. 26 years ago
findoidjoins /contrib patch from Karel. 26 years ago
fulltextindex Add missing /contrib files to CVS. 26 years ago
isbn_issn Add missing /contrib files to CVS. 26 years ago
likeplanning Add missing /contrib files to CVS. 26 years ago
linux Add missing /contrib files to CVS. 26 years ago
lo Add missing /contrib files to CVS. 26 years ago
mSQL-interface Add missing /contrib files to CVS. 26 years ago
miscutil Remove old doc files, now README. 26 years ago
noupdate Add missing /contrib files to CVS. 26 years ago
odbc /contrib patch from Karel. 26 years ago
pg_dumplo Add missing /contrib files to CVS. 26 years ago
pgbench Add missing /contrib files to CVS. 26 years ago
soundex /contrib patch from Karel. 26 years ago
spi Add missing /contrib files to CVS. 26 years ago
string Remove old doc files, now README. 26 years ago
tips Add missing /contrib files to CVS. 26 years ago
tools /contrib patch from Karel. 26 years ago
unixdate Add missing /contrib files to CVS. 26 years ago
userlock Remove old doc files, now README. 26 years ago
vacuumlo /contrib patch from Karel. 26 years ago
Contrib.index Add missing /contrib files to CVS. 26 years ago
Makefile /contrib patch from Karel. 26 years ago
Makefile.global Add missing /contrib files to CVS. 26 years ago
README /contrib patch from Karel. 26 years ago

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