head	1.8;
access;
symbols
	REL9_0_0:1.8
	REL9_1_ALPHA1:1.8
	REL9_0_RC1:1.8
	REL9_0_BETA4:1.8
	REL9_0_STABLE:1.8.0.2
	REL9_0_BETA3:1.8
	REL9_0_BETA2:1.7
	REL7_4_29:1.4
	REL8_0_25:1.6
	REL8_1_21:1.6
	REL8_2_17:1.7
	REL8_3_11:1.7
	REL8_4_4:1.7
	REL9_0_BETA1:1.7
	REL9_0_ALPHA5_BRANCH:1.7.0.16
	REL9_0_ALPHA5:1.7
	REL7_4_28:1.4
	REL8_0_24:1.6
	REL8_1_20:1.6
	REL8_2_16:1.7
	REL8_3_10:1.7
	REL8_4_3:1.7
	REL9_0_ALPHA4:1.7
	REL9_0_ALPHA4_BRANCH:1.7.0.14
	REL8_5_ALPHA3:1.7
	REL8_5_ALPHA3_BRANCH:1.7.0.12
	REL7_4_27:1.4
	REL8_0_23:1.6
	REL8_1_19:1.6
	REL8_2_15:1.7
	REL8_3_9:1.7
	REL8_4_2:1.7
	REL8_5_ALPHA2:1.7
	REL8_5_ALPHA2_BRANCH:1.7.0.10
	REL7_4_26:1.4
	REL8_0_22:1.6
	REL8_1_18:1.6
	REL8_2_14:1.7
	REL8_3_8:1.7
	REL8_4_1:1.7
	REL8_5_ALPHA1:1.7
	REL8_5_ALPHA1_BRANCH:1.7.0.8
	REL8_4_STABLE:1.7.0.6
	REL8_4_0:1.7
	REL8_4_RC2:1.7
	REL8_4_RC1:1.7
	REL8_4_BETA2:1.7
	REL8_4_BETA1:1.7
	REL7_4_25:1.4
	REL8_0_21:1.6
	REL8_1_17:1.6
	REL8_2_13:1.7
	REL8_3_7:1.7
	REL7_4_24:1.4
	REL8_0_20:1.6
	REL8_1_16:1.6
	REL8_2_12:1.7
	REL8_3_6:1.7
	REL7_4_23:1.4
	REL8_0_19:1.6
	REL8_1_15:1.6
	REL8_2_11:1.7
	REL8_3_5:1.7
	REL7_4_22:1.4
	REL8_0_18:1.6
	REL8_1_14:1.6
	REL8_2_10:1.7
	REL8_3_4:1.7
	REL7_4_21:1.4
	REL8_0_17:1.6
	REL8_1_13:1.6
	REL8_2_9:1.7
	REL8_3_3:1.7
	REL7_4_20:1.4
	REL8_0_16:1.6
	REL8_1_12:1.6
	REL8_2_8:1.7
	REL8_3_2:1.7
	REL8_2_7:1.7
	REL8_3_1:1.7
	REL8_3_STABLE:1.7.0.4
	REL8_3_0:1.7
	REL8_3_RC2:1.7
	REL7_4_19:1.4
	REL8_0_15:1.6
	REL8_1_11:1.6
	REL8_2_6:1.7
	REL8_3_RC1:1.7
	REL8_3_BETA4:1.7
	REL8_3_BETA3:1.7
	REL8_3_BETA2:1.7
	REL8_3_BETA1:1.7
	REL7_4_18:1.4
	REL8_0_14:1.6
	REL8_1_10:1.6
	REL8_2_5:1.7
	REL7_4_17:1.4
	REL8_0_13:1.6
	REL8_1_9:1.6
	REL8_2_4:1.7
	REL8_0_12:1.6
	REL8_1_8:1.6
	REL8_2_3:1.7
	REL7_4_16:1.4
	REL8_0_11:1.6
	REL8_1_7:1.6
	REL8_2_2:1.7
	REL8_0_10:1.6
	REL8_1_6:1.6
	REL8_2_1:1.7
	REL7_4_15:1.4
	REL8_2_STABLE:1.7.0.2
	REL8_2_0:1.7
	REL8_2_RC1:1.7
	REL8_2_BETA3:1.7
	REL8_2_BETA2:1.7
	REL8_1_5:1.6
	REL8_0_9:1.6
	REL7_4_14:1.4
	REL8_2_BETA1:1.7
	REL7_4_13:1.4
	REL8_0_8:1.6
	REL8_1_4:1.6
	REL7_4_12:1.4
	REL8_0_7:1.6
	REL8_1_3:1.6
	REL7_4_11:1.4
	REL8_0_6:1.6
	REL8_1_2:1.6
	REL7_4_10:1.4
	REL8_0_5:1.6
	REL8_1_1:1.6
	REL8_1_STABLE:1.6.0.6
	REL8_1_0:1.6
	REL8_1_0RC1:1.6
	REL8_1_0BETA4:1.6
	REL8_1_0BETA3:1.6
	REL7_4_9:1.4
	REL8_0_4:1.6
	REL8_1_0BETA2:1.6
	REL8_1_0BETA1:1.6
	REL7_4_8:1.4
	REL8_0_3:1.6
	REL8_0_2:1.6
	REL7_4_7:1.4
	REL8_0_1:1.6
	REL8_0_STABLE:1.6.0.4
	REL8_0_0:1.6.0.2
	REL8_0_0RC5:1.6
	REL8_0_0RC4:1.6
	REL8_0_0RC3:1.6
	REL8_0_0RC2:1.6
	REL8_0_0RC1:1.6
	REL8_0_0BETA5:1.6
	REL8_0_0BETA4:1.4
	REL7_4_6:1.4
	REL8_0_0BETA3:1.4
	REL8_0_0BETA2:1.4
	REL7_4_5:1.4
	REL7_4_4:1.4
	REL8_0_0BETA1:1.4
	REL7_4_3:1.4
	REL7_4_2:1.4
	REL7_4_1:1.4
	REL7_4:1.4
	REL7_4_RC2:1.4
	REL7_4_STABLE:1.4.0.2
	REL7_4_RC1:1.4
	REL7_4_BETA5:1.4
	REL7_4_BETA4:1.1
	REL7_4_BETA3:1.1
	REL7_4_BETA2:1.1
	WIN32_DEV:1.1.0.2
	REL7_4_BETA1:1.1;
locks; strict;
comment	@# @;


1.8
date	2010.07.05.18.54.38;	author tgl;	state Exp;
branches;
next	1.7;

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

1.6
date	2004.11.17.17.46.24;	author tgl;	state Exp;
branches;
next	1.5;

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

1.4
date	2003.10.09.14.40.36;	author momjian;	state Exp;
branches;
next	1.3;

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

1.2
date	2003.10.09.02.37.09;	author momjian;	state Exp;
branches;
next	1.1;

1.1
date	2003.03.21.17.18.34;	author petere;	state Exp;
branches;
next	;


desc
@@


1.8
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
@# $PostgreSQL: pgsql/src/template/cygwin,v 1.7 2006/03/11 04:38:40 momjian Exp $

SRCH_LIB="/usr/local/lib"

# --allow-multiple-definition is required to link pg_dump because it finds
# pg_toupper() in both libpq and pgport
# --enable-auto-import gets rid of a diagnostics linker message
LDFLAGS="-Wl,--allow-multiple-definition -Wl,--enable-auto-import"
@


1.7
log
@Add CVS tag lines to files that were lacking them.
@
text
@d1 1
a1 1
# $PostgreSQL: pgsql/src/backend/utils/misc/guc.c,v 1.314 2006/03/07 02:54:23 momjian Exp $
d5 3
a7 2
# This is required to link pg_dump because it finds pg_toupper() in
# libpq and pgport
a8 2
# --enable-auto-import gets rid of a diagnostics linker message
LDFLAGS_SL="-Wl,--enable-auto-import"
@


1.6
log
@Miscellaneous Cygwin build fixes from Reini Urban.
@
text
@d1 2
@


1.5
log
@Allow win32/cygwin link against the first matching library symbol rather
than erroring out.  This is the Unix behavior.
@
text
@d5 3
a7 2
LDFLAGS="-Wl,--allow-multiple-definition"

@


1.4
log
@Make template CFLAGS handling consistent.
@
text
@d2 5
@


1.3
log
@This centralizes the optimization defaults into configure.in, rather
than having CFLAGS= in the template files.

It uses -O2 for gcc (generated by autoconf), and -O for non-gcc, unless
the template overrides it.
@
text
@d1 1
a1 1
SRCH_LIB='/usr/local/lib'
@


1.2
log
@Add quotes to CFLAG define.
@
text
@a0 1
CFLAGS='-O2'
@


1.1
log
@Make "win" a separate port from "cygwin".  This means you can now
configure under native Windows (MinGW that is), but you won't get very far
compiling yet.  The dynaloader files are from Jan Wieck's patch set.
@
text
@d1 2
a2 2
CFLAGS=-O2
SRCH_LIB=/usr/local/lib
@

