head	1.29;
access;
symbols
	REL9_0_0:1.29
	REL9_1_ALPHA1:1.29
	REL9_0_RC1:1.29
	REL9_0_BETA4:1.29
	REL9_0_STABLE:1.29.0.2
	REL9_0_BETA3:1.29
	REL9_0_BETA2:1.28
	REL7_4_29:1.22
	REL8_0_25:1.25
	REL8_1_21:1.26
	REL8_2_17:1.26
	REL8_3_11:1.28
	REL8_4_4:1.28
	REL9_0_BETA1:1.28
	REL9_0_ALPHA5_BRANCH:1.28.0.14
	REL9_0_ALPHA5:1.28
	REL7_4_28:1.22
	REL8_0_24:1.25
	REL8_1_20:1.26
	REL8_2_16:1.26
	REL8_3_10:1.28
	REL8_4_3:1.28
	REL9_0_ALPHA4:1.28
	REL9_0_ALPHA4_BRANCH:1.28.0.12
	REL8_5_ALPHA3:1.28
	REL8_5_ALPHA3_BRANCH:1.28.0.10
	REL7_4_27:1.22
	REL8_0_23:1.25
	REL8_1_19:1.26
	REL8_2_15:1.26
	REL8_3_9:1.28
	REL8_4_2:1.28
	REL8_5_ALPHA2:1.28
	REL8_5_ALPHA2_BRANCH:1.28.0.8
	REL7_4_26:1.22
	REL8_0_22:1.25
	REL8_1_18:1.26
	REL8_2_14:1.26
	REL8_3_8:1.28
	REL8_4_1:1.28
	REL8_5_ALPHA1:1.28
	REL8_5_ALPHA1_BRANCH:1.28.0.6
	REL8_4_STABLE:1.28.0.4
	REL8_4_0:1.28
	REL8_4_RC2:1.28
	REL8_4_RC1:1.28
	REL8_4_BETA2:1.28
	REL8_4_BETA1:1.28
	REL7_4_25:1.22
	REL8_0_21:1.25
	REL8_1_17:1.26
	REL8_2_13:1.26
	REL8_3_7:1.28
	REL7_4_24:1.22
	REL8_0_20:1.25
	REL8_1_16:1.26
	REL8_2_12:1.26
	REL8_3_6:1.28
	REL7_4_23:1.22
	REL8_0_19:1.25
	REL8_1_15:1.26
	REL8_2_11:1.26
	REL8_3_5:1.28
	REL7_4_22:1.22
	REL8_0_18:1.25
	REL8_1_14:1.26
	REL8_2_10:1.26
	REL8_3_4:1.28
	REL7_4_21:1.22
	REL8_0_17:1.25
	REL8_1_13:1.26
	REL8_2_9:1.26
	REL8_3_3:1.28
	REL7_4_20:1.22
	REL8_0_16:1.25
	REL8_1_12:1.26
	REL8_2_8:1.26
	REL8_3_2:1.28
	REL8_2_7:1.26
	REL8_3_1:1.28
	REL8_3_STABLE:1.28.0.2
	REL8_3_0:1.28
	REL8_3_RC2:1.28
	REL7_3_21:1.22
	REL7_4_19:1.22
	REL8_0_15:1.25
	REL8_1_11:1.26
	REL8_2_6:1.26
	REL8_3_RC1:1.28
	REL8_3_BETA4:1.27
	REL8_3_BETA3:1.27
	REL8_3_BETA2:1.27
	REL8_3_BETA1:1.27
	REL7_3_20:1.22
	REL7_4_18:1.22
	REL8_0_14:1.25
	REL8_1_10:1.26
	REL8_2_5:1.26
	REL7_3_19:1.22
	REL7_4_17:1.22
	REL8_0_13:1.25
	REL8_1_9:1.26
	REL8_2_4:1.26
	REL8_0_12:1.25
	REL8_1_8:1.26
	REL8_2_3:1.26
	REL7_3_18:1.22
	REL7_4_16:1.22
	REL8_0_11:1.25
	REL8_1_7:1.26
	REL8_2_2:1.26
	REL8_0_10:1.25
	REL8_1_6:1.26
	REL8_2_1:1.26
	REL7_4_15:1.22
	REL7_3_17:1.22
	REL8_2_STABLE:1.26.0.4
	REL8_2_0:1.26
	REL8_2_RC1:1.26
	REL8_2_BETA3:1.26
	REL8_2_BETA2:1.26
	REL8_1_5:1.26
	REL8_0_9:1.25
	REL7_4_14:1.22
	REL7_3_16:1.22
	REL8_2_BETA1:1.26
	REL7_3_15:1.22
	REL7_4_13:1.22
	REL8_0_8:1.25
	REL8_1_4:1.26
	REL7_3_14:1.22
	REL7_4_12:1.22
	REL8_0_7:1.25
	REL8_1_3:1.26
	REL7_3_13:1.22
	REL7_4_11:1.22
	REL8_0_6:1.25
	REL8_1_2:1.26
	REL7_3_12:1.22
	REL7_4_10:1.22
	REL8_0_5:1.25
	REL8_1_1:1.26
	REL8_1_STABLE:1.26.0.2
	REL8_1_0:1.26
	REL8_1_0RC1:1.26
	REL8_1_0BETA4:1.26
	REL8_1_0BETA3:1.26
	REL7_3_11:1.22
	REL7_4_9:1.22
	REL8_0_4:1.25
	REL8_1_0BETA2:1.25
	REL8_1_0BETA1:1.25
	REL7_2_8:1.21
	REL7_3_10:1.22
	REL7_4_8:1.22
	REL8_0_3:1.25
	REL8_0_2:1.25
	REL7_2_7:1.21
	REL7_3_9:1.22
	REL7_4_7:1.22
	REL8_0_1:1.25
	REL8_0_STABLE:1.25.0.4
	REL8_0_0:1.25.0.2
	REL8_0_0RC5:1.25
	REL8_0_0RC4:1.25
	REL8_0_0RC3:1.25
	REL8_0_0RC2:1.25
	REL8_0_0RC1:1.25
	REL8_0_0BETA5:1.25
	REL8_0_0BETA4:1.24
	REL7_4_6:1.22
	REL7_3_8:1.22
	REL7_2_6:1.21
	REL8_0_0BETA3:1.24
	REL8_0_0BETA2:1.24
	REL7_2_5:1.21
	REL7_4_5:1.22
	REL7_3_7:1.22
	REL7_4_4:1.22
	REL8_0_0BETA1:1.23
	REL7_4_3:1.22
	REL7_4_2:1.22
	REL7_3_6:1.22
	REL7_4_1:1.22
	REL7_3_5:1.22
	REL7_4:1.22
	REL7_4_RC2:1.22
	REL7_4_STABLE:1.22.0.6
	REL7_4_RC1:1.22
	REL7_4_BETA5:1.22
	REL7_4_BETA4:1.22
	REL7_4_BETA3:1.22
	REL7_4_BETA2:1.22
	WIN32_DEV:1.22.0.4
	REL7_4_BETA1:1.22
	REL7_3_4:1.22
	REL7_3_2:1.22
	REL7_2_4:1.21
	REL7_3_STABLE:1.22.0.2
	REL7_2_3:1.21
	REL7_2_STABLE:1.21.0.2
	REL7_2:1.21
	REL7_2_RC2:1.21
	REL7_2_RC1:1.21
	REL7_2_BETA5:1.21
	REL7_2_BETA4:1.21
	REL7_2_BETA3:1.21
	REL7_2_BETA2:1.21
	REL7_2_BETA1:1.21
	REL7_1_2:1.20
	REL7_1_STABLE:1.20.0.2
	REL7_1_BETA:1.18
	REL7_1_BETA3:1.18
	REL7_1_BETA2:1.18
	REL7_1:1.20
	REL7_0_PATCHES:1.11.0.4
	REL7_0:1.11
	REL6_5_PATCHES:1.11.0.2
	REL6_5:1.11
	REL6_4:1.8.0.2
	release-6-3:1.7;
locks; strict;
comment	@# @;


1.29
date	2010.07.05.23.15.56;	author tgl;	state Exp;
branches;
next	1.28;

1.28
date	2007.12.03.04.22.54;	author tgl;	state Exp;
branches;
next	1.27;

1.27
date	2007.06.26.22.05.03;	author tgl;	state Exp;
branches;
next	1.26;

1.26
date	2005.09.27.17.13.10;	author tgl;	state Exp;
branches;
next	1.25;

1.25
date	2004.11.17.17.45.59;	author tgl;	state Exp;
branches;
next	1.24;

1.24
date	2004.08.20.20.13.08;	author momjian;	state Exp;
branches;
next	1.23;

1.23
date	2003.11.29.19.51.35;	author pgsql;	state Exp;
branches;
next	1.22;

1.22
date	2002.10.03.18.40.02;	author tgl;	state Exp;
branches;
next	1.21;

1.21
date	2001.09.06.10.49.30;	author petere;	state Exp;
branches;
next	1.20;

1.20
date	2001.04.04.21.15.56;	author tgl;	state Exp;
branches;
next	1.19;

1.19
date	2001.02.20.19.20.28;	author petere;	state Exp;
branches;
next	1.18;

1.18
date	2000.10.20.21.03.31;	author petere;	state Exp;
branches;
next	1.17;

1.17
date	2000.07.09.13.13.36;	author petere;	state Exp;
branches;
next	1.16;

1.16
date	2000.07.04.16.17.11;	author momjian;	state Exp;
branches;
next	1.15;

1.15
date	2000.06.19.13.54.15;	author momjian;	state Exp;
branches;
next	1.14;

1.14
date	2000.06.16.18.59.17;	author momjian;	state Exp;
branches;
next	1.13;

1.13
date	2000.06.15.18.55.17;	author momjian;	state Exp;
branches;
next	1.12;

1.12
date	2000.05.29.05.44.30;	author tgl;	state Exp;
branches;
next	1.11;

1.11
date	99.05.16.14.56.17;	author tgl;	state Exp;
branches;
next	1.10;

1.10
date	99.05.10.15.12.27;	author momjian;	state Exp;
branches;
next	1.9;

1.9
date	98.12.12.20.20.49;	author momjian;	state Exp;
branches;
next	1.8;

1.8
date	98.04.22.04.16.09;	author scrappy;	state Exp;
branches;
next	1.7;

1.7
date	98.01.17.23.39.02;	author scrappy;	state Exp;
branches;
next	1.6;

1.6
date	97.10.17.09.55.27;	author vadim;	state Exp;
branches;
next	1.5;

1.5
date	97.10.02.18.01.50;	author vadim;	state Exp;
branches;
next	1.4;

1.4
date	97.09.24.08.17.10;	author vadim;	state Exp;
branches;
next	1.3;

1.3
date	97.09.12.02.41.12;	author vadim;	state Exp;
branches;
next	1.2;

1.2
date	97.09.11.09.08.31;	author vadim;	state Exp;
branches;
next	1.1;

1.1
date	97.09.11.06.51.21;	author vadim;	state Exp;
branches;
next	;


desc
@@


1.29
log
@Fix a few single-file (MODULES, not MODULE_big) contrib makefiles that were
supposing that they should set SHLIB_LINK rather than LDFLAGS_SL.  Since these
don't go through Makefile.shlib that was a no-op on most platforms.  Also
regularize the few platform-specific Makefiles that did pay attention to
SHLIB_LINK: it seems that the real value of that is to pull in BE_DLLLIBS,
so do that instead.  Per buildfarm failures on cygwin.
@
text
@# $PostgreSQL: pgsql/contrib/spi/Makefile,v 1.28 2007/12/03 04:22:54 tgl Exp $

MODULES = autoinc insert_username moddatetime refint timetravel
DATA_built = $(addsuffix .sql, $(MODULES))
DOCS = $(addsuffix .example, $(MODULES))

# this is needed for the regression tests;
# comment out if you want a quieter refint package for other uses
PG_CPPFLAGS = -DREFINT_VERBOSE

LDFLAGS_SL += -L$(top_builddir)/src/port -lpgport

ifdef USE_PGXS
PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)
else
subdir = contrib/spi
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
include $(top_srcdir)/contrib/contrib-global.mk
endif
@


1.28
log
@Remove obsoleted README files.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/spi/Makefile,v 1.27 2007/06/26 22:05:03 tgl Exp $
d11 2
a22 2

SHLIB_LINK += -L$(top_builddir)/src/port -lpgport
@


1.27
log
@Fix PGXS conventions so that extensions can be built against Postgres
installations whose pg_config program does not appear first in the PATH.
Per gripe from Eddie Stanley and subsequent discussions with Fabien Coelho
and others.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/spi/Makefile,v 1.26 2005/09/27 17:13:10 tgl Exp $
d5 1
a5 1
DOCS	= README.spi $(addsuffix .example, $(MODULES))
@


1.26
log
@PGXS should be set with := not =, as specified in the documentation,
to avoid useless multiple executions of pg_config.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/spi/Makefile,v 1.25 2004/11/17 17:45:59 tgl Exp $
d12 2
a13 1
PGXS := $(shell pg_config --pgxs)
@


1.25
log
@Miscellaneous Cygwin build fixes from Reini Urban.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/contrib/spi/Makefile,v 1.24 2004/08/20 20:13:08 momjian Exp $
d12 1
a12 1
PGXS = $(shell pg_config --pgxs)
@


1.24
log
@> Please find enclose a submission to fix these problems.
>
> The patch adds missing the "libpgport.a" file to the installation under
> "install-all-headers". It is needed by some contribs. I install the
> library in "pkglibdir", but I was wondering whether it should be "libdir"?
> I was wondering also whether it would make sense to have a "libpgport.so"?
>
> It fixes various macros which are used by contrib makefiles, especially
> libpq_*dir and LDFLAGS when used under PGXS. It seems to me that they are
> needed to
>
> It adds the ability to test and use PGXS with contribs, with "make
> USE_PGXS=1". Without the macro, this is exactly as before, there should be
> no difference, esp. wrt the vpath feature that seemed broken by previous
> submission. So it should not harm anybody, and it is useful at least to me.
>
> It fixes some inconsistencies in various contrib makefiles
> (useless override, ":=" instead of "=").

Fabien COELHO
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/contrib/spi/Makefile,v 1.23 2003/11/29 19:51:35 pgsql Exp $
d20 2
@


1.23
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d1 1
a1 5
# $PostgreSQL: /cvsroot/pgsql-server/contrib/spi/Makefile,v 1.22 2002/10/03 18:40:02 tgl Exp $

subdir = contrib/spi
top_builddir = ../..
include $(top_builddir)/src/Makefile.global
d11 7
d19 1
@


1.22
log
@Restore NOTICEs that were mistakenly removed from triggers regression
test expected output.  Tweak contrib/spi Makefile so that refint.so is
by default built with appropriate NOTICE support for regression testing.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql-server/contrib/spi/Makefile,v 1.21 2001/09/06 10:49:30 petere Exp $
@


1.21
log
@To fix the perpetually broken makefiles in the contrib tree, I have
written a generic framework of rules that the contrib makefiles can
use instead of writing their own each time.  You only need to set a few
variables and off you go.
@
text
@d1 1
a1 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/spi/Makefile,v 1.20 2001/04/04 21:15:56 tgl Exp $
d11 2
a12 1
ifdef REFINT_VERBOSE
a13 1
endif
@


1.20
log
@Fix/cleanup DLLLIBS handling for Cygwin port.  If it works it's to
Jason Tishler's credit, if it's broken it's my fault ...
@
text
@d1 1
a1 3
#
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/spi/Makefile,v 1.19 2001/02/20 19:20:28 petere Exp $
#
d7 3
a9 8
OBJS	= autoinc.o insert_username.o moddatetime.o refint.o timetravel.o
DOCS	= README.spi
SQLS	= $(OBJS:.o=.sql)
EXAMPLES= $(OBJS:.o=.example)
MODS	= $(OBJS:.o=$(DLSUFFIX))

override CPPFLAGS := -I$(srcdir) $(CPPFLAGS)
override CFLAGS += $(CFLAGS_SL)
d12 1
a12 1
override CPPFLAGS+= -DREFINT_VERBOSE
d15 1
a15 36
override DLLLIBS := $(BE_DLLLIBS) $(DLLLIBS)


all: $(MODS) $(SQLS)

%.sql: %.sql.in
	sed -e 's:MODULE_PATHNAME:$(libdir)/contrib/$(@@:.sql=$(DLSUFFIX)):g' < $< > $@@

install: all installdirs
	for inst_file in $(SQLS); do \
	    $(INSTALL_DATA) $$inst_file $(datadir)/contrib || exit; \
	done
	for inst_file in $(MODS); do \
	    $(INSTALL_SHLIB) $$inst_file $(libdir)/contrib || exit; \
	done
	for inst_file in $(EXAMPLES) README.spi; do \
	    $(INSTALL_DATA) $$inst_file $(docdir)/contrib/spi || exit; \
	done

installdirs:
	$(mkinstalldirs) $(datadir)/contrib $(libdir)/contrib $(docdir)/contrib/spi

uninstall:
	rm -f $(addprefix $(datadir)/contrib/, $(SQLS)) \
	  $(addprefix $(libdir)/contrib/, $(MODS)) \
	  $(addprefix $(docdir)/contrib/spi/, $(EXAMPLES) README.spi)

clean distclean maintainer-clean:
	rm -f $(MODS) $(SQLS) $(OBJS)

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

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


1.19
log
@Make sure -L and -I's for our source tree are always before system include
or library directories on the command line.
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/spi/Makefile,v 1.18 2000/10/20 21:03:31 petere Exp $
d21 3
@


1.18
log
@Add support for VPATH builds, that is, building somewhere else than in the
source directory.  This involves mostly makefiles using $(srcdir) when they
might have used ".".  (Regression tests don't work with this, yet.)

Sort out usage of CPPFLAGS, CFLAGS (and CXXFLAGS).  Add "override" keyword
in most places, to preserve necessary flags even when the user overrode the
flags.
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/spi/Makefile,v 1.17 2000/07/09 13:13:36 petere Exp $
d15 1
a15 1
override CPPFLAGS += -I$(srcdir)
@


1.17
log
@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.
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/spi/Makefile,v 1.16 2000/07/04 16:17:11 momjian Exp $
d7 1
a7 1
include ../../src/Makefile.global
d15 2
a16 1
CFLAGS += -I. $(CFLAGS_SL)
d19 1
a19 1
CFLAGS+= -DREFINT_VERBOSE
@


1.16
log
@Makefile cleanup from Karel.
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/spi/Makefile,v 1.15 2000/06/19 13:54:15 momjian Exp $
d5 3
a7 1
TOPDIR=../..
a8 5
include ../Makefile.global

NAME	= 

PROGRAM	= 
d12 1
a12 2
BINS	=
EXAMPLES= $(OBJS:.o=.example) new_example.example
a20 2
OTHER_CLEAN = $(SQLS)

d24 1
a24 3
	$(SED) "s|MODULE_PATHNAME|$(CONTRIB_MODDIR)/$(@@:.sql=$(DLSUFFIX))|" < $< > $@@

install: install_doc install_sql install_mod install_example
d26 1
a26 6
install_doc:
	for inst_file in $(DOCS); do \
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_DOCDIR); \
	done

install_sql:
d28 1
a28 1
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_SQLDIR); \
a29 2

install_mod:
d31 1
a31 1
		$(INSTALL) $(INSTL_SHLIB_OPTS) $$inst_file $(CONTRIB_MODDIR); \
d33 6
d40 7
a46 4
install_example:
	for inst_file in $(EXAMPLES); do \
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_EXAMPLESDIR); \
	done
a50 3
clean:
	$(RM) *~ $(OBJS) $(MODS) $(PROGRAM) depend $(OTHER_CLEAN) core log

a53 2


@


1.15
log
@Update to /contrib from Karel.
@
text
@d2 1
a2 1
# $Header$
d30 1
a30 1
	$(SED) "s|MODULE_PATHNAME|$(CONTRIB_MODDIR)/$@@|" < $< > $@@
@


1.14
log
@Cleanup README Makefile installs.
@
text
@d2 1
a2 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/contrib/spi/Makefile,v 1.13 2000/06/15 18:55:17 momjian Exp $
d9 1
a9 1
NAME	= spi
d13 1
a13 1
DOCS	= README
d16 1
a16 1
EXAMPLES= $(OBJS:.o=.example)
d36 1
a36 1
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_DOCDIR)/$(DOCS).$(NAME); \
@


1.13
log
@/contrib patch from Karel.
@
text
@d2 1
a2 1
# $Header$
d9 1
a9 1
NAME	= 
d13 1
a13 1
DOCS	= spi.doc
d36 1
a36 1
		$(INSTALL) $(INSTL_LIB_OPTS) $$inst_file $(CONTRIB_DOCDIR); \
@


1.12
log
@Generated header files parse.h and fmgroids.h are now copied into
the src/include tree, so that -I backend is no longer necessary anywhere.
Also, clean up some bit rot in contrib tree.
@
text
@d1 3
d5 1
a5 1
SRCDIR= ../../src
d7 1
a7 1
include $(SRCDIR)/Makefile.global
d9 11
a19 1
CFLAGS+= $(CFLAGS_SL)
d25 31
a55 15
TARGETS= refint$(DLSUFFIX) refint.sql \
         timetravel$(DLSUFFIX) timetravel.sql \
         autoinc$(DLSUFFIX) autoinc.sql \
         moddatetime$(DLSUFFIX) moddatetime.sql \
         insert_username$(DLSUFFIX) insert_username.sql

CLEANFILES+= $(TARGETS)

all:: $(TARGETS)

%.sql: %.source
	rm -f $@@; \
	C=`pwd`; \
	sed -e "s:_OBJWD_:$$C:g" \
	    -e "s:_DLSUFFIX_:$(DLSUFFIX):g" < $< > $@@
d58 7
a64 1
	rm -f $(TARGETS) *.o
@


1.11
log
@Undo collateral damage from recent patch: Makefile had
lost most of target list and thus 'make clean' didn't clean up very well.
@
text
@d6 1
a6 1
CFLAGS+= $(CFLAGS_SL) -I$(SRCDIR)/include
@


1.10
log
@I send you a attach of my modified refint.c that
works with a new policy  in cascade mode .

Please Read README.MAX .
I do not know if you are the author of refint.c ,
but if not please tell me who is .


Thank you ( excuse me for my bad english) .
Massimo Lambertini massimo.lambertini@@everex.it
@
text
@d12 5
a16 1
TARGETS= refint$(DLSUFFIX) refint.sql
d28 2
a29 2
clean: 
	rm -f $(TARGETS)
@


1.9
log
@New moddatetime contrib from Terry Mackintosh.
@
text
@a5 2
CONTRIBDIR=$(LIBDIR)/modules

d12 1
a12 3
TARGETS= refint$(DLSUFFIX) refint.sql timetravel$(DLSUFFIX) timetravel.sql \
		autoinc$(DLSUFFIX) autoinc.sql moddatetime$(DLSUFFIX) moddatetime.sql \
		insert_username$(DLSUFFIX) insert_username.sql
a17 7
install:: all $(CONTRIBDIR)
	$(INSTALL) -c README $(CONTRIBDIR)/README.spi
	for f in *.example *.sql *$(DLSUFFIX); do $(INSTALL) -c $$f $(CONTRIBDIR)/$$f; done

$(CONTRIBDIR):
	mkdir -p $(CONTRIBDIR)

d21 1
a21 1
	sed -e "s:_OBJWD_:$(CONTRIBDIR):g" \
d25 1
a25 1
	rm -f $(TARGETS) *.o
@


1.8
log
@From: Jun Kuwamura <juk@@rccm.co.jp>

  This patch fix the Makefiles in contrib/{pginterface, spi,
miscutil, int8, ip_and_mac, sequence, soundex, string, userlock,
array, datetime} to install their modules in one directory(lib/modules/).
@
text
@d15 1
a15 1
		autoinc$(DLSUFFIX) autoinc.sql \
@


1.7
log
@From: "Michael J. Maravillo" <mmj@@philonline.com>

This patch makes it possible to do a "real" make distclean (back to its
fresh state) on the distribution after compilation, regression testing,
etc.
@
text
@d6 1
a6 1
CONTRIBDIR=$(LIBDIR)/contrib
@


1.6
log
@Trigger function for inserting user names.
Install compiled functions into $(LIBDIR)/contrib.
(Thanks to Brook Milligan <brook@@trillium.NMSU.Edu>)
@
text
@d36 1
a36 1
	rm -f $(TARGETS)
@


1.5
log
@General function for SERIAL/IDENTITY/AUTOINCREMENT feature.
Handle INSERT event in timetravel().
@
text
@d6 2
d15 2
a16 1
		autoinc$(DLSUFFIX) autoinc.sql
d22 7
d32 1
a32 1
	sed -e "s:_OBJWD_:$$C:g" \
@


1.4
log
@General trigger functions for time-travel
@
text
@d12 2
a13 1
TARGETS= refint$(DLSUFFIX) refint.sql timetravel$(DLSUFFIX) timetravel.sql
@


1.3
log
@README for refint.c and example of using.
@
text
@d12 1
a12 1
TARGETS= refint$(DLSUFFIX) refint.sql
a16 1
	rm -f *.obj *.pic
d25 1
a25 1
	rm -f $(TARGETS) *.[op]*
@


1.2
log
@Changed for regression tests.
@
text
@d17 1
d26 1
a26 1
	rm -f $(TARGETS) refint.o
@


1.1
log
@General trigger functions for referential integrity.
@
text
@d2 1
a2 1
SRCDIR= /home/postgres/current/pgsql/src
d6 5
a10 1
CFLAGS+= $(CFLAGS_SL) -I$(SRCDIR)/include -DREFINT_QUIET
d25 1
a25 1
	rm -f $(TARGETS)
@
