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


1.36
date	2010.01.05.16.38.23;	author meskes;	state Exp;
branches;
next	1.35;

1.35
date	2009.10.26.21.33.01;	author petere;	state Exp;
branches;
next	1.34;

1.34
date	2009.08.26.22.24.43;	author petere;	state Exp;
branches;
next	1.33;

1.33
date	2009.01.22.22.27.13;	author petere;	state Exp;
branches;
next	1.32;

1.32
date	2008.02.26.13.48.57;	author petere;	state Exp;
branches;
next	1.31;

1.31
date	2007.09.27.19.53.44;	author tgl;	state Exp;
branches
	1.31.2.1;
next	1.30;

1.30
date	2006.11.29.21.21.03;	author alvherre;	state Exp;
branches
	1.30.2.1;
next	1.29;

1.29
date	2006.11.28.12.44.06;	author meskes;	state Exp;
branches;
next	1.28;

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

1.27
date	2006.08.24.10.48.21;	author meskes;	state Exp;
branches;
next	1.26;

1.26
date	2006.08.23.12.01.52;	author meskes;	state Exp;
branches;
next	1.25;

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

1.24
date	2005.12.09.21.19.36;	author petere;	state Exp;
branches;
next	1.23;

1.23
date	2003.12.18.18.55.09;	author petere;	state Exp;
branches;
next	1.22;

1.22
date	2003.10.20.12.54.29;	author meskes;	state Exp;
branches
	1.22.2.1;
next	1.21;

1.21
date	2003.10.03.10.07.28;	author meskes;	state Exp;
branches;
next	1.20;

1.20
date	2003.06.29.09.25.19;	author meskes;	state Exp;
branches;
next	1.19;

1.19
date	2003.06.25.10.44.21;	author meskes;	state Exp;
branches;
next	1.18;

1.18
date	2003.06.12.12.52.24;	author meskes;	state Exp;
branches;
next	1.17;

1.17
date	2003.03.16.10.42.54;	author meskes;	state Exp;
branches;
next	1.16;

1.16
date	2003.02.21.15.19.18;	author meskes;	state Exp;
branches;
next	1.15;

1.15
date	2000.09.17.13.02.45;	author petere;	state Exp;
branches;
next	1.14;

1.14
date	2000.08.31.16.11.33;	author petere;	state Exp;
branches;
next	1.13;

1.13
date	2000.06.28.18.29.38;	author petere;	state Exp;
branches;
next	1.12;

1.12
date	2000.02.16.16.18.03;	author meskes;	state Exp;
branches;
next	1.11;

1.11
date	99.06.05.04.13.19;	author scrappy;	state Exp;
branches;
next	1.10;

1.10
date	98.05.06.12.57.05;	author scrappy;	state Exp;
branches;
next	1.9;

1.9
date	98.04.21.13.22.17;	author scrappy;	state Exp;
branches;
next	1.8;

1.8
date	98.04.06.16.51.58;	author momjian;	state Exp;
branches;
next	1.7;

1.7
date	98.04.06.01.16.04;	author momjian;	state Exp;
branches;
next	1.6;

1.6
date	98.04.06.00.30.17;	author momjian;	state Exp;
branches;
next	1.5;

1.5
date	98.04.05.22.01.55;	author momjian;	state Exp;
branches;
next	1.4;

1.4
date	98.02.23.15.42.54;	author scrappy;	state Exp;
branches;
next	1.3;

1.3
date	98.02.19.17.20.01;	author momjian;	state Exp;
branches;
next	1.2;

1.2
date	98.02.12.02.14.25;	author scrappy;	state Exp;
branches;
next	1.1;

1.1
date	98.02.10.16.41.10;	author scrappy;	state Exp;
branches;
next	;

1.22.2.1
date	2003.12.18.18.55.05;	author petere;	state Exp;
branches;
next	;

1.30.2.1
date	2008.02.26.13.49.27;	author petere;	state Exp;
branches;
next	;

1.31.2.1
date	2008.02.26.13.49.14;	author petere;	state Exp;
branches;
next	;


desc
@@


1.36
log
@Applied patch by Boszormenyi Zoltan <zb@@cybertec.at> to add sqlda support to
ecpg in both native and compatiblity mode.
@
text
@subdir = src/interfaces/ecpg/include
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global

override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
	-I$(libpq_srcdir) -I$(top_builddir)/src/port $(CPPFLAGS)

informix_esql_dir = $(pkgincludedir)/informix/esql
ecpg_config_h = $(top_builddir)/src/interfaces/ecpg/include/ecpg_config.h

all: $(ecpg_config_h)

install: all installdirs install-headers

.PHONY: install-headers
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h \
	pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h pgtypes_interval.h \
	sqlda.h sqlda-compat.h sqlda-native.h
informix_headers = datetime.h decimal.h sqltypes.h

install-headers: $(ecpg_headers) $(informix_headers)
	$(INSTALL_DATA) $(addprefix $(srcdir)/,$(ecpg_headers)) '$(DESTDIR)$(includedir)/'
	$(INSTALL_DATA) $(addprefix $(srcdir)/,$(informix_headers)) '$(DESTDIR)$(informix_esql_dir)/'
	$(INSTALL_DATA) $(ecpg_config_h) '$(DESTDIR)$(includedir)'

installdirs:
	$(MKDIR_P) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(informix_esql_dir)'

uninstall:
	rm -f $(addprefix '$(DESTDIR)$(includedir)'/, $(ecpg_headers))
	rm -f $(addprefix '$(DESTDIR)$(informix_esql_dir)'/, $(informix_headers))
	rm -f '$(DESTDIR)$(includedir)'/$(notdir $(ecpg_config_h))

distclean maintainer-clean:
	rm -f ecpg_config.h stamp-h
@


1.35
log
@Simplify a few makefile rules since install-sh can now install multiple
files in one run.
@
text
@d17 3
a19 2
	pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h pgtypes_interval.h
informix_headers = datetime.h decimal.h sqltypes.h sqlda.h
@


1.34
log
@Update of install-sh, mkinstalldirs, and associated configury

Update install-sh to that from Autoconf 2.63, plus our Darwin-specific
changes (which I simplified a bit).  install-sh is now able to install
multiple files in one run, so we could simplify our makefiles sometime.

install-sh also now has a -d option to create directories, so we don't need
mkinstalldirs anymore.

Use AC_PROG_MKDIR_P in configure.in, so we can use mkdir -p when available
instead of install-sh -d.  For consistency with the rest of the world,
the corresponding make variable has been renamed from $(mkinstalldirs) to
$(MKDIR_P).
@
text
@d21 2
a22 2
	for i in $(ecpg_headers); do $(INSTALL_DATA) $(srcdir)/$$i '$(DESTDIR)$(includedir)' || exit; done
	for i in $(informix_headers); do $(INSTALL_DATA) $(srcdir)/$$i '$(DESTDIR)$(informix_esql_dir)' || exit; done
@


1.33
log
@Recreate ecpg_config.h with a stamp file created by config.status, same
way pg_config.h is handled.  This avoids reruns of config.status on every
build, if configure has been rerun.
@
text
@d26 1
a26 1
	$(mkinstalldirs) '$(DESTDIR)$(includedir)' '$(DESTDIR)$(informix_esql_dir)'
@


1.32
log
@Fix uninstall target.
@
text
@d34 1
a34 2
	rm -f ecpg_config.h

@


1.31
log
@Define the FRONTEND symbol in postgres_fe.h, which allows us to eliminate
duplicative -DFRONTEND flags from many Makefiles.  We still need Makefile
control of the symbol in a few places that compile frontend-or-backend
src/port/ files, but it's a lot cleaner than before.

Hiroshi Saito
@
text
@d31 1
@


1.31.2.1
log
@Fix uninstall target.
@
text
@a30 1
	rm -f '$(DESTDIR)$(includedir)'/$(notdir $(ecpg_config_h))
@


1.30
log
@Fix Makefile problem which prevented installation on VPATH builds.
@
text
@d5 1
a5 2
override CPPFLAGS := -DFRONTEND \
	-I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
@


1.30.2.1
log
@Fix uninstall target.
@
text
@a31 1
	rm -f '$(DESTDIR)$(includedir)'/$(notdir $(ecpg_config_h))
@


1.29
log
@Also install ecpg_config.h
@
text
@d10 1
d12 1
a12 1
all: $(top_builddir)/src/interfaces/ecpg/include/ecpg_config.h 
d17 1
a17 1
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h ecpg_config.h \
d24 1
@


1.28
log
@Partial fix for ecpg's VPATH problems.  It compiles and successfully
builds all the files needed for its regression tests, but the tests
themselves fail because of diffs in the #line directives output by
ecpg itself.  Not sure what to do about that.
@
text
@d16 1
a16 1
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h \
@


1.27
log
@Needed more stuff from c.h.
@
text
@d5 2
a6 1
override CPPFLAGS := -DFRONTEND -I$(top_srcdir)/src/interfaces/ecpg/include \
@


1.26
log
@Replaced double-quote-fix with a hopefully better version.
Use initializer string length as size for character strings.
Added ecpg_config.h file that is created via configure.
@
text
@d10 2
@


1.25
log
@Fix some makefiles that fail to yield good results from 'make -qp'.
This doesn't really matter for ordinary building of Postgres, but it's
useful for automated checks, such as my just-committed pgcheckdefines.
@
text
@d27 4
@


1.24
log
@Allow installation into directories containing spaces in the name.
@
text
@d5 3
@


1.23
log
@Move Informix compatibility include files out of the way.  compatlib.h
was integrated into ecpg_informix.h, the other ones go into their own
subdirectory that is automatically considered by the embedded preprocessor
when in Informix mode.
@
text
@d15 2
a16 2
	for i in $(ecpg_headers); do $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir) || exit; done
	for i in $(informix_headers); do $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(informix_esql_dir) || exit; done
d19 1
a19 1
	$(mkinstalldirs) $(DESTDIR)$(includedir) $(DESTDIR)$(informix_esql_dir)
d22 2
a23 2
	rm -f $(addprefix $(DESTDIR)$(includedir)/, $(ecpg_headers))
	rm -f $(addprefix $(DESTDIR)$(informix_esql_dir)/, $(informix_headers))
@


1.22
log
@Install dummy sqlda.h file since this is needed for compatibility.
@
text
@d5 2
d10 3
a12 1
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h datetime.h decimal.h pgtypes_interval.h sqltypes.h compatlib.h sqlda.h
d14 3
a16 2
install-headers: $(ecpg_headers)
	for i in $^; do $(INSTALL_DATA) $$i $(DESTDIR)$(includedir); done
d19 1
a19 1
	$(mkinstalldirs) $(DESTDIR)$(includedir)
d23 1
@


1.22.2.1
log
@Move Informix compatibility include files out of the way.  compatlib.h
was integrated into ecpg_informix.h, the other ones go into their own
subdirectory that is automatically considered by the embedded preprocessor
when in Informix mode.
@
text
@a4 2
informix_esql_dir = $(pkgincludedir)/informix/esql

d8 1
a8 3
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h \
	pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h pgtypes_interval.h
informix_headers = datetime.h decimal.h sqltypes.h sqlda.h
d10 2
a11 3
install-headers: $(ecpg_headers) $(informix_headers)
	for i in $(ecpg_headers); do $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(includedir) || exit; done
	for i in $(informix_headers); do $(INSTALL_DATA) $(srcdir)/$$i $(DESTDIR)$(informix_esql_dir) || exit; done
d14 1
a14 1
	$(mkinstalldirs) $(DESTDIR)$(includedir) $(DESTDIR)$(informix_esql_dir)
a17 1
	rm -f $(addprefix $(DESTDIR)$(informix_esql_dir)/, $(informix_headers))
@


1.21
log
@Hide Informix datatypes. They are not seen by our built process anymore.
@
text
@d8 1
a8 1
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h datetime.h decimal.h pgtypes_interval.h sqltypes.h compatlib.h
@


1.20
log
@Just another sync.
@
text
@d8 1
a8 1
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h datetime.h decimal.h pgtypes_interval.h sqltypes.h
@


1.19
log
@Implemented Informix special way to treat NULLs, removed warnings, synced.
@
text
@d8 1
a8 1
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h datetime.h decimal.h pgtypes_interval.h
@


1.18
log
@Install all header files.
@
text
@d8 2
a9 1
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h pgtypes_error.h pgtypes_numeric.h pgtypes_timestamp.h pgtypes_date.h datetime.h decimal.h 
@


1.17
log
@Started working on a seperate pgtypes library. First test work. PLEASE test compilation on iother systems.
@
text
@d8 1
a8 1
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h pgtypes_error.h pgtypes_numeric.h
@


1.16
log
@Forgot to commit Makefile change.
@
text
@d8 1
a8 1
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h ecpg_informix.h
@


1.15
log
@Support for DESTDIR make variable. This is used as in `make install
DESTDIR=/else/where' and prepends the value of DESTDIR to the full
installation paths (e.g., /else/where/usr/local/pgsql/bin). This allows
users to install the package into a location different from the one that
was configured and hard-coded into various scripts, e.g., for creating
binary packages.

DESTDIR is in many cases preferrable over `make install
prefix=/else/where' because

a) `prefix' affects the path that is hard-coded into the files, which can
lead to a `make install prefix=xxx' (as done by the regression test
driver) corrupting the files in the source tree with wrong paths.

b) it doesn't work at all if a directory was overridden to not depend on
`prefix', e.g., --sysconfdir=/etc.

(Updating the regression test driver to use DESTDIR is a separate
undertaking.)

See also autoconf@@gnu.org, From: Akim Demaille <akim@@epita.fr>, Date: 08
Sep 2000 12:48:59 +0200, Message-ID:
<mv4em2vb1lw.fsf@@nostromo.lrde.epita.fr>, Subject: Re: HTML format
documentation.
@
text
@d8 1
a8 1
ecpg_headers = ecpgerrno.h ecpglib.h ecpgtype.h sqlca.h sql3types.h
@


1.14
log
@Fix relative path references so that make knowns which dependencies refer
to one another. Sort out builddir vs srcdir variable namings. Remove some
now obsoleted make variables.
@
text
@d10 1
a10 1
	for i in $^; do $(INSTALL_DATA) $$i $(includedir); done
d13 1
a13 1
	$(mkinstalldirs) $(includedir)
d16 1
a16 1
	rm -f $(addprefix $(includedir)/, $(ecpg_headers))
@


1.13
log
@Makefile cleanup for interface tree. Now essentially with all the
standard targets and behaviour. Replaced Makefile.in's with
Makefile's and declared the respective variables in Makefile.global.

maintainer-clean target now available at top level, although it does
not work in the backend tree yet.

Cleanup pass over Makefile.shlib, renamed some targets and variables.
The shared library symlink tests are now done by make, not the shell.

ecpg: Remove one warning in sloppy flex output.

PL/Perl and Perl interface: the MakeMaker documentation is confusing,
the realclean target *does* "delete derived files", but it also
uninstalls them. Don't use that.

The submake targets in the various bin directories that update libpq
should `make all', not `make libpq.a'. That is a) unportable, and
b) doesn't build the shared library.
@
text
@d3 1
a3 1
include ../../../Makefile.global
@


1.12
log
@*** empty log message ***
@
text
@d1 3
a3 3
# Generated automatically from Makefile.in by configure.
SRCDIR= ../../..
include $(SRCDIR)/Makefile.global
d5 1
a5 2
all clean::
	@@echo Nothing to be done.
d7 4
a10 6
install::
	$(INSTALL) $(INSTLOPTS) ecpgerrno.h $(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) ecpglib.h $(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) ecpgtype.h $(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) sqlca.h $(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) sql3types.h $(HEADERDIR)	
d12 2
a13 6
uninstall::
	rm -f $(HEADERDIR)/ecpgerrno.h
	rm -f $(HEADERDIR)/ecpglib.h
	rm -f $(HEADERDIR)/ecpgtype.h
	rm -f $(HEADERDIR)/sqlca.h
	rm -f $(HEADERDIR)/sql3types.h
d15 2
a16 1
dep depend:
@


1.11
log
@
ecpg.patch (wrong makefile expansion in some cases)

        the ecpg Makefiles use a variable DESTDIR which is never defined
        except by debian/rules makefile, in which case the ecpg makefiles
        expand wrong pathnames. If we want to support a DESTDIR root it
        must be done consistently in all the makefiles, not just in ecpg.

From: Massimo Dal Zotto <dz@@cs.unitn.it>
@
text
@d13 1
d20 1
@


1.10
log
@From: Michael Meskes <meskes@@topsystem.de>

Tue Apr 28 14:48:41 CEST 1998

      - Put operator "->" back into parser. Note that :foo->bar means the
        C term, but :foo ->bar means the operator "->".

Tue Apr 28 15:49:07 CEST 1998

      - Added exec sql disconnect command.
      - Allow varchar in C to be written in uppercase too.
      - Added whenever option "do break;"

Wed Apr 29 09:17:53 CEST 1998

      - Corrected parsing of C comments.
      - Also allow C++ style comments.
      - Make sure not found is only checked after commands that could
          return it.
      - Added error codes, see ecpgerror.h for details.
      - Added "exec sql <TransactionStmt> release" as disconnect statement
        for compatibility issues.

Thu Apr 30 10:42:10 CEST 1998

      - Added a -t option to disable automatic transaction start.
      - Added sqlerrd[] to sqlca struct.
      - Give back number of tuples affect in sqlca.sqlerrd[2].

Thu Apr 30 13:36:02 CEST 1998

      - Make the return code different in case of different errors.

Wed May  6 11:42:48 CEST 1998

      - Free memory if possible
      - Some bugfixes for bugs I found while changing the memory
          allocation code
      - Now able to fill complete array with one call (see test1.pgc for
          an example)
      - Set version to 2.3.0
      - Set library version to 2.1
@
text
@d9 4
a12 4
	$(INSTALL) $(INSTLOPTS) ecpgerrno.h $(DESTDIR)$(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) ecpglib.h $(DESTDIR)$(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) ecpgtype.h $(DESTDIR)$(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) sqlca.h $(DESTDIR)$(HEADERDIR)	
d15 4
a18 4
	rm -f $(DESTDIR)$(HEADERDIR)/ecpgerrno.h
	rm -f $(DESTDIR)$(HEADERDIR)/ecpglib.h
	rm -f $(DESTDIR)$(HEADERDIR)/ecpgtype.h
	rm -f $(DESTDIR)$(HEADERDIR)/sqlca.h
@


1.9
log
@Upgrade ECPG to 2.0

Michael Meskes <meskes@@topsystem.de>
@
text
@d9 1
d15 1
@


1.8
log
@DESTDIR removed, again.
@
text
@d9 3
a11 3
	$(INSTALL) $(INSTLOPTS) ecpglib.h $(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) ecpgtype.h $(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) sqlca.h $(HEADERDIR)	
d14 3
a16 3
	rm -f $(HEADERDIR)/ecpglib.h
	rm -f $(HEADERDIR)/ecpgtype.h
	rm -f $(HEADERDIR)/sqlca.h
@


1.7
log
@Re-introduce $DISTDIR.
@
text
@d9 3
a11 3
	$(INSTALL) $(INSTLOPTS) ecpglib.h $(DESTDIR)$(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) ecpgtype.h $(DESTDIR)$(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) sqlca.h $(DESTDIR)$(HEADERDIR)	
d14 3
a16 3
	rm -f $(DESTDIR)$(HEADERDIR)/ecpglib.h
	rm -f $(DESTDIR)$(HEADERDIR)/ecpgtype.h
	rm -f $(DESTDIR)$(HEADERDIR)/sqlca.h
@


1.6
log
@Hi,

Attached you'll find a (big) patch that fixes make dep and make
depend in all Makefiles where I found it to be appropriate.

It also removes the dependency in Makefile.global for NAMEDATALEN
and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh
a little smarter.

This no longer requires initdb.sh that is turned into initdb with
a sed script when installing Postgres, hence initdb.sh should be
renamed to initdb (after the patch has been applied :-) )

This patch is against the 6.3 sources, as it took a while to
complete.

Please review and apply,

Cheers,

Jeroen van Vianen
@
text
@d9 3
a11 3
	$(INSTALL) $(INSTLOPTS) ecpglib.h $(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) ecpgtype.h $(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) sqlca.h $(HEADERDIR)	
d14 3
a16 3
	rm -f $(HEADERDIR)/ecpglib.h
	rm -f $(HEADERDIR)/ecpgtype.h
	rm -f $(HEADERDIR)/sqlca.h
@


1.5
log
@Remove DISTDIR.
@
text
@d17 2
@


1.4
log
@A few misc fixes brought up by Andrew
@
text
@d9 3
a11 3
	$(INSTALL) $(INSTLOPTS) ecpglib.h $(DESTDIR)$(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) ecpgtype.h $(DESTDIR)$(HEADERDIR)	
	$(INSTALL) $(INSTLOPTS) sqlca.h $(DESTDIR)$(HEADERDIR)	
d14 3
a16 3
	rm -f $(DESTDIR)$(HEADERDIR)/ecpglib.h
	rm -f $(DESTDIR)$(HEADERDIR)/ecpgtype.h
	rm -f $(DESTDIR)$(HEADERDIR)/sqlca.h
@


1.3
log
@Password fix.  Now people have to do the REVOKE themselves.
@
text
@d9 3
a11 3
	install $(INSTLOPTS) ecpglib.h $(DESTDIR)$(HEADERDIR)	
	install $(INSTLOPTS) ecpgtype.h $(DESTDIR)$(HEADERDIR)	
	install $(INSTLOPTS) sqlca.h $(DESTDIR)$(HEADERDIR)	
@


1.2
log
@Remove configure code from ecpg, as well as remove the 'for' loop from the
Makefile, as it isn't appropriate for GNUmake
@
text
@d9 3
a11 3
	install ecpglib.h $(DESTDIR)$(HEADERDIR)	
	install ecpgtype.h $(DESTDIR)$(HEADERDIR)	
	install sqlca.h $(DESTDIR)$(HEADERDIR)	
@


1.1
log
@Erk, the whole directory structure changed on us here...
@
text
@d9 3
a11 3
	install ecpglib.h $(HEADERDIR)	
	install ecpgtype.h $(HEADERDIR)	
	install sqlca.h $(HEADERDIR)	
d14 3
a16 3
	rm -f $(HEADERDIR)/ecpglib.h
	rm -f $(HEADERDIR)/ecpgtype.h
	rm -f $(HEADERDIR)/sqlca.h
@
