Source

pgdevel / src / Makefile.shlib

Author Commit Message Labels Comments Date
Bruce Momjian
Remove configure flag --disable-shared, as it is no longer used by any port. The last use was QNX, per Peter Eisentraut.
Bruce Momjian
Remove BSD/OS (BSDi) port. There are no known users upgrading to Postgres 9.2, and perhaps no existing users either.
Peter Eisentraut
Remove dead ports Remove the following ports: - dgux - nextstep - sunos4 - svr4 - ultrix4 - univel These are obsolete and not worth rescuing. In most cases, there is circumstantial evidence that they wouldn't work anymore anyway.
Tom Lane
Use single quotes in preference to double quotes for protecting pathnames. Per recommendation from Peter. Neither choice is bulletproof, but this is the existing style and it does help prevent unexpected environment variable substitution.
Tom Lane
Fix assorted issues with build and install paths containing spaces. Apparently there is no buildfarm critter exercising this case after all, because it fails in several places. With this patch, build, install, check-world, and installcheck-world pass for me on OS X.
Peter Eisentraut
Remove useless whitespace at end of lines
Peter Eisentraut
Improved parallel make support Replace for loops in makefiles with proper dependencies. Parallel make can now span across directories. Also, make -k and make -q work properly. GNU make 3.80 or newer is now required.
Magnus Hagander
Remove cvs keywords from all files.
Tom Lane
Still more third thoughts: when linking shared libraries, LDFLAGS probably needs to appear before anything placed in SHLIB_LINK. This is because SHLIB_LINK is typically a subset of LIBS, and LIBS has to appear after LDFLAGS on platforms that are sensitive to the relative order of -L and -l switches.
Tom Lane
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.
Peter Eisentraut
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.
Tom Lane
Make the .DEF file generation rules safe against tabs in exports.txt. Per bug #5016, although I think the MSVC build scripts may need a similar fix.
Peter Eisentraut
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…
Peter Eisentraut
Allow out-of-tree builds on mingw and cygwin Author: Richard Evans <richard.evans@blueallegro.net>
Peter Eisentraut
Append major version number and for libraries soname major version number to the gettext domain name, to simplify parallel installations. Also, rename set_text_domain() to pg_bindtextdomain(), because that is what it does.
Peter Eisentraut
Move FAQ_AIX information to installation instructions. The information on why the shared libraries are built the way they are was not relevant to end users and has been made a mailing list archive link in Makefile.shlib.
Peter Eisentraut
Synchronize the shared object build rules in Makefile.port with Makefile.shlib somewhat by adding CFLAGS where the compiler is used and Makefile.shlib already used CFLAGS.
Peter Eisentraut
On cygwin and win32, don't override the shlib name when building a module. Should fix regression test failures on those platforms.
Peter Eisentraut
Always define stlib, since some platforms need it for building modules. Should fix build failures on AIX.
Peter Eisentraut
Implement a few changes to how shared libraries and dynamically loadable modules are built. Foremost, it creates a solid distinction between these two types of targets based on what had already been implemented and duplicated in ad hoc ways before. Specifically, - Dynamically loadable modules no longer get a soname. The numbers previously set in the makefiles were dummy numbers anyway, and the presence of a soname upset a few packaging tools, so it is nicer not to have one. - The cumbersome detour taken on installation (build a libfoo.so.0.0.0 and then override the rule to install foo.so instead) is removed. - Lots of duplicated code simplified.
Peter Eisentraut
Don't build the win32 support files in the all target, only in distprep and when they are actually needed as prerequisites.
Peter Eisentraut
Reorganize some of the exports list generation code. It seems that this has been reinvented about four different times throughout history (aix, cygwin, win32, darwin/linux) and a lot of the concepts are actually shared, which the code now shows better.
Peter Eisentraut
Escape # character in variable assignment
Peter Eisentraut
Refactor the code that creates the shared library export files to appear only once in Makefile.shlib and not in four copies.
Bruce Momjian
Change $(CC) to $(COMPILER) on Solaris gcc so -m64 is passed into the shared link line.
Tom Lane
Fix another erroneous =-for-:= substitution.
Peter Eisentraut
Replace useless uses of := by = in makefiles.
Peter Eisentraut
Indent comments in makefiles better so they don't appear in the output.
Tom Lane
Fix shared library creation to work properly on AIX. Albe Laurenz
Tom Lane
Arrange to strip libpq.so of symbols that aren't officially supposed to be exported on Linux and Darwin. We already did this on Windows but that's not enough, as evidenced by the fact that libecpg had an unexpected dependency on one such symbol. We should try to do it on more platforms. Fix ecpg's oversight, and bump libpq's major .so version number to reflect the unwanted but nonetheless real ABI break.
  1. Prev
  2. 1
  3. 2
  4. 3
  5. 4
  6. 5
  7. Next