head	1.151;
access;
symbols
	REL9_0_0:1.150
	REL9_1_ALPHA1:1.151
	REL9_0_RC1:1.150
	REL9_0_BETA4:1.150
	REL9_0_STABLE:1.150.0.2
	REL9_0_BETA3:1.150
	REL9_0_BETA2:1.149
	REL7_4_29:1.94.2.3
	REL8_0_25:1.110.4.2
	REL8_1_21:1.114
	REL8_2_17:1.121
	REL8_3_11:1.130.2.1
	REL8_4_4:1.142
	REL9_0_BETA1:1.148
	REL9_0_ALPHA5_BRANCH:1.148.0.4
	REL9_0_ALPHA5:1.148
	REL7_4_28:1.94.2.3
	REL8_0_24:1.110.4.2
	REL8_1_20:1.114
	REL8_2_16:1.121
	REL8_3_10:1.130.2.1
	REL8_4_3:1.142
	REL9_0_ALPHA4:1.148
	REL9_0_ALPHA4_BRANCH:1.148.0.2
	REL8_5_ALPHA3:1.147
	REL8_5_ALPHA3_BRANCH:1.147.0.2
	REL7_4_27:1.94.2.3
	REL8_0_23:1.110.4.2
	REL8_1_19:1.114
	REL8_2_15:1.121
	REL8_3_9:1.130.2.1
	REL8_4_2:1.142
	REL8_5_ALPHA2:1.146
	REL8_5_ALPHA2_BRANCH:1.146.0.2
	REL7_4_26:1.94.2.3
	REL8_0_22:1.110.4.2
	REL8_1_18:1.114
	REL8_2_14:1.121
	REL8_3_8:1.130.2.1
	REL8_4_1:1.142
	REL8_5_ALPHA1:1.143
	REL8_5_ALPHA1_BRANCH:1.143.0.2
	REL8_4_STABLE:1.142.0.2
	REL8_4_0:1.142
	REL8_4_RC2:1.142
	REL8_4_RC1:1.142
	REL8_4_BETA2:1.142
	REL8_4_BETA1:1.142
	REL7_4_25:1.94.2.3
	REL8_0_21:1.110.4.2
	REL8_1_17:1.114
	REL8_2_13:1.121
	REL8_3_7:1.130.2.1
	REL7_4_24:1.94.2.3
	REL8_0_20:1.110.4.2
	REL8_1_16:1.114
	REL8_2_12:1.121
	REL8_3_6:1.130.2.1
	REL7_4_23:1.94.2.3
	REL8_0_19:1.110.4.2
	REL8_1_15:1.114
	REL8_2_11:1.121
	REL8_3_5:1.130.2.1
	REL7_4_22:1.94.2.3
	REL8_0_18:1.110.4.2
	REL8_1_14:1.114
	REL8_2_10:1.121
	REL8_3_4:1.130.2.1
	REL7_4_21:1.94.2.3
	REL8_0_17:1.110.4.2
	REL8_1_13:1.114
	REL8_2_9:1.121
	REL8_3_3:1.130.2.1
	REL7_4_20:1.94.2.3
	REL8_0_16:1.110.4.2
	REL8_1_12:1.114
	REL8_2_8:1.121
	REL8_3_2:1.130.2.1
	REL8_2_7:1.121
	REL8_3_1:1.130
	REL8_3_STABLE:1.130.0.2
	REL8_3_0:1.130
	REL8_3_RC2:1.130
	REL7_3_21:1.88
	REL7_4_19:1.94.2.3
	REL8_0_15:1.110.4.2
	REL8_1_11:1.114
	REL8_2_6:1.121
	REL8_3_RC1:1.130
	REL8_3_BETA4:1.129
	REL8_3_BETA3:1.129
	REL8_3_BETA2:1.129
	REL8_3_BETA1:1.128
	REL7_3_20:1.88
	REL7_4_18:1.94.2.3
	REL8_0_14:1.110.4.2
	REL8_1_10:1.114
	REL8_2_5:1.121
	REL7_3_19:1.88
	REL7_4_17:1.94.2.3
	REL8_0_13:1.110.4.2
	REL8_1_9:1.114
	REL8_2_4:1.121
	REL8_0_12:1.110.4.2
	REL8_1_8:1.114
	REL8_2_3:1.121
	REL7_3_18:1.88
	REL7_4_16:1.94.2.3
	REL8_0_11:1.110.4.2
	REL8_1_7:1.114
	REL8_2_2:1.121
	REL8_0_10:1.110.4.2
	REL8_1_6:1.114
	REL8_2_1:1.121
	REL7_4_15:1.94.2.3
	REL7_3_17:1.88
	REL8_2_STABLE:1.121.0.2
	REL8_2_0:1.121
	REL8_2_RC1:1.121
	REL8_2_BETA3:1.121
	REL8_2_BETA2:1.121
	REL8_1_5:1.114
	REL8_0_9:1.110.4.2
	REL7_4_14:1.94.2.3
	REL7_3_16:1.88
	REL8_2_BETA1:1.121
	REL7_3_15:1.88
	REL7_4_13:1.94.2.3
	REL8_0_8:1.110.4.2
	REL8_1_4:1.114
	REL7_3_14:1.88
	REL7_4_12:1.94.2.3
	REL8_0_7:1.110.4.2
	REL8_1_3:1.114
	REL7_3_13:1.88
	REL7_4_11:1.94.2.3
	REL8_0_6:1.110.4.2
	REL8_1_2:1.114
	REL7_3_12:1.88
	REL7_4_10:1.94.2.3
	REL8_0_5:1.110.4.2
	REL8_1_1:1.114
	REL8_1_STABLE:1.114.0.2
	REL8_1_0:1.114
	REL8_1_0RC1:1.114
	REL8_1_0BETA4:1.114
	REL8_1_0BETA3:1.114
	REL7_3_11:1.88
	REL7_4_9:1.94.2.3
	REL8_0_4:1.110.4.2
	REL8_1_0BETA2:1.114
	REL8_1_0BETA1:1.114
	REL7_2_8:1.81
	REL7_3_10:1.88
	REL7_4_8:1.94.2.3
	REL8_0_3:1.110.4.2
	REL8_0_2:1.110.4.2
	REL7_2_7:1.81
	REL7_3_9:1.88
	REL7_4_7:1.94.2.3
	REL8_0_1:1.110.4.1
	REL8_0_STABLE:1.110.0.4
	REL8_0_0:1.110.0.2
	REL8_0_0RC5:1.110
	REL8_0_0RC4:1.110
	REL8_0_0RC3:1.109
	REL8_0_0RC2:1.109
	REL8_0_0RC1:1.109
	REL8_0_0BETA5:1.109
	REL8_0_0BETA4:1.109
	REL7_4_6:1.94.2.3
	REL7_3_8:1.88
	REL7_2_6:1.81
	REL8_0_0BETA3:1.107
	REL8_0_0BETA2:1.107
	REL7_2_5:1.81
	REL7_4_5:1.94.2.3
	REL7_3_7:1.88
	REL7_4_4:1.94.2.3
	REL8_0_0BETA1:1.107
	REL7_4_3:1.94.2.3
	REL7_4_2:1.94.2.3
	REL7_3_6:1.88
	REL7_4_1:1.94.2.2
	REL7_3_5:1.88
	REL7_4:1.94
	REL7_4_RC2:1.94
	REL7_4_STABLE:1.94.0.2
	REL7_4_RC1:1.94
	REL7_4_BETA5:1.94
	REL7_4_BETA4:1.94
	REL7_4_BETA3:1.93
	REL7_4_BETA2:1.93
	WIN32_DEV:1.93.0.2
	REL7_4_BETA1:1.92
	REL7_3_4:1.88
	REL7_3_2:1.88
	REL7_2_4:1.81
	REL7_3_STABLE:1.88.0.2
	REL7_2_3:1.81
	ecpg_big_bison:1.83.0.2
	REL7_2_STABLE:1.81.0.2
	REL7_2:1.81
	REL7_2_RC2:1.81
	REL7_2_RC1:1.81
	REL7_2_BETA5:1.81
	REL7_2_BETA4:1.78
	REL7_2_BETA3:1.78
	REL7_2_BETA2:1.77
	REL7_2_BETA1:1.77
	REL7_1_2:1.74
	REL7_1_STABLE:1.74.0.2
	REL7_1_BETA:1.72
	REL7_1_BETA3:1.72
	REL7_1_BETA2:1.72
	REL7_1:1.74
	REL6_5_PATCHES:1.42.0.2
	REL6_5:1.42
	REL6_4:1.29.0.2
	release-6-3:1.9;
locks; strict;
comment	@# @;


1.151
date	2010.07.12.16.18.44;	author momjian;	state Exp;
branches;
next	1.150;

1.150
date	2010.07.05.18.54.38;	author tgl;	state Exp;
branches;
next	1.149;

1.149
date	2010.05.12.11.33.10;	author momjian;	state Exp;
branches;
next	1.148;

1.148
date	2010.01.02.16.58.11;	author momjian;	state Exp;
branches;
next	1.147;

1.147
date	2009.11.27.10.00.40;	author meskes;	state Exp;
branches;
next	1.146;

1.146
date	2009.09.02.19.14.14;	author mha;	state Exp;
branches;
next	1.145;

1.145
date	2009.08.28.20.26.19;	author petere;	state Exp;
branches;
next	1.144;

1.144
date	2009.08.26.22.24.43;	author petere;	state Exp;
branches;
next	1.143;

1.143
date	2009.07.13.01.37.05;	author momjian;	state Exp;
branches;
next	1.142;

1.142
date	2009.03.07.00.13.58;	author alvherre;	state Exp;
branches;
next	1.141;

1.141
date	2009.01.01.17.24.02;	author momjian;	state Exp;
branches;
next	1.140;

1.140
date	2008.11.15.22.20.55;	author tgl;	state Exp;
branches;
next	1.139;

1.139
date	2008.11.14.17.18.20;	author tgl;	state Exp;
branches;
next	1.138;

1.138
date	2008.11.14.17.11.40;	author meskes;	state Exp;
branches;
next	1.137;

1.137
date	2008.10.14.09.31.04;	author meskes;	state Exp;
branches;
next	1.136;

1.136
date	2008.08.29.13.02.32;	author petere;	state Exp;
branches;
next	1.135;

1.135
date	2008.05.21.19.51.01;	author meskes;	state Exp;
branches;
next	1.134;

1.134
date	2008.05.21.00.26.26;	author meskes;	state Exp;
branches;
next	1.133;

1.133
date	2008.05.20.23.17.32;	author meskes;	state Exp;
branches;
next	1.132;

1.132
date	2008.03.18.17.46.23;	author petere;	state Exp;
branches;
next	1.131;

1.131
date	2008.02.13.18.14.46;	author momjian;	state Exp;
branches;
next	1.130;

1.130
date	2008.01.01.19.45.59;	author momjian;	state Exp;
branches
	1.130.2.1;
next	1.129;

1.129
date	2007.10.26.14.17.53;	author tgl;	state Exp;
branches;
next	1.128;

1.128
date	2007.08.22.08.20.58;	author meskes;	state Exp;
branches;
next	1.127;

1.127
date	2007.08.14.10.01.53;	author meskes;	state Exp;
branches;
next	1.126;

1.126
date	2007.04.01.08.56.58;	author petere;	state Exp;
branches;
next	1.125;

1.125
date	2007.03.18.17.57.34;	author tgl;	state Exp;
branches;
next	1.124;

1.124
date	2007.03.17.19.25.23;	author meskes;	state Exp;
branches;
next	1.123;

1.123
date	2007.01.05.22.20.00;	author momjian;	state Exp;
branches;
next	1.122;

1.122
date	2007.01.05.20.54.39;	author momjian;	state Exp;
branches;
next	1.121;

1.121
date	2006.08.28.16.13.11;	author tgl;	state Exp;
branches;
next	1.120;

1.120
date	2006.03.07.00.48.07;	author tgl;	state Exp;
branches;
next	1.119;

1.119
date	2006.03.05.15.59.08;	author momjian;	state Exp;
branches;
next	1.118;

1.118
date	2006.01.17.19.49.23;	author meskes;	state Exp;
branches;
next	1.117;

1.117
date	2005.12.09.21.19.36;	author petere;	state Exp;
branches;
next	1.116;

1.116
date	2005.12.09.02.49.09;	author momjian;	state Exp;
branches;
next	1.115;

1.115
date	2005.11.30.12.49.49;	author meskes;	state Exp;
branches;
next	1.114;

1.114
date	2005.03.14.17.27.50;	author momjian;	state Exp;
branches;
next	1.113;

1.113
date	2005.03.11.19.13.43;	author momjian;	state Exp;
branches;
next	1.112;

1.112
date	2005.01.25.12.51.31;	author meskes;	state Exp;
branches;
next	1.111;

1.111
date	2005.01.18.05.00.28;	author momjian;	state Exp;
branches;
next	1.110;

1.110
date	2005.01.01.20.44.31;	author tgl;	state Exp;
branches
	1.110.4.1;
next	1.109;

1.109
date	2004.10.05.19.30.25;	author momjian;	state Exp;
branches;
next	1.108;

1.108
date	2004.10.04.13.43.58;	author momjian;	state Exp;
branches;
next	1.107;

1.107
date	2004.05.24.01.01.38;	author momjian;	state Exp;
branches;
next	1.106;

1.106
date	2004.05.19.17.15.21;	author momjian;	state Exp;
branches;
next	1.105;

1.105
date	2004.05.18.20.18.58;	author momjian;	state Exp;
branches;
next	1.104;

1.104
date	2004.05.17.14.35.34;	author momjian;	state Exp;
branches;
next	1.103;

1.103
date	2004.04.30.04.14.06;	author momjian;	state Exp;
branches;
next	1.102;

1.102
date	2004.04.26.17.40.48;	author momjian;	state Exp;
branches;
next	1.101;

1.101
date	2004.04.25.20.57.32;	author momjian;	state Exp;
branches;
next	1.100;

1.100
date	2004.04.23.18.15.55;	author momjian;	state Exp;
branches;
next	1.99;

1.99
date	2004.03.02.06.45.05;	author meskes;	state Exp;
branches;
next	1.98;

1.98
date	2004.02.15.13.48.54;	author meskes;	state Exp;
branches;
next	1.97;

1.97
date	2003.12.18.18.55.09;	author petere;	state Exp;
branches;
next	1.96;

1.96
date	2003.11.30.06.09.47;	author momjian;	state Exp;
branches;
next	1.95;

1.95
date	2003.11.29.19.52.08;	author pgsql;	state Exp;
branches;
next	1.94;

1.94
date	2003.09.27.15.32.48;	author momjian;	state Exp;
branches
	1.94.2.1;
next	1.93;

1.93
date	2003.08.06.02.19.51;	author momjian;	state Exp;
branches;
next	1.92;

1.92
date	2003.06.15.04.07.58;	author momjian;	state Exp;
branches;
next	1.91;

1.91
date	2003.03.18.10.46.39;	author meskes;	state Exp;
branches;
next	1.90;

1.90
date	2003.02.14.13.17.13;	author meskes;	state Exp;
branches;
next	1.89;

1.89
date	2002.12.04.18.14.11;	author momjian;	state Exp;
branches;
next	1.88;

1.88
date	2002.11.01.22.52.33;	author tgl;	state Exp;
branches;
next	1.87;

1.87
date	2002.10.21.18.05.24;	author petere;	state Exp;
branches;
next	1.86;

1.86
date	2002.10.21.13.09.31;	author meskes;	state Exp;
branches;
next	1.85;

1.85
date	2002.07.27.20.10.05;	author petere;	state Exp;
branches;
next	1.84;

1.84
date	2002.07.15.21.34.05;	author momjian;	state Exp;
branches;
next	1.83;

1.83
date	2002.03.11.12.56.02;	author meskes;	state Exp;
branches
	1.83.2.1;
next	1.82;

1.82
date	2002.02.23.04.16.04;	author petere;	state Exp;
branches;
next	1.81;

1.81
date	2002.01.09.00.06.38;	author tgl;	state Exp;
branches;
next	1.80;

1.80
date	2002.01.08.20.41.28;	author petere;	state Exp;
branches;
next	1.79;

1.79
date	2001.12.23.12.17.41;	author meskes;	state Exp;
branches;
next	1.78;

1.78
date	2001.11.16.16.32.33;	author petere;	state Exp;
branches;
next	1.77;

1.77
date	2001.09.19.14.09.32;	author meskes;	state Exp;
branches;
next	1.76;

1.76
date	2001.05.12.19.49.48;	author petere;	state Exp;
branches;
next	1.75;

1.75
date	2001.05.11.01.46.33;	author momjian;	state Exp;
branches;
next	1.74;

1.74
date	2001.02.20.19.20.29;	author petere;	state Exp;
branches;
next	1.73;

1.73
date	2001.02.10.22.31.42;	author petere;	state Exp;
branches;
next	1.72;

1.72
date	2000.11.30.20.36.13;	author petere;	state Exp;
branches;
next	1.71;

1.71
date	2000.11.08.18.56.25;	author petere;	state Exp;
branches;
next	1.70;

1.70
date	2000.11.07.08.46.27;	author meskes;	state Exp;
branches;
next	1.69;

1.69
date	2000.10.20.21.04.07;	author petere;	state Exp;
branches;
next	1.68;

1.68
date	2000.09.19.11.47.13;	author meskes;	state Exp;
branches;
next	1.67;

1.67
date	2000.09.17.13.02.47;	author petere;	state Exp;
branches;
next	1.66;

1.66
date	2000.08.31.16.11.39;	author petere;	state Exp;
branches;
next	1.65;

1.65
date	2000.08.28.11.53.22;	author petere;	state Exp;
branches;
next	1.64;

1.64
date	2000.07.19.16.30.11;	author petere;	state Exp;
branches;
next	1.63;

1.63
date	2000.06.28.18.29.40;	author petere;	state Exp;
branches;
next	1.62;

1.62
date	2000.02.28.23.28.41;	author momjian;	state dead;
branches;
next	1.61;

1.61
date	2000.02.18.14.34.09;	author meskes;	state Exp;
branches;
next	1.60;

1.60
date	2000.02.17.19.48.45;	author meskes;	state Exp;
branches;
next	1.59;

1.59
date	2000.01.18.13.03.48;	author meskes;	state Exp;
branches;
next	1.58;

1.58
date	2000.01.10.15.41.27;	author momjian;	state Exp;
branches;
next	1.57;

1.57
date	2000.01.07.08.01.15;	author meskes;	state Exp;
branches;
next	1.56;

1.56
date	99.12.23.12.33.19;	author meskes;	state Exp;
branches;
next	1.55;

1.55
date	99.12.16.06.53.11;	author meskes;	state Exp;
branches;
next	1.54;

1.54
date	99.12.08.09.52.29;	author meskes;	state Exp;
branches;
next	1.53;

1.53
date	99.11.22.12.48.47;	author meskes;	state Exp;
branches;
next	1.52;

1.52
date	99.10.29.19.39.31;	author meskes;	state Exp;
branches;
next	1.51;

1.51
date	99.10.27.14.36.09;	author meskes;	state Exp;
branches;
next	1.50;

1.50
date	99.10.22.23.14.50;	author tgl;	state Exp;
branches;
next	1.49;

1.49
date	99.10.15.19.02.08;	author meskes;	state Exp;
branches;
next	1.48;

1.48
date	99.10.08.11.05.02;	author meskes;	state Exp;
branches;
next	1.47;

1.47
date	99.09.27.10.41.02;	author meskes;	state Exp;
branches;
next	1.46;

1.46
date	99.09.17.09.48.25;	author meskes;	state Exp;
branches;
next	1.45;

1.45
date	99.09.15.08.29.19;	author meskes;	state Exp;
branches;
next	1.44;

1.44
date	99.08.02.04.59.17;	author meskes;	state Exp;
branches;
next	1.43;

1.43
date	99.07.19.12.37.47;	author meskes;	state Exp;
branches;
next	1.42;

1.42
date	99.06.29.09.25.22;	author meskes;	state Exp;
branches;
next	1.41;

1.41
date	99.06.05.04.13.21;	author scrappy;	state Exp;
branches;
next	1.40;

1.40
date	99.05.03.19.10.34;	author momjian;	state Exp;
branches;
next	1.39;

1.39
date	99.03.20.17.58.21;	author tgl;	state Exp;
branches;
next	1.38;

1.38
date	99.03.07.08.01.04;	author meskes;	state Exp;
branches;
next	1.37;

1.37
date	99.02.28.07.25.29;	author scrappy;	state Exp;
branches;
next	1.36;

1.36
date	99.02.23.12.56.59;	author scrappy;	state Exp;
branches;
next	1.35;

1.35
date	99.02.20.07.00.56;	author scrappy;	state Exp;
branches;
next	1.34;

1.34
date	99.02.04.04.58.04;	author scrappy;	state Exp;
branches;
next	1.33;

1.33
date	99.01.31.19.56.25;	author scrappy;	state Exp;
branches;
next	1.32;

1.32
date	99.01.18.17.17.01;	author momjian;	state Exp;
branches;
next	1.31;

1.31
date	99.01.17.06.19.28;	author momjian;	state Exp;
branches;
next	1.30;

1.30
date	98.12.22.18.50.54;	author scrappy;	state Exp;
branches;
next	1.29;

1.29
date	98.10.16.04.40.38;	author momjian;	state Exp;
branches;
next	1.28;

1.28
date	98.10.03.02.33.34;	author thomas;	state Exp;
branches;
next	1.27;

1.27
date	98.09.21.05.52.51;	author scrappy;	state Exp;
branches;
next	1.26;

1.26
date	98.09.21.02.25.29;	author momjian;	state Exp;
branches;
next	1.25;

1.25
date	98.08.25.12.17.22;	author scrappy;	state Exp;
branches;
next	1.24;

1.24
date	98.08.05.04.47.47;	author scrappy;	state Exp;
branches;
next	1.23;

1.23
date	98.07.07.17.59.25;	author scrappy;	state Exp;
branches;
next	1.22;

1.22
date	98.06.03.13.55.10;	author scrappy;	state Exp;
branches;
next	1.21;

1.21
date	98.05.21.03.52.36;	author scrappy;	state Exp;
branches;
next	1.20;

1.20
date	98.05.18.16.04.59;	author scrappy;	state Exp;
branches;
next	1.19;

1.19
date	98.05.06.13.02.54;	author scrappy;	state Exp;
branches;
next	1.18;

1.18
date	98.04.27.14.35.26;	author scrappy;	state Exp;
branches;
next	1.17;

1.17
date	98.04.24.12.09.54;	author scrappy;	state Exp;
branches;
next	1.16;

1.16
date	98.04.21.13.22.49;	author scrappy;	state Exp;
branches;
next	1.15;

1.15
date	98.04.17.03.06.35;	author scrappy;	state Exp;
branches;
next	1.14;

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

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

1.12
date	98.04.06.00.30.30;	author momjian;	state Exp;
branches;
next	1.11;

1.11
date	98.04.05.22.02.17;	author momjian;	state Exp;
branches;
next	1.10;

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

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

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

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

1.6
date	98.02.24.03.23.52;	author scrappy;	state Exp;
branches;
next	1.5;

1.5
date	98.02.23.15.43.13;	author scrappy;	state Exp;
branches;
next	1.4;

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

1.3
date	98.02.12.12.35.54;	author scrappy;	state Exp;
branches;
next	1.2;

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

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

1.83.2.1
date	2002.07.21.11.16.07;	author meskes;	state Exp;
branches;
next	;

1.94.2.1
date	2003.12.17.15.31.51;	author meskes;	state Exp;
branches;
next	1.94.2.2;

1.94.2.2
date	2003.12.18.18.55.06;	author petere;	state Exp;
branches;
next	1.94.2.3;

1.94.2.3
date	2004.02.15.13.50.02;	author meskes;	state Exp;
branches;
next	;

1.110.4.1
date	2005.01.26.22.52.01;	author tgl;	state Exp;
branches;
next	1.110.4.2;

1.110.4.2
date	2005.03.13.22.04.45;	author momjian;	state Exp;
branches;
next	;

1.130.2.1
date	2008.03.20.16.04.52;	author meskes;	state Exp;
branches;
next	;


desc
@@


1.151
log
@Bump minor library version numbers, for 9.1 release.
@
text
@#-------------------------------------------------------------------------
#
# Makefile for src/interfaces/ecpg/preproc
#
# Copyright (c) 1998-2010, PostgreSQL Global Development Group
#
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.150 2010/07/05 18:54:38 tgl Exp $
#
#-------------------------------------------------------------------------

PGFILEDESC = "ecpg - embedded SQL precompiler for C"
PGAPPICON=win32

subdir = src/interfaces/ecpg/preproc
top_builddir = ../../../..
include $(top_builddir)/src/Makefile.global

MAJOR_VERSION= 4
MINOR_VERSION= 7
PATCHLEVEL=0

override CPPFLAGS := -I../include -I$(top_srcdir)/src/interfaces/ecpg/include \
	-I. -I$(srcdir) -DMAJOR_VERSION=$(MAJOR_VERSION) \
	-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
	 $(CPPFLAGS)

override CFLAGS += $(PTHREAD_CFLAGS) -DECPG_COMPILE

OBJS=	preproc.o type.o ecpg.o output.o parser.o \
	keywords.o c_keywords.o ecpg_keywords.o kwlookup.o ../ecpglib/typename.o descriptor.o variable.o \
	$(WIN32RES)

all: submake-libpgport ecpg

ecpg: $(OBJS)
	$(CC) $(CFLAGS) $(LDFLAGS) $(LDFLAGS_EX) $^ $(LIBS) $(PTHREAD_LIBS) -o $@@$(X)

# pgc is compiled as part of preproc
preproc.o: pgc.c

preproc.h: preproc.c ;

preproc.c: preproc.y
ifdef BISON
	$(BISON) -d $(BISONFLAGS) -o $@@ $<
else
	@@$(missing) bison $< $@@
endif

pgc.c: pgc.l
ifdef FLEX
	$(FLEX) $(FLEXFLAGS) -o'$@@' $<
else
	@@$(missing) flex $< $@@
endif

preproc.y: ../../../backend/parser/gram.y parse.pl ecpg.addons ecpg.header ecpg.tokens ecpg.trailer ecpg.type
	$(PERL) $(srcdir)/parse.pl $(srcdir) < $< > $@@ 
	$(PERL) $(srcdir)/check_rules.pl $(srcdir) $<

ecpg_keywords.o c_keywords.o keywords.o preproc.o parser.o: preproc.h

kwlookup.c: % : $(top_srcdir)/src/backend/parser/%
	rm -f $@@ && $(LN_S) $< .

distprep: preproc.y preproc.c preproc.h pgc.c

install: all installdirs
	$(INSTALL_PROGRAM) ecpg$(X) '$(DESTDIR)$(bindir)'

installdirs:
	$(MKDIR_P) '$(DESTDIR)$(bindir)'

uninstall:
	rm -f '$(DESTDIR)$(bindir)/ecpg$(X)'

clean distclean:
	rm -f kwlookup.c *.o ecpg$(X)
# garbage from development
	@@rm -f core a.out

# `make distclean' must not remove preproc.y, preproc.c, preproc.h, or pgc.c
# since we want to ship those files in the distribution for people with
# inadequate tools.  Instead, `make maintainer-clean' will remove them.
maintainer-clean: distclean
	rm -f preproc.y preproc.c preproc.h pgc.c
@


1.150
log
@Split the LDFLAGS make variable into two parts: LDFLAGS is now used for
linking both executables and shared libraries, and we add on LDFLAGS_EX when
linking executables or LDFLAGS_SL when linking shared libraries.  This
provides a significantly cleaner way of dealing with link-time switches than
the former behavior.  Also, make sure that the various platform-specific
%.so: %.o rules incorporate LDFLAGS and LDFLAGS_SL; most of them missed that
before.  (I did not add these variables for the platforms that invoke $(LD)
directly, however.  It's not clear if we can do that safely, since for the
most part we assume these variables use CC command-line syntax.)

Per gripe from Aaron Swenson and subsequent investigation.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.149 2010/05/12 11:33:10 momjian Exp $
d19 1
a19 1
MINOR_VERSION= 6
@


1.149
log
@Add PGFILEDESC description to Makefiles for all /contrib executables.

Add PGAPPICON to all executable makefiles.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.148 2010/01/02 16:58:11 momjian Exp $
d36 1
a36 1
	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) $(PTHREAD_LIBS) -o $@@$(X)
@


1.148
log
@Update copyright for the year 2010.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.147 2009/11/27 10:00:40 meskes Exp $
d12 2
@


1.147
log
@Added script to check if all rule re-definition in ecpg.addons are indeed used
in the build process. If not the build process will stop with an error message.
@
text
@d5 1
a5 1
# Copyright (c) 1998-2009, PostgreSQL Global Development Group
d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.146 2009/09/02 19:14:14 mha Exp $
@


1.146
log
@Revert Makefile modification that broke the MSVC build.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.145 2009/08/28 20:26:19 petere Exp $
d57 1
@


1.145
log
@Derived files that are shipped in the distribution used to be built in the
source directory even for out-of-tree builds.  They are now alsl built in
the build tree.  This should be more convenient for certain developers'
workflows, and shouldn't really break anything else.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.144 2009/08/26 22:24:43 petere Exp $
d60 1
a60 1
kwlookup.c: % : ../../../backend/parser/%
@


1.144
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
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.143 2009/07/13 01:37:05 momjian Exp $
d21 1
a21 1
	-I$(srcdir) -DMAJOR_VERSION=$(MAJOR_VERSION) \
d37 1
a37 1
preproc.o: $(srcdir)/pgc.c
d39 1
a39 1
$(srcdir)/preproc.h: $(srcdir)/preproc.c ;
d41 1
a41 1
$(srcdir)/preproc.c: $(srcdir)/preproc.y
d48 1
a48 1
$(srcdir)/pgc.c: $(srcdir)/pgc.l
d55 1
a55 1
$(srcdir)/preproc.y: $(top_srcdir)/src/backend/parser/gram.y parse.pl ecpg.addons ecpg.header ecpg.tokens ecpg.trailer ecpg.type
d60 1
a60 1
kwlookup.c: % : $(top_srcdir)/src/backend/parser/%
d63 1
a63 1
distprep: $(srcdir)/preproc.y $(srcdir)/preproc.c $(srcdir)/preproc.h $(srcdir)/pgc.c
d83 1
a83 1
	rm -f $(srcdir)/preproc.y $(srcdir)/preproc.c $(srcdir)/preproc.h $(srcdir)/pgc.c
@


1.143
log
@Stamp minor library version numbers for 8.5; sorry for the delay.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.142 2009/03/07 00:13:58 alvherre Exp $
d69 1
a69 1
	$(mkinstalldirs) '$(DESTDIR)$(bindir)'
@


1.142
log
@Separate the key word list that lived in keywords.c into a new header file
kwlist.h, to avoid having to link the backend object file into other programs
like pg_dump.  We can now simply symlink a single source file from the backend
(kwlookup.c, containing the shared routine ScanKeywordLookup) and compile it
locally, which is a lot cleaner.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.141 2009/01/01 17:24:02 momjian Exp $
d17 1
a17 1
MINOR_VERSION= 5
@


1.141
log
@Update copyright for 2009.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.140 2008/11/15 22:20:55 tgl Exp $
d28 1
a28 1
	keywords.o c_keywords.o ecpg_keywords.o ../ecpglib/typename.o descriptor.o variable.o \
d60 1
a60 2
# instead of maintaining our own list, take the one from the backend
keywords.c: % : $(top_srcdir)/src/backend/parser/%
d75 1
a75 1
	rm -f keywords.c *.o ecpg$(X)
@


1.140
log
@Add missing dependencies to preproc.y build rule
@
text
@d5 1
a5 1
# Copyright (c) 1998-2008, PostgreSQL Global Development Group
d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.139 2008/11/14 17:18:20 tgl Exp $
@


1.139
log
@Improve comment about when to clean generated files.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.138 2008/11/14 17:11:40 meskes Exp $
d55 1
a55 1
$(srcdir)/preproc.y: $(top_srcdir)/src/backend/parser/gram.y
@


1.138
log
@Enable script to generate preproc.y in build process.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.137 2008/10/14 09:31:04 meskes Exp $
d80 3
a82 3
# `make clean' does not remove preproc.c, preproc.h, or pgc.c since we
# want to ship those files in the distribution for people with
# inadequate tools.
@


1.137
log
@Fixed parsing of parameters. Added regression test for this.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.136 2008/08/29 13:02:32 petere Exp $
d41 1
a41 1
$(srcdir)/preproc.c: preproc.y
d48 1
a48 1
$(srcdir)/pgc.c: pgc.l
d55 3
d64 1
a64 1
distprep: $(srcdir)/preproc.c $(srcdir)/preproc.h $(srcdir)/pgc.c
d84 1
a84 1
	rm -f $(srcdir)/preproc.c $(srcdir)/preproc.h $(srcdir)/pgc.c
@


1.136
log
@Remove all traces that suggest that a non-Bison yacc might be supported, and
change build system to use only Bison.  Simplify build rules, make file names
uniform.  Don't build the token table header file where it is not needed.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.135 2008/05/21 19:51:01 meskes Exp $
a57 1
# we cannot just link it in, but must copy and make some minor changes
@


1.135
log
@Link in keywords file instead of copying it.
Use #define/#ifdef instead of sed to fix include files, this should work on Windows too.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.134 2008/05/21 00:26:26 meskes Exp $
d39 1
a39 1
$(srcdir)/preproc.c: $(srcdir)/preproc.h ;
d41 3
a43 5
$(srcdir)/preproc.h: preproc.y
ifdef YACC
	$(YACC) -d $(YFLAGS) $<
	mv -f y.tab.c $(srcdir)/preproc.c
	mv -f y.tab.h $(srcdir)/preproc.h
a74 2
# garbage from partial builds
	@@rm -f y.tab.c y.tab.h
d76 1
a76 1
	@@rm -f core a.out *.output *.tab.c
@


1.134
log
@ecpg_keywords.o also depends on preproc.h
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.133 2008/05/20 23:17:32 meskes Exp $
d25 1
a25 1
override CFLAGS += $(PTHREAD_CFLAGS)
d62 1
a62 1
	sed -e 's/#include "parser\/parse.h"/#include "preproc.h"/' $< > $@@
@


1.133
log
@Synced parser.
Made ecpg parser use backend provided keyword list.
Changed whenever test so exit value is 0.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.132 2008/03/18 17:46:23 petere Exp $
d57 1
a57 1
c_keywords.o keywords.o preproc.o parser.o: preproc.h
@


1.132
log
@Don't need -Wno-error anymore, because flex is no longer producing warnings.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.131 2008/02/13 18:14:46 momjian Exp $
d28 1
a28 1
	keywords.o c_keywords.o ../ecpglib/typename.o descriptor.o variable.o \
d59 5
d76 1
a76 1
	rm -f *.o ecpg$(X)
@


1.131
log
@Bump minor library version numbers for 8.4.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.130 2008/01/01 19:45:59 momjian Exp $
a24 3
ifeq ($(GCC), yes)
override CFLAGS += -Wno-error
endif
@


1.130
log
@Update copyrights in source tree to 2008.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.129 2007/10/26 14:17:53 tgl Exp $
d17 1
a17 1
MINOR_VERSION= 4
@


1.130.2.1
log
@Changed statement escaping to not escape continuation line markers.
Bumped precompiler patchlevel.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.130 2008/01/01 19:45:59 momjian Exp $
d18 1
a18 1
PATCHLEVEL=1
@


1.129
log
@Avoid having backend-only code compiled into ecpg.  Per Zdenek Kotala
@
text
@d5 1
a5 1
# Copyright (c) 1998-2007, PostgreSQL Global Development Group
d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.128 2007/08/22 08:20:58 meskes Exp $
@


1.128
log
@More cleaning up and removed some duplicates.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.127 2007/08/14 10:01:53 meskes Exp $
a61 3
parser.c: $(top_srcdir)/src/backend/parser/parser.c
	rm -f $@@ && $(LN_S) $< .

d74 1
a74 1
	rm -f *.o ecpg$(X) parser.c
@


1.127
log
@- Finished major rewrite to use new protocol version
- Really prepare statements
- Added more regression tests
- Added auto-prepare mode
- Use '$n' for positional variables, '?' is still possible via ecpg option
- Cleaned up the sources a little bit
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.126 2007/04/01 08:56:58 petere Exp $
d30 1
a30 1
OBJS=	preproc.o type.o ecpg.o ecpg_keywords.o output.o parser.o \
d60 1
a60 1
c_keywords.o ecpg_keywords.o keywords.o preproc.o parser.o: preproc.h
@


1.126
log
@Complete cleaning
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.125 2007/03/18 17:57:34 tgl Exp $
d17 2
a18 2
MINOR_VERSION= 3
PATCHLEVEL=1
@


1.125
log
@Fix ecpg/preproc makefile for parallel builds: parser.o must depend
on preproc.h, else make may try to build it before preproc.h is ready.
Per failures seen here and in buildfarm.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.124 2007/03/17 19:25:23 meskes Exp $
d77 1
a77 1
	rm -f *.o ecpg$(X)
@


1.124
log
@- Changed some whitespacing in connect statement.
- Made some chars const as proposed by Stefan Huehner <stefan@@huehner.org>.
- Synced parser and keyword lists.
- Copied two token parsing from backend parser to ecpg parser.
- Also added a test case for this.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.123 2007/01/05 22:20:00 momjian Exp $
d60 1
a60 1
c_keywords.o ecpg_keywords.o keywords.o preproc.o: preproc.h
@


1.123
log
@Update CVS HEAD for 2007 copyright.  Back branches are typically not
back-stamped for this.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.122 2007/01/05 20:54:39 momjian Exp $
d30 1
a30 1
OBJS=	preproc.o type.o ecpg.o ecpg_keywords.o output.o \
d62 2
@


1.122
log
@Stamp major release 8.3.0, and increment library version numbers.
@
text
@d5 1
a5 1
# Copyright (c) 1998-2006, PostgreSQL Global Development Group
d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.121 2006/08/28 16:13:11 tgl Exp $
@


1.121
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
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.120 2006/03/07 00:48:07 tgl Exp $
d17 1
a17 1
MINOR_VERSION= 2
@


1.120
log
@'make clean' should NOT remove *~ files.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.119 2006/03/05 15:59:08 momjian Exp $
d20 4
a23 3
override CPPFLAGS := -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS) \
	-DMAJOR_VERSION=$(MAJOR_VERSION) \
	-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)
@


1.119
log
@Update copyright for 2006.  Update scripts.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.118 2006/01/17 19:49:23 meskes Exp $
d78 1
a78 1
	@@rm -f core a.out *~ *.output *.tab.c
@


1.118
log
@Data transferred binary is now put into the variables verbatim.
Also added a test case for a binary cursor.
@
text
@d5 1
a5 1
# Copyright (c) 1998-2005, PostgreSQL Global Development Group
d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.117 2005/12/09 21:19:36 petere Exp $
@


1.117
log
@Allow installation into directories containing spaces in the name.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.116 2005/12/09 02:49:09 momjian Exp $
d17 1
a17 1
MINOR_VERSION= 3
@


1.116
log
@Stamp libraries for 8.2 by updating minor library version numbers and
Win32 library files.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.115 2005/11/30 12:49:49 meskes Exp $
d65 1
a65 1
	$(INSTALL_PROGRAM) ecpg$(X) $(DESTDIR)$(bindir)
d68 1
a68 1
	$(mkinstalldirs) $(DESTDIR)$(bindir)
d71 1
a71 1
	rm -f $(DESTDIR)$(bindir)/ecpg$(X)
@


1.115
log
@- Made several variables "const char *" instead of "char *" as proposed by Qingqing Zhou <zhouqq@@cs.toronto.edu>.
- Replaced all strdup() calls by ECPGstrdup().
- Set ecpg library version to 5.2.
- Set ecpg version to 4.2.1.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.114 2005/03/14 17:27:50 momjian Exp $
d17 1
a17 1
MINOR_VERSION= 2
@


1.114
log
@Bump minor version numbers for 8.1 compared to 8.0.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.113 2005/03/11 19:13:43 momjian Exp $
d17 1
a17 1
MINOR_VERSION= 1
@


1.113
log
@Add fprintf() custom version to libpgport.

Document use of macros for pg_printf functions.

Bump major versions of all interfaces to handle movement of get_progname
from libpq to libpgport in 8.0, and probably other libpgport changes in 8.1.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.112 2005/01/25 12:51:31 meskes Exp $
d17 1
a17 1
MINOR_VERSION= 0
@


1.112
log
@Fixed segfault due to freeing a struct definition twice if it was a named struct used in a typedef.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.111 2005/01/18 05:00:28 momjian Exp $
d16 2
a17 2
MAJOR_VERSION=3
MINOR_VERSION=2
@


1.111
log
@Update version stamps for 8.1 as listed in RELEASE_CHANGES.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.110 2005/01/01 20:44:31 tgl Exp $
d17 2
a18 2
MINOR_VERSION=3
PATCHLEVEL=0
@


1.110
log
@Some more missed copyright notices.  Many of these look like they
should have been caught by the src/tools/copyright script ... why
weren't they?
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.109 2004/10/05 19:30:25 momjian Exp $
d17 1
a17 1
MINOR_VERSION=2
@


1.110.4.1
log
@Propagate ecpg core dump fix into 8.0 branch.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.112 2005/01/25 12:51:31 meskes Exp $
d18 1
a18 1
PATCHLEVEL=1
@


1.110.4.2
log
@Increment all major version numbers in 8.0.X to force recompile of
client aplications so 7.4.X releases can be installed on the same
machine as 8.0.X.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.110.4.1 2005/01/26 22:52:01 tgl Exp $
d16 2
a17 2
MAJOR_VERSION= 4
MINOR_VERSION= 0
@


1.109
log
@Add Win32 version info to client binaries.

Magnus Hagander
@
text
@d5 1
a5 1
# Copyright (c) 1998-2002, PostgreSQL Global Development Group
d7 1
a7 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.108 2004/10/04 13:43:58 momjian Exp $
@


1.108
log
@Make libpgport be front-end only and make libpgport_srv be a backend
library that uses palloc, ereport, etc.  This simplifies the makefiles
for client applications.
@
text
@d7 1
a7 1
# $PostgreSQL: pgsql-server/src/bin/pg_controldata/Makefile,v 1.9 2004/05/26 17:24:01 tgl Exp $
d11 1
d29 3
a31 2
OBJS=	preproc.o type.o ecpg.o ecpg_keywords.o output.o\
	keywords.o c_keywords.o ../ecpglib/typename.o descriptor.o variable.o
@


1.107
log
@Remove a few $filter() calls that were not needed.
@
text
@d1 9
a9 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.106 2004/05/19 17:15:21 momjian Exp $
d21 1
a21 2
	-DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL) \
	-DFRONTEND
d29 1
a29 2
	keywords.o c_keywords.o ../ecpglib/typename.o descriptor.o variable.o \
	exec.o
a35 3
exec.c: % : $(top_srcdir)/src/port/%
	rm -f $@@ && $(LN_S) $< .

d72 1
a72 1
	rm -f *.o ecpg$(X) exec.c
@


1.106
log
@Re-add elog() to exec.c, per Tom.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.105 2004/05/18 20:18:58 momjian Exp $
d23 1
a23 1
	$(filter exec.o, $(LIBOBJS))
@


1.105
log
@Move find_my_exec() way up into main.c so it is available to the
timezone code and other places.

Remove elog() calls from find_my_exec;  do fprintf(stderr) instead.  We
can then remove the exec.c handling in the makefile because it doesn't
have to be built to suppress elog calls.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.104 2004/05/17 14:35:34 momjian Exp $
d22 2
a23 1
	keywords.o c_keywords.o ../ecpglib/typename.o descriptor.o variable.o
d30 3
d69 1
a69 1
	rm -f *.o ecpg$(X)
@


1.104
log
@Reorganize code to allow path-relative installs.

Create new get_* functions to access compiled-in paths and adjust if
relative installs are to be used.

Clean up substitute_libpath_macro() code.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.103 2004/04/30 04:14:06 momjian Exp $
d22 1
a22 2
	keywords.o c_keywords.o ../ecpglib/typename.o descriptor.o variable.o \
	$(filter exec.o, $(LIBOBJS))
a28 3
exec.c: % : $(top_srcdir)/src/port/%
	rm -f $@@ && $(LN_S) $< .

d65 1
a65 1
	rm -f *.o ecpg$(X) exec.c
@


1.103
log
@Minor adjustments to enable public-domain timezone library to be called
from our code.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.102 2004/04/26 17:40:48 momjian Exp $
a13 2
	-DINCLUDEDIR=\"$(includedir)\" \
	-DPKGINCLUDEDIR=\"$(pkgincludedir)\" \
d21 3
a23 3
OBJS=preproc.o type.o ecpg.o ecpg_keywords.o output.o\
    keywords.o c_keywords.o ../ecpglib/typename.o descriptor.o variable.o

d30 3
d69 1
a69 1
	rm -f *.o ecpg$(X)
@


1.102
log
@Add $(X) for cross-compiling.  Seems the mingw compiler running on
FreeBSD doesn't add .EXE to links.

Michiel Ephraim
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.101 2004/04/25 20:57:32 momjian Exp $
d15 2
a16 1
	-DPKGINCLUDEDIR=\"$(pkgincludedir)\" 
@


1.101
log
@Make thread flags CFLAGS, not CPPFLAGS.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.100 2004/04/23 18:15:55 momjian Exp $
d29 1
a29 1
	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) $(PTHREAD_LIBS) -o $@@
@


1.100
log
@Add new auto-detection of thread flags.

Allow additional thread flags to be added via port templates.

Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new
configure script.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.99 2004/03/02 06:45:05 meskes Exp $
d11 1
a11 1
override CPPFLAGS := -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS) $(PTHREAD_CFLAGS) \
d20 1
@


1.99
log
@Added partly missing VOLATILE keyword.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.98 2004/02/15 13:48:54 meskes Exp $
d11 1
a11 1
override CPPFLAGS := -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS) $(THREAD_CPPFLAGS) \
d28 1
a28 1
	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) $(THREAD_LIBS) -o $@@
@


1.98
log
@        - Added missing braces to array parsing.
	- Set ecpg version to 3.1.1.
	- Removed that old debugging output that I forgot the last time.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.97 2003/12/18 18:55:09 petere Exp $
d8 2
a9 2
MINOR_VERSION=1
PATCHLEVEL=1
@


1.97
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
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.96 2003/11/30 06:09:47 momjian Exp $
d9 1
a9 1
PATCHLEVEL=0
@


1.96
log
@Bump all version numbers and version stamps mentioned in RELEASE_CHANGES.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.95 2003/11/29 19:52:08 pgsql Exp $
d14 2
a15 1
	-DINCLUDE_PATH=\"$(includedir)\" 
@


1.95
log
@
$Header: -> $PostgreSQL Changes ...
@
text
@d1 1
a1 1
# $PostgreSQL: /cvsroot/pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.94 2003/09/27 15:32:48 momjian Exp $
d8 1
a8 1
MINOR_VERSION=0
@


1.94
log
@Rename thread compile flag.  Move thread test program to tools/thread,
and improve tests.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.93 2003/08/06 02:19:51 momjian Exp $
@


1.94.2.1
log
@Applied all bug fixes from head also to 7.4. Just bugfixes, no new features.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.96 2003/11/30 06:09:47 momjian Exp $
d8 1
a8 1
MINOR_VERSION=1
@


1.94.2.2
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
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.94.2.1 2003/12/17 15:31:51 meskes Exp $
d14 1
a14 2
	-DINCLUDEDIR=\"$(includedir)\" \
	-DPKGINCLUDEDIR=\"$(pkgincludedir)\" 
@


1.94.2.3
log
@        - Added missing braces to array parsing.
        - Set ecpg version to 3.1.1.
        - Removed that old debugging output that I forgot the last time.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.97 2003/12/18 18:55:09 petere Exp $
d9 1
a9 1
PATCHLEVEL=1
@


1.93
log
@Add ecpg thread testing file.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.92 2003/06/15 04:07:58 momjian Exp $
d11 1
a11 1
override CPPFLAGS := -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS) $(THREAD_CFLAGS) \
@


1.92
log
@Make ecpg thread safe.

Lee Kindness
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.91 2003/03/18 10:46:39 meskes Exp $
d11 1
a11 1
override CPPFLAGS := -I$(srcdir)/../include -I$(srcdir) $(CPPFLAGS) \
d27 1
a27 1
	$(CC) $(CFLAGS) $(LDFLAGS) $^ $(LIBS) -o $@@
@


1.91
log
@Some bugfixes for numerical library.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.90 2003/02/14 13:17:13 meskes Exp $
d7 2
a8 2
MAJOR_VERSION=2
MINOR_VERSION=12
@


1.90
log
@- Synced parser and keyword file.
- More work on Informix compatibility.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.89 2002/12/04 18:14:11 momjian Exp $
d21 1
a21 1
    keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o
@


1.89
log
@Stamp minor version numbers for 7.4 release.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.88 2002/11/01 22:52:33 tgl Exp $
d8 1
a8 1
MINOR_VERSION=11
@


1.88
log
@Arrange to compile flex output files as inclusions into other files
(usually bison output files), not as standalone files.  This hack
works around flex's insistence on including <stdio.h> before we are
able to include postgres.h; postgres.h will already be read before
the compiler starts to read the flex output file.  Needed for largefile
support on some platforms.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.87 2002/10/21 18:05:24 petere Exp $
d8 1
a8 1
MINOR_VERSION=10
@


1.87
log
@Remove obsoleted stuff merged in from branch.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.86 2002/10/21 13:09:31 meskes Exp $
d20 1
a20 1
OBJS=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
d29 3
d50 1
a50 1
c_keywords.o ecpg_keywords.o keywords.o pgc.o: preproc.h
@


1.86
log
@Merged ecpg_big_bison back into HEAD
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql-server/src/interfaces/ecpg/preproc/Makefile,v 1.85 2002/07/27 20:10:05 petere Exp $
d21 2
a22 2
    keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o \
    $(SNPRINTF) $(STRDUP)
@


1.85
log
@Assemble portability modules into libpgport library.
Some makefile simplifications.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.84 2002/07/15 21:34:05 momjian Exp $
d21 2
a22 1
    keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o
@


1.84
log
@Remove certain Makefile dependencies by using full pathnames in
configure.in.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.83 2002/03/11 12:56:02 meskes Exp $
d21 1
a21 2
    keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o \
    $(SNPRINTF) $(STRDUP)
d23 1
a23 1
all: ecpg
a71 8


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

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


1.83
log
@Changed the version numbers, but did not commit the Makefiles.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.82 2002/02/23 04:16:04 petere Exp $
d21 2
a22 1
    keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o
a24 14

ifdef SNPRINTF
OBJS+=$(top_builddir)/src/backend/port/snprintf.o

$(top_builddir)/src/backend/port/snprintf.o:
	$(MAKE) -C $(top_builddir)/src/backend/port snprintf.o
endif

ifdef STRDUP
OBJS+=$(top_builddir)/src/utils/strdup.o

$(top_builddir)/src/utils/strdup.o:
	$(MAKE) -C $(top_builddir)/src/utils strdup.o
endif
@


1.83.2.1
log
@Corrected Makefile and preproc.y for big_bison branch.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.84 2002/07/15 21:34:05 momjian Exp $
d21 1
a21 2
    keywords.o c_keywords.o ../lib/typename.o descriptor.o variable.o \
    $(SNPRINTF) $(STRDUP)
d24 14
@


1.82
log
@Add -Wno-error to CFLAGS, so the rest of the tree can compile with
-Werror.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.81 2002/01/09 00:06:38 tgl Exp $
d8 1
a8 1
MINOR_VERSION=9
@


1.81
log
@Fix include paths for case of VPATH build.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.80 2002/01/08 20:41:28 petere Exp $
d15 4
@


1.80
log
@Revert last change (CFLAGS+=-g).  Probably was a mistake...
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.79 2001/12/23 12:17:41 meskes Exp $
d11 1
a11 1
override CPPFLAGS := -I$(srcdir)/../include $(CPPFLAGS) \
@


1.79
log
@- Removed space_or_nl and line_end from pgc.l.
- Fixed several bugs concerning arrays of structs including a memory
  allocation bug.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.78 2001/11/16 16:32:33 petere Exp $
a5 2

CFLAGS+=-g
@


1.78
log
@Make the yacc rules safe for parallel make.  See discussion on pgsql-patches
and comment in src/backend/parser/Makefile for the technical details.
@
text
@d1 1
a1 1
# $Header: /cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.77 2001/09/19 14:09:32 meskes Exp $
d6 2
@


1.77
log
@- Synced preproc.y with gram.y.
- Synced pgc.l with scan.l.
- Synced keyword.c.
- Include the remaining patches by Christof Petig <christof.petig@@wtal.de>.
@
text
@d1 1
a1 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.76 2001/05/12 19:49:48 petere Exp $
d38 3
a40 1
$(srcdir)/preproc.c $(srcdir)/preproc.h: preproc.y
d43 2
a44 2
	mv y.tab.c $(srcdir)/preproc.c
	mv y.tab.h $(srcdir)/preproc.h
@


1.76
log
@Add provisions for using strdup replacement in the places that still
needed it.

from our fearless Ultrix porter, Alexander Klimov <ask@@wisdom.weizmann.ac.il>
@
text
@d1 1
a1 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.75 2001/05/11 01:46:33 momjian Exp $
@


1.75
log
@Stamp CVS as 7.2.  Update all interface version numbers.  This is the
time to do it, not during beta because people are using this stuff in
production sometimes.
@
text
@d1 1
a1 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.74 2001/02/20 19:20:29 petere Exp $
d28 6
@


1.74
log
@Make sure -L and -I's for our source tree are always before system include
or library directories on the command line.
@
text
@d1 1
a1 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.73 2001/02/10 22:31:42 petere Exp $
d8 1
a8 1
MINOR_VERSION=8
@


1.73
log
@Only look for bison as YACC; other yaccs need to be selected explicitly.
When no suitable YACC is configured, supply useful informational messages
to users.  (Same way flex has been handled for a while.)
@
text
@d1 1
a1 1
# $Header: /home/projects/pgsql/cvsroot/pgsql/src/interfaces/ecpg/preproc/Makefile,v 1.72 2000/11/30 20:36:13 petere Exp $
d11 2
a12 1
override CPPFLAGS+=-I$(srcdir)/../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
@


1.72
log
@Make all commands that link a program look like

$(CC) $(CFLAGS) $(LDFLAGS) <object files> <extra-libraries> $(LIBS) -o $@@

This form seemed to be the most portable, readable, and logical, but in any
case it's better than having a dozen different ones in the tree.
@
text
@d1 1
a1 1
# $Header$
d32 1
d36 3
@


1.71
log
@Add dependencies required for parallel make
@
text
@d1 2
a13 1
# -DYYDEBUG -g
d29 1
a29 1
	$(CC) -o $@@ $^ $(LDFLAGS)
@


1.70
log
@Third try. Sorry, I had a wrong path in my copy statement.
@
text
@d42 3
@


1.69
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
@d12 1
@


1.68
log
@*** empty log message ***
@
text
@d9 1
a9 1
CPPFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
@


1.67
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
@d6 2
a7 2
MINOR_VERSION=7
PATCHLEVEL=1
@


1.66
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
@d44 1
a44 1
	$(INSTALL_PROGRAM) ecpg$(X) $(bindir)
d47 1
a47 1
	$(mkinstalldirs) $(bindir)
d50 1
a50 1
	rm -f $(bindir)/ecpg$(X)
@


1.65
log
@New configure test for flex, which recognizes only flex but does so in all
incarnations (I hope). When an acceptable flex version is not found, print
instructive error messages from both configure and the makefiles, so that
users can continue building anyway.
@
text
@d3 1
a3 1
include ../../../Makefile.global
d9 1
a9 1
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) \
@


1.64
log
@Add distprep target to take some of the job of the release_prep script.
The latter updated accordingly. Also add `dist' and `distcheck' targets
to play with, but caveat packager.

Updated backend/bootstrap and backend/parser makefile to make them
marginally builddir aware and fix the usual set of things.

Add rule to automatically remake config.h dependent on config.h.in and
config.status. (Adopted from Autoconf manual and about every other
package.) On a good day we should now have a complete and accurate set
of dependencies throughout everything.
@
text
@d35 5
a39 2
	$(LEX) $(LFLAGS) $<
	mv lex.yy.c $@@
d55 1
a55 1
	rm -f y.tab.c y.tab.h lex.yy.c
@


1.63
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
@d38 2
@


1.62
log
@Update ecpg to use snprintf
@
text
@d1 3
a3 2
SRCDIR= ../../..
include $(SRCDIR)/Makefile.global
d7 1
a7 1
PATCHLEVEL=0
d11 1
a11 1
	-DINCLUDE_PATH=\"$(HEADERDIR)\" -g
d13 1
a13 1
OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o output.o\
d16 1
a16 1
all:: ecpg
d18 22
a39 19
# Rule that really do something.
ecpg: $(OBJ)
	$(CC) -o ecpg $(OBJ) $(LEXLIB) $(LDFLAGS)

preproc.c preproc.h: preproc.y
	$(YACC) $(YFLAGS) $<
	mv y.tab.c preproc.c
	mv y.tab.h preproc.h

pgc.c: pgc.l
	$(LEX) $<
	mv lex.yy.c pgc.c

clean:
	rm -f *.o core a.out ecpg$(X) *~ *.output
# And the garbage that might have been left behind by partial build:
	rm -f y.tab.c y.tab.h lex.yy.c
# make clean does not remove preproc.c, preproc.h, pgc.c since we want
# to ship those files in the distribution, for people with inadequate tools.
d41 2
a42 2
install: all
	$(INSTALL) $(INSTL_EXE_OPTS) ecpg$(X) $(BINDIR)
d45 1
a45 1
	rm -f $(BINDIR)/ecpg
d47 6
a52 6
preproc.o: preproc.h ../include/ecpgtype.h keywords.c c_keywords.c ecpg_keywords.c
type.o: ../include/ecpgtype.h
pgc.o: ../include/ecpgtype.h keywords.c c_keywords.c ecpg_keywords.c preproc.h
keywords.o: ../include/ecpgtype.h preproc.h
c_keywords.o: ../include/ecpgtype.h preproc.h 
ecpg_keywords.o: ../include/ecpgtype.h preproc.h 
d54 13
@


1.61
log
@*** empty log message ***
@
text
@@


1.60
log
@*** empty log message ***
@
text
@d12 1
a12 1
OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o \
@


1.59
log
@*** empty log message ***
@
text
@d13 1
a13 2
    keywords.o c_keywords.o ../lib/typename.o
#../../../backend/parser/scansup.o
@


1.58
log
@Update int28out and out8out and _in_ functions to handle trailing zeros
properly.
@
text
@d6 1
a6 1
PATCHLEVEL=14
@


1.57
log
@*** empty log message ***
@
text
@d5 1
a5 1
MINOR_VERSION=6
@


1.56
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=13
@


1.55
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=12
@


1.54
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=11
@


1.53
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=10
d10 1
a10 1
	-DINCLUDE_PATH=\"$(HEADERDIR)\"
@


1.52
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=9
@


1.51
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=8
@


1.50
log
@Remove fixed-size literal buffer from ecpg's lexer (same
fix recently applied to backend's lexer).  I see that YY_USES_REJECT
still gets defined for this lexer, which means it's going to have trouble
parsing really long tokens.  Not sure if it's worth doing anything about
that or not; I don't have the interest right now to understand why
ecpg's additions to the syntax cause this problem...
@
text
@d6 1
a6 1
PATCHLEVEL=7
@


1.49
log
@*** empty log message ***
@
text
@d18 4
d27 4
d44 3
a46 13
# Rule that really do something.
ecpg: $(OBJ)
	$(CC) -o ecpg $(OBJ) $(LEXLIB) $(LDFLAGS)

pgc.c: pgc.l
	$(LEX) $<
	sed -e 's/#define YY_BUF_SIZE .*/#define YY_BUF_SIZE 65536/' \
		<lex.yy.c >pgc.c
	rm -f lex.yy.c

preproc.o : preproc.h ../include/ecpgtype.h keywords.c c_keywords.c ecpg_keywords.c
type.o : ../include/ecpgtype.h
pgc.o : ../include/ecpgtype.h keywords.c c_keywords.c ecpg_keywords.c preproc.h
@


1.48
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=6
@


1.47
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=5
@


1.46
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=4
@


1.45
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=3
@


1.44
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=2
@


1.43
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=1
@


1.42
log
@*** empty log message ***
@
text
@d6 1
a6 1
PATCHLEVEL=0
@


1.41
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
@d12 1
a12 1
OBJ=preproc.o pgc.o type.o ecpg.o ecpg_keywords.o ../../../backend/parser/scansup.o \
d14 1
@


1.40
log
@here are some patches for 6.5.0 which I already submitted but have never
been applied. The patches are in the .tar.gz attachment at the end:

varchar-array.patch     this patch adds support for arrays of bpchar() and
                        varchar(), which where always missing from postgres.

                        These datatypes can be used to replace the _char4,
                        _char8, etc., which were dropped some time ago.

block-size.patch        this patch fixes many errors in the parser and other
                        program which happen with very large query statements
                        (> 8K) when using a page size larger than 8192.

                        This patch is needed if you want to submit queries
                        larger than 8K. Postgres supports tuples up to 32K
                        but you can't insert them because you can't submit
                        queries larger than 8K. My patch fixes this problem.

                        The patch also replaces all the occurrences of `8192'
                        and `1<<13' in the sources with the proper constants
                        defined in include files. You should now never find
                        8192 hardwired in C code, just to make code clearer.


--
Massimo Dal Zotto
@
text
@d10 1
a10 1
	-DINCLUDE_PATH=\"$(DESTDIR)$(HEADERDIR)\"
d30 1
a30 1
	$(INSTALL) $(INSTL_EXE_OPTS) ecpg$(X) $(DESTDIR)$(BINDIR)
d33 1
a33 1
	rm -f $(DESTDIR)$(BINDIR)/ecpg
@


1.39
log
@make clean should remove lex.yy.c
@
text
@d41 3
a43 1
	mv lex.yy.c pgc.c
@


1.38
log
@*** empty log message ***
@
text
@d23 5
a27 1
	rm -f *.o core a.out ecpg$(X) *~ *.output *.tab.?
@


1.37
log
@
From: Michael Meskes <Michael_Meskes@@topmail.de>

+
+ Tue Feb 23 17:32:25 CET 1999
+
+       - Other than a struct a union itself cannot be specified as variable.
+
+ Fri Feb 26 07:18:25 CET 1999
+
+       - Synced preproc.y with gram.y.
+
+ Sat Feb 27 20:30:03 CET 1999
+
+       - Added automatic allocating for NULL pointers.
@
text
@d4 2
a5 2
MAJOR_VERSION=3
MINOR_VERSION=0
@


1.36
log
@
From: Michael Meskes <Michael_Meskes@@topmail.de>

+
+ Son Feb 21 14:10:47 CET 1999
+
+       - Fixed variable detection in libecpg.
+
+ Mon Feb 22 19:47:45 CET 1999
+
+       - Added 'at <db_connection>' option to all commands it is apllicable
+         to. Due to changing the API of some libecpg functions this
+         requires me to increase the major version number.
+       - Synced pgc.l with scan.l.
+       - Added support for unions.
+       - Set library version to 3.0.0
+       - Set ecpg version to 3.0.0
@
text
@d23 1
a23 1
	rm -f *.o core a.out ecpg$(X) *~
@


1.35
log
@
From: Michael Meskes <Michael_Meskes@@topmail.de>

See Changes file...
@
text
@d4 2
a5 2
MAJOR_VERSION=2
MINOR_VERSION=5
@


1.34
log
@
From: Michael Meskes <Michael.Meskes@@usa.net>

+ Tue Feb  2 07:40:52 CET 1999
+
+       - Brought preproc.y in sync again with gram.y.
+       - Set ecpg version to 2.4.9
+
@
text
@d5 2
a6 2
MINOR_VERSION=4
PATCHLEVEL=9
d10 1
a10 1
	-DINCLUDE_PATH=\"$(DESTDIR)$(HEADERDIR)\" 
d12 1
a12 1
OBJ=y.tab.o pgc.o type.o ecpg.o ecpg_keywords.o ../../../backend/parser/scansup.o \
d17 5
d23 1
a23 1
	rm -f *.o core a.out ecpg$(X) y.tab.h y.tab.c pgc.c *~
d39 1
a39 4
y.tab.h y.tab.c: preproc.y
	$(YACC) $(YFLAGS) $<

y.tab.o : y.tab.h ../include/ecpgtype.h keywords.c c_keywords.c ecpg_keywords.c
d41 4
a44 4
pgc.o : ../include/ecpgtype.h keywords.c c_keywords.c ecpg_keywords.c y.tab.h
keywords.o: ../include/ecpgtype.h y.tab.h
c_keywords.o: ../include/ecpgtype.h y.tab.h
ecpg_keywords.o: ../include/ecpgtype.h y.tab.h
@


1.33
log
@
From: Michael Meskes <Michael.Meskes@@usa.net>

+
+ Wed Jan 27 12:42:22 CET 1999
+
+       - Fixed bug that caused ecpg to lose 'goto' information.
+       - Set ecpg version to 2.4.7
+
+ Fri Jan 29 18:03:52 CET 1999
+
+       - Fixed bug that caused 'enum' to be rejected in pure C code.
+       - Fixed bug that caused function names to be translated to lower case.
+       - Set ecpg version to 2.4.8
+
@
text
@d6 1
a6 1
PATCHLEVEL=8
@


1.32
log
@Okay, I've updated the ecpg parser yet again. Unfortunately it has one
remaining shift/reduce conflict. But the very same conflict is in gram.y, so
I don't dig into it very much now.

Anyway, I just saw that there were minor changes made to ecpg by others. Now
I like that but I would prefer if I was told about that. Otherwise my
version numbering and Changelog maintaining might break. Or simply change
these too. :-)

Also I had to add #include <errno.h> to  backend/libpq/pqcomprim.c to be
able to compile postgresql.

Patch is attached. Since my resubscription process is still not finished
yet, I still send them here.

Michael
@
text
@d6 1
a6 1
PATCHLEVEL=6
@


1.31
log
@Apply Win32 patch from Horak Daniel.
@
text
@d6 1
a6 1
PATCHLEVEL=5
@


1.30
log
@
From: Michael Meskes <Michael.Meskes@@usa.net>

+
+Wed Dec  9 11:24:54 MEZ 1998
+
+       - Synced preproc.y with gram.y and the keywords.c files to add CASE
+         statement.
+
+Tue Dec 22 14:16:11 CET 1998
+
+       - Synced preproc.y with gram.y for locking statements.
+       - Set version to 2.4.5
@
text
@d18 1
a18 1
	rm -f *.o core a.out ecpg y.tab.h y.tab.c pgc.c *~
d21 1
a21 1
	$(INSTALL) $(INSTL_EXE_OPTS) ecpg $(DESTDIR)$(BINDIR)
@


1.29
log
@Here's a patch. It also includes the latest parser changes.

Michael
@
text
@d6 1
a6 1
PATCHLEVEL=4
@


1.28
log
@Changes from Michael Meskes:
Check strdup calls for out of memory.
Set library version to 2.6.2
Synced preproc.y and keywords.c with gram.y and keywords.c yet again.
Set version to 2.4.3
@
text
@d6 1
a6 1
PATCHLEVEL=3
@


1.27
log
@
From: Michael Meskes <meskes@@usa.net>

+ Mon Aug 31 09:40:04 CEST 1998
+
+       - Minor patch to Makefile
+       - Put pgc.l in sync with scan.l
+
+ Tue Sep  1 11:31:05 CEST 1998
+
+       - Fixed another bug in preproc.y
+
+ Thu Sep  3 12:21:16 CEST 1998
+
+       - Sync preproc.y with gram.y
+
+ Mon Sep 14 09:21:02 CEST 1998
+
+       - Sync preproc.y with gram.y yet again
+
+ Thu Sep 17 08:55:33 CEST 1998
+
+       - Synced preproc.y and gram.y one more time
+
+ Thu Sep 17 19:23:24 CEST 1998
+
+       - Added missing ; in preproc.y
+       - Set version to 2.4.2
@
text
@d6 1
a6 1
PATCHLEVEL=2
d29 4
@


1.26
log
@Fix for \z formatting from Tom Lane.
@
text
@d6 1
a6 1
PATCHLEVEL=1
@


1.25
log
@
From: Michael Meskes <meskes@@online-club.de>

+
+ Fri Aug 14 12:44:21 CEST 1998
+
+       - Added EXEC SQL DEFINE statement
+       - Set version to 2.4.0
+
+ Tue Aug 18 09:24:15 CEST 1998
+
+       - Removed keyword IS from DEFINE statement
+       - Added latest changes from gram.y
+       - Removed duplicate symbols from preproc.y
+       - Initialize sqlca structure
+       - Added check for connection to ecpglib
+       - Set version to 2.4.1
+
+ Thu Aug 20 15:31:29 CEST 1998
+
+       - Cleaned up memory allocation in ecpglib.c
+       - Set library version to 2.6
+
@
text
@d28 1
a28 1
	$(CC) -o ecpg $(OBJ) $(LEXLIB)
@


1.24
log
@
From: Dr. Michael Meskes <meskes@@online-club.de>

So this should finally get cursors working. There was an ugly bug in it.
@
text
@d5 2
a6 2
MINOR_VERSION=3
PATCHLEVEL=5
@


1.23
log
@
From: "Dr. Michael Meskes" <meskes@@online-club.de>

+ Thu Jul  2 20:30:14 CEST 1998
+
+       - Changed new style db name to allow connection types "tcp" and
+         "unix" only
+
+ Tue Jul  7 15:14:14 CEST 1998
+
+       - Fixed some bugs in preproc.y
+       - Set version to 2.3.4
@
text
@d6 1
a6 1
PATCHLEVEL=4
d10 1
a10 1
	-DINCLUDE_PATH=\"$(DESTDIR)$(HEADERDIR)\"
@


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

+ Wed Jun  3 13:38:57 CEST 1998
+
+       - Made sqlca struct compatible with other systems.
+       - Give back a warning in case of truncation
+       - Changed the handling of OptimizableStmt since the old one broke
+         CREATE RULE
+       - Set library version to 2.3
+       - Set version to 2.3.3
@
text
@d6 1
a6 1
PATCHLEVEL=3
@


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

+ Tue May 19 11:49:34 CEST 1998
+
+       - Tested (and fixed) 'set connection'
+       - Fixed string notation in C
+       - Set version to 2.3.2
@
text
@d6 1
a6 1
PATCHLEVEL=2
@


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

+
+ Wed May  6 16:09:45 CEST 1998
+
+       - Some more cleanups in the library.
+
+ Thu May  7 12:34:28 CEST 1998
+
+       - Made CONNECT and DISCONNECT statement more SQL3 compliant.
+       - Changed the API for the ECPGconnect function to be able to handle
+         hostnames and ports
+
+ Fri May  8 13:54:45 CEST 1998
+       - More changes to the parser. The connect statement now allows
+         ORACLE style logins.
+       - db-name is accepted in two ways:
+               - <dbname>[@@<server>][:<port>]
+               - esql:postgresql://<server>[:<port>][/<dbname>]
+
+ Mon May 11 10:28:37 CEST 1998
+
+       - Added '? options' to connect call.
+       - Also allow USING as keyword for the password
+
+ Thu May 14 15:09:58 CEST 1998
+
+       - Changed preproc.y and pgc.l according to the parser changes in the
+         backend.
+
+ Fri May 15 09:55:21 CEST 1998
+
+       - Added connection_name handling
+
+
+ Mon May 18 10:33:58 CEST 1998
+
+       - Fixed some more bugs
+       - Set version to 2.3.1
+       - Set library version to 2.2
@
text
@d6 1
a6 1
PATCHLEVEL=1
@


1.19
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
@d6 1
a6 1
PATCHLEVEL=0
@


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

And the next update. Now you can use only parts of a struct like this:

exec sql select a into :struct.string from foo;
@
text
@d5 1
a5 1
MINOR_VERSION=2
@


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

+ Thu Apr 23 09:27:16 CEST 1998
+
+       - Also allow call in whenever statement with the same functionality
+         as do.
+
+ Thu Apr 23 12:29:28 CEST 1998
+
+       - Also rewrote variable declaration part. It is now possible to
+         declare more than one variable per line.
+       - Set version to 2.1.0
+
+ Fri Apr 24 13:50:15 CEST 1998
+
+       - Fixed some bugs.
+       - Set version to 2.1.1
@
text
@d5 2
a6 2
MINOR_VERSION=1
PATCHLEVEL=1
@


1.16
log
@Upgrade ECPG to 2.0

Michael Meskes <meskes@@topsystem.de>
@
text
@d5 2
a6 2
MINOR_VERSION=0
PATCHLEVEL=0
@


1.15
log
@A few minor mods:

	gram.c updated
	scan.c updated
	ecpg/Makefile added LDFLAGS
	configure requires sfio for those systems with it installed...
@
text
@d4 2
a5 2
MAJOR_VERSION=1
MINOR_VERSION=1
d10 4
a13 1
	-DINCLUDE_PATH=\"$(HEADERDIR)\"
d21 1
a21 1
	$(INSTALL) $(INSTL_EXE_OPTS) ecpg $(BINDIR)
d24 1
a24 4
	rm -f $(BINDIR)/ecpg

dep depend:
	$(CC) -MM $(CFLAGS) *.c > depend
d27 2
a28 2
ecpg: y.tab.o pgc.o type.o ecpg.o ../lib/typename.o
	$(CC) -o ecpg y.tab.o pgc.o type.o ecpg.o ../lib/typename.o $(LEXLIB) $(LDFLAGS)
d33 1
a33 1
y.tab.o : y.tab.h ../include/ecpgtype.h
d35 5
a39 1
pgc.o : ../include/ecpgtype.h
@


1.14
log
@DESTDIR removed, again.
@
text
@d28 1
a28 1
	$(CC) -o ecpg y.tab.o pgc.o type.o ecpg.o ../lib/typename.o $(LEXLIB)
@


1.13
log
@Re-introduce $DISTDIR.
@
text
@d10 1
a10 1
	-DINCLUDE_PATH=\"$(DESTDIR)$(HEADERDIR)\"
d18 1
a18 1
	$(INSTALL) $(INSTL_EXE_OPTS) ecpg $(DESTDIR)$(BINDIR)
d21 1
a21 1
	rm -f $(DESTDIR)$(BINDIR)/ecpg
@


1.12
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
@d10 1
a10 1
	-DINCLUDE_PATH=\"$(HEADERDIR)\"
d18 1
a18 1
	$(INSTALL) $(INSTL_EXE_OPTS) ecpg $(BINDIR)
d21 1
a21 1
	rm -f $(BINDIR)/ecpg
@


1.11
log
@Remove DISTDIR.
@
text
@d23 3
@


1.10
log
@Here's my next patch to bring ecpg to version 1.1. It now correctly
handles all transaction commands and the exec sql include command.

Michael Meskes
@
text
@d10 1
a10 1
	-DINCLUDE_PATH=\"$(DESTDIR)$(HEADERDIR)\"
d18 1
a18 1
	$(INSTALL) $(INSTL_EXE_OPTS) ecpg $(DESTDIR)$(BINDIR)
d21 1
a21 1
	rm -f $(DESTDIR)$(BINDIR)/ecpg
@


1.9
log
@From: Darren King <darrenk@@insightdist.com>

This patch will...

1. Remove the "-Wall" option from the ecpg/lib and ecpg/preproc Makefile.

2. Remove the addition of $(SRCDIR)/include and-or $(SRCDIR)/backend from
   ecpg/lib, ecpg/preproc, libpq and utils Makefiles. Already in CFLAGS...

3. Set MK_NO_LORDER and RANLIB in Makefile.aix to avoid a couple of extra
   steps taken care of by the 'ld' command anyways.
@
text
@d5 1
a5 1
MINOR_VERSION=0
d8 3
a10 1
CFLAGS+=-I../include -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)
@


1.8
log
@+ Sat Feb 21 19:10:55 CET 1998
+
+       - use char[] as string not as array of bytes that is integers
+
+ Sun Feb 22 16:37:36 CET 1998
+
+       - use long for all size variables
+       - added execute immediate statement
+
+ Sun Feb 22 20:41:32 CET 1998
+
+       - use varcharsize = 1 for all simple types, 0 means pointer, > 1
+         means array if type is char resp. unsigned char
+
+ Thu Feb 24 12:26:12 CET 1998
+
+       - allow 'go to' in whenever statement as well as 'goto'
+       - new argument 'stop' for whenever statement

From: Michael Meskes <meskes@@topsystem.de>
@
text
@d8 1
a8 1
CFLAGS+=-I$(SRCDIR)/include -I../include -Wall -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)
@


1.7
log
@From: t-ishii@@sra.co.jp

Ok. I have decided to use:

#if defined(sun) && if defined(sparc) && !defined(__svr4)

instead of defined(sunos4).  interfaces/libpq/libpq-fe.h and
include/c.h have been modified(see included patches).

Another porblems I have found are:

o SunOS lacks strtoul(). to fix this I stole strtoul.c from FreeBSD
and place it under backend/port. necessary modifications have been
also made to backend/port/Makefile.in, include/config.h.in and
configure.in (see included patches).
@
text
@d8 1
a8 1
CFLAGS=-I$(SRCDIR)/include -I../include -Wall -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)
d13 1
a13 1
	rm -f *.o core a.out ecpg y.tab.h y.tab.c *~
d16 1
a16 1
	$(INSTALL) $(INSTLOPTS) ecpg $(DESTDIR)$(BINDIR)
d23 1
a23 1
	$(CC) -Wall -o ecpg y.tab.o pgc.o type.o ecpg.o ../lib/typename.o $(LEXLIB)
@


1.6
log
@Various fixes for ecpg to remove compiler dependency...

From: Darren King <darrenk@@insightdist.com>
@
text
@d8 1
a8 1
CFLAGS=-I../include -Wall -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)
@


1.5
log
@A few misc fixes brought up by Andrew
@
text
@a0 1
# Generated automatically from Makefile.in by configure.
d8 1
a8 1
CFLAGS=-I../include -O2 -g -Wall -DMAJOR_VERSION=$(MAJOR_VERSION) -DMINOR_VERSION=$(MINOR_VERSION) -DPATCHLEVEL=$(PATCHLEVEL)
d23 1
a23 1
	$(CC) -g -O2 -Wall -o ecpg y.tab.o pgc.o type.o ecpg.o ../lib/typename.o $(LEXLIB)
@


1.4
log
@Update the preprocessor code

From: Michael Meskes <meskes@@topsystem.de>
@
text
@d17 1
a17 1
	install -c -m 755 ecpg $(DESTDIR)$(BINDIR)
@


1.3
log
@Clean up Makefiles - shouldn't require configure *.in Makefiles, as they should
pull their data/info from Makefile.global
@
text
@d5 3
a7 3
MAJOR_VERSION=0
MINOR_VERSION=5
PATCHLEVEL=1
d14 1
a14 1
	rm -f *.o core a.out ecpg preproc.tab.h y.tab.c *~
@


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
@a8 6
CC=gcc
LEX=flex
LEXLIB=-lfl
YACC=/usr/bin/bison
YFLAGS=-y -d

@


1.1
log
@Erk, the whole directory structure changed on us here...
@
text
@d5 4
d15 1
a15 1
CFLAGS=-I../include -O2 -g -Wall
d23 1
a23 1
	install -c -m 755 ecpg $(BINDIR)
d26 1
a26 1
	rm -f $(BINDIR)/ecpg
d29 2
a30 2
ecpg: y.tab.o pgc.o type.o ecpg.o
	$(CC) -g -O2 -Wall -o ecpg y.tab.o pgc.o type.o ecpg.o -L../lib -lecpg $(LEXLIB)
@
