summaryrefslogtreecommitdiff
path: root/src/Makefile.shlib
Commit message (Collapse)AuthorAgeFilesLines
* Fix up makefile dependencies for pg_config_paths.h.Tom Lane2004-11-201-3/+3
|
* Clean up rpath handling for HPUX --- we can't use the cc-style rpathTom Lane2004-11-191-3/+9
| | | | switch syntax when calling ld directly.
* Adjust SHLIB_LINK for cygwin case.Tom Lane2004-11-171-2/+2
| | | | Reini Urban
* Suppress duplicate rules for lib$(NAME).a on WIN32 and Cygwin.Tom Lane2004-11-161-1/+5
| | | | Andrew Dunstan
* Export only required symbols in libpq on Win32.Bruce Momjian2004-10-161-1/+13
| | | | Magnus Hagander
* > This lets you do something like:Bruce Momjian2004-10-151-4/+4
| | | | | | | | | > > ./configure LDFLAGS=-static-libgcc LDFLAGS_SL=-static-libgcc > > to produce binaries that do not depend on libgcc_s.so at all. Oliver Jowett
* Allow compiles for Cygwin /contrib modules.Bruce Momjian2004-10-131-1/+3
| | | | Reini Urban
* Enable static lib builds on Win32 and Cygwin.Bruce Momjian2004-10-131-7/+1
|
* Update Cygwin build to not use DLLINIT, per Cygwin report from ReiniBruce Momjian2004-10-121-6/+3
| | | | Urban
* Fix vpath build break, induced by Bruce's recent commit.Neil Conway2004-10-121-3/+3
|
* Add some pg_config_path.h dependencies for places that includeBruce Momjian2004-10-121-3/+3
| | | | pg_config_paths.h outside of /src/port.
* Tweak HPUX shared-library build flags, per Shinji Teragaito.Tom Lane2004-10-081-3/+3
|
* Fix shared library linking operations to work properly on all (or atTom Lane2004-09-021-2/+6
| | | | | least more) combinations of HP-UX hardware, compiler, and linker. Shinji Teragaito and Tom Lane.
* Cause libpq and ecpg libraries to be built as proper shared librariesTom Lane2004-07-131-55/+61
| | | | | | | | | | | | (.dylib format) on Mac OS X, while not messing up loadable modules for the backend (which are the same kind of animal as a shared library on every other platform, but not here). Also get the naming convention to match OS X practice, viz libFOO.version.so not libFOO.so.version. In support of that last, refactor code in Makefile.shlib to make it easier to have platform-specific shlib naming conventions. This patch is loosely based on the Fink project's current postgresql.patch. Tested by yours truly on OS X 10.3.4; does anyone have 10.2.* to check it on?
* Rename irix5 port to irix.Bruce Momjian2004-05-191-2/+2
|
* Here's a patch that will allow external modules like pl<lang> to setBruce Momjian2004-05-121-7/+13
| | | | | | | | additional flags for the dlltool and dllwrap commands. More info here: http://archives.postgresql.org/pgsql-hackers/2004-05/msg00350.php Thomas Hallgren
* Win32 patch for Makefile.shlibBruce Momjian2003-12-011-1/+24
| | | | Claudio Natoli
* $Header: -> $PostgreSQL Changes ...PostgreSQL Daemon2003-11-291-1/+1
|
* When building shared libraries on HPUX with gcc, forcibly include -lgccTom Lane2003-10-201-1/+4
| | | | | | | | | to ensure any needed compiler support routines are included. This is arguably appropriate on *every* gcc platform, but for the moment I'll take the conservative approach of only doing it on a platform where it's provably useful. Per complaint from Heiko Lehmann, 13-Feb-03, as well as personal experience --- contrib/pgstattuple has never worked for me, but it does now.
* Adjust Darwin build to use the default 'two level namespace' linkingTom Lane2003-09-271-2/+2
| | | | | | | | method. Fix a number of places where shared libraries were linked without mentioning all the libraries they depend on; the Darwin and AIX ports are known to require this, and it doesn't seem to hurt any other supported platforms. (Hence, remove code in pl/tcl makefile that tried to avoid mentioning other libs if not needed.)
* Apply ranlib(1) after installing a static (.a) library on Darwin.Tom Lane2003-09-201-1/+5
| | | | Per past complaints --- verified to still be a problem on OS X 10.2.6.
* Since I haven't gotten a reply, can someone REVERT the lines inBruce Momjian2003-09-141-2/+2
| | | | | | | src/Makefile.shlib that adds $(libdir)/$(soname) for port,eq,unixware to $(soname)? Larry Rosenman
* Here is a patch to make PostgreSQL use a full path in DT_SONAME forBruce Momjian2003-09-101-2/+2
| | | | | | UnixWare. Larry Rosenman
* Make "win" a separate port from "cygwin". This means you can nowPeter Eisentraut2003-03-211-11/+11
| | | | | 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.
* Cause symlinks for shared-library versioning to run in the standardTom Lane2003-01-111-4/+3
| | | | | | direction on HP-UX; our former approach has been obsolete since HPUX 9. Giles Lean
* > > > > and mb conversions (pg_ascii2mic and pg_mic2ascii notBruce Momjian2002-10-091-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | > > > > found in the postmaster and not included from elsewhere) > > > > shared libs on AIX need to be able to resolve all symbols at linkage time. > > Those two symbols are in backend/utils/SUBSYS.o but not in the postgres > > executable. > > They are defined in backend/utils/mb/conv.c and declared in > include/mb/pg_wchar.h. They're also linked into the > postmaster. I don't see anything unusual. Attached is a patch to fix the mb linking problems on AIX. As a nice side effect it reduces the duplicate symbol warnings to linking libpq.so and libecpg.so (all shlibs that are not postmaster loadable modules). Please apply to current (only affects AIX). The _LARGE_FILES problem is unfortunately still open, unless Peter has fixed it per his recent idea. Zeugswetter Andreas SB SD
* Assorted fixes for Cygwin:Peter Eisentraut2002-09-051-3/+3
| | | | | | | | | | | | | | | | | Eliminate the mysterious games that the Cygwin build plays with the linker flag variables. DLLLIBS is gone, use SHLIB_LINK like everyone else. Detect cygipc in configure, after the linker flags are set up, otherwise configure might not work at all. Make sure everything is covered by make clean. Fix the build of the new conversion procedure modules. Add new DLLIMPORT markers where required. Finally, the compiler complains if we use an explicit -I/usr/local/include, so don't do that. Curiously, -L/usr/local/lib is still necessary.
* Remove leftovers from subproject removals. Fixes for Python and KerberosPeter Eisentraut2002-09-041-69/+11
| | | | configuration.
* Avoid multiple scans of utils/mb/conversion_procs/ subdirectories duringTom Lane2002-09-041-3/+8
| | | | | | | 'make install'; there are enough of 'em that this slowed down the make noticeably. Ensure that 'all' is the default make target in all these directories (defaulting to 'make install' is surprising and dangerous IMHO). Fix a couple small typos.
* AIX shlib fix for building libpq.so from Tomoyuki NiijimaBruce Momjian2002-09-031-2/+2
|
* Assemble portability modules into libpgport library.Peter Eisentraut2002-07-271-2/+2
| | | | Some makefile simplifications.
* Move few remaining src/utils files to backend/port so everything is inBruce Momjian2002-07-161-5/+5
| | | | | | one place. Everything may be moved to src/utils eventually. Add DLLINIT variable to simplify makfiles.
* Change PL/Tcl build to use configured compiler and Makefile.shlibPeter Eisentraut2002-05-241-2/+5
| | | | | | | | | | system, not Tcl-provided one. Make sure export file, if any, is cleaned. Tcl configuration is now read directly in configure and recorded in Makefile.global. This eliminates some duplicate efforts and allows for easier hand-editing of the results, if necessary.
* Add make install-strip target.Peter Eisentraut2002-04-101-2/+2
|
* Fix for compiling libpq++ on Solaris with Sun SPRO6U2.Bruce Momjian2001-11-111-2/+2
| | | | Denis A Ustimenko
* Fix shared library builds for MacOS X.Peter Eisentraut2001-10-051-2/+2
|
* Provide some initial support for building the ODBC driver forPeter Eisentraut2001-09-221-1/+2
| | | | | | | | an already installed iODBC or unixODBC driver manager. In particular, use the include files provided by the driver manager over our own, and use the odbcinst library of the driver manager rather than gpps.c. Migrate portability sections common to several files into psqlodbc.h.
* Use gcc -shared rather than gcc -G for shared library linking on Solaris.Peter Eisentraut2001-09-111-3/+14
| | | | suggested by Bob Deblier (bob@virtualunlimited.com)
* Shared libraries should not be linked explicitly against -lc on FreeBSDPeter Eisentraut2001-06-201-2/+1
| | | | | (see http://mail.gnu.org/pipermail/libtool/2000-July/001824.html). But apparently it should still be present with -Bsymbolic.
* Shared library and GCC support for SCO OpenServer.Peter Eisentraut2001-05-071-1/+19
|
* Add LDFLAGS_SL to AIX shlib building command, per report fromTom Lane2001-04-151-2/+2
| | | | Rocco Altier <roccoa@routescape.com>.
* The following patch updates the FAQ_AIX and makes C++ code work withBruce Momjian2001-03-271-2/+2
| | | | | | | | | | | | | | | | | | more recent versions of the IBM C++ compiler (now called VisualAge C++). The C++ part was previously broken (g++ and xlC), thus this is zero risk. Only AIX specific parts are touched (1 Makefile.shlib line (link with $(COMPILER ) instead of $(CC) and one shell script line (parameter -C to nm to not demangle C++ symbo ls for .exp file)). I thus ask you to please apply this patch before release. With or without this patch RC1 on AIX 4.3.2 RS6000 passes "gmake check" for both the native compiler vac.C 5.0.1 and gcc 2.95.2 :-) Andreas
* Move -Bsymbolic for HPUX to Makefile.hpux, per Peter E's recommendation.Tom Lane2001-03-141-2/+2
|
* Turns out the HPUX linker likes -Bsymbolic too. Without this, ODBCTom Lane2001-03-101-2/+2
| | | | | driver does not work because its internal cross-references get bound to similarly named functions in unixODBC shared library.
* Massive commits for SunOS4 port.Tatsuo Ishii2001-02-271-1/+6
|
* Make sure -L and -I's for our source tree are always before system includePeter Eisentraut2001-02-201-5/+2
| | | | or library directories on the command line.
* move commentBruce Momjian2001-02-101-7/+8
|
* Add comment about linker/compiler on bsd.Bruce Momjian2001-02-101-1/+7
|
* Fix -Bsymbolic for FreeBSD and OpenBSD. NetBSD already had all these fixes.Bruce Momjian2001-02-101-5/+7
|
* Repair BSD/OS shared library fixes.Peter Eisentraut2001-02-101-2/+3
|