- Apr 24, 2012
-
-
Robert Haas authored
Josh Kupershmidt
-
- Feb 02, 2012
-
-
Peter Eisentraut authored
Further improve on commit c75e1436. Instead of building both .o files and binaries in the same make rule, just rely on the normal .c -> .o rule. This will ensure that dependency tracking is used when enabled. To do this, disable the implicit direct .c -> binary rule globally, which will also prevent the original problem (*.dSYM junk) from reappearing elsewhere.
-
- Jul 03, 2011
-
-
Tom Lane authored
Certain subdirectories do not get built if corresponding options are not selected at configure time. However, "make distprep" should visit such directories anyway, so that constructing derived files to be included in the tarball happens without requiring all configure options to be given in the tarball build script. Likewise, it's better if cleanup actions unconditionally visit all directories (for example, this ensures proper cleanup if someone has done a manual make in such a subdirectory). To handle this, set up a convention that subdirectories that are conditionally included in SUBDIRS should be added to ALWAYS_SUBDIRS instead when they are excluded. Back-patch to 9.1, so that plpython's spiexceptions.h will get provided in 9.1 tarballs. There don't appear to be any instances where distprep actions got missed in previous releases, and anyway this fix requires gmake 3.80 so we don't want to apply it before 9.1.
-
- Jun 16, 2011
-
-
Tom Lane authored
Per recommendation from Peter. Neither choice is bulletproof, but this is the existing style and it does help prevent unexpected environment variable substitution.
-
- Jun 14, 2011
-
-
Tom Lane authored
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.
-
- Apr 15, 2011
-
-
Peter Eisentraut authored
Also refactor things a little bit so that the same methods for setting test locale and encoding can be used everywhere.
-
- Mar 28, 2011
-
-
Peter Eisentraut authored
This can do various source code checks that are not appropriate for either the build or the regression tests. Currently: duplicate_oids, SGML syntax and tabs check, NLS syntax check.
-
- Feb 15, 2011
-
-
Peter Eisentraut authored
Also add make check-world target, and refactor pg_regress invocation code in makefiles a bit.
-
- Jan 24, 2011
-
-
Robert Haas authored
This is still pretty rough - among other things, the documentation needs work, and the messages need a visit from the style police - but this gets the basic framework in place. KaiGai Kohei
-
- Dec 26, 2010
-
-
Andrew Dunstan authored
-
- Nov 23, 2010
-
-
Peter Eisentraut authored
-
- Nov 15, 2010
-
-
Tom Lane authored
... based on further tracing through that code.
-
- Nov 14, 2010
-
-
Tom Lane authored
3.80 breaks if the expansion of $(eval) is long enough to require expansion of its internal variable_buffer. For the purposes of $(recurse) that means it'll work so long as no single evaluation of _create_recursive_target produces more than 195 bytes. We can manage that by looping over subdirectories outside the call instead of complicating the generated rule. This coding is simpler and more readable anyway. Or at least, this works for me. We'll see if the buildfarm likes it.
-
- Nov 12, 2010
-
-
Peter Eisentraut authored
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.
-
- Sep 20, 2010
-
-
Magnus Hagander authored
-
- Aug 24, 2010
-
-
Peter Eisentraut authored
files automatically. Otherwise, the following could happen: When starting from a clean source tree, the first build would delete the intermediate file, but also create the dependency file, which mentions the intermediate file, thus making it non-intermediate. The second build will then need to rebuild the now non-intermediate missing file. So the second build will do work even though nothing had changed. One place where this happens is the .c -> .o -> .so chain for some contrib modules.
-
- Jul 07, 2010
-
-
Tom Lane authored
flag for src/port/ in front of any -L flags placed in LDFLAGS by configure. This undoes an L-flag-ordering change that I had thought would be safe, but seems to be making at least one buildfarm member fail --- the only theory for orca's failure that I can think of is that it's got an old copy of libpgport.a in /usr/lib. Also allow for LDFLAGS_SL to be set by contrib makefiles before they invoke Makefile.global.
-
- Jul 05, 2010
-
-
Tom Lane authored
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.
-
- May 13, 2010
-
-
Peter Eisentraut authored
-
- Mar 24, 2010
-
-
Andrew Dunstan authored
Mark "installcheck-parallel", "world", "install-world" and "installcheck-world" make targets as PHONY. Fujii Masao.
-
- Dec 15, 2009
-
-
Peter Eisentraut authored
Behaves more or less unchanged compared to Python 2, but the new language variant is called plpython3u. Documentation describing the naming scheme is included.
-
- Nov 03, 2009
-
-
Peter Eisentraut authored
-
- Aug 27, 2009
-
-
Peter Eisentraut authored
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).
-
- Aug 10, 2009
-
-
Peter Eisentraut authored
Documentation files in HTML and man formats are now prepared for distribution using the distprep make target, like everything else. They are placed in doc/src/sgml/html and manX and installed from there by make install, if present. The business with the tarballs in the tarball is gone.
-
- Aug 07, 2009
-
-
Peter Eisentraut authored
Test coverage support now covers the entire source tree, including contrib, instead of just src/backend. In a related but independent development, the commands make coverage and make coverage-html can be run in any directory. This turned out to be much easier than feared. Besides a few ad hoc fixes to pass the make target down the tree, change all affected makefiles to list their directories in the SUBDIRS variable, changed from variants like DIRS and WANTED_DIRS. MSVC build fix was attempted as well.
-
- Aug 05, 2009
-
-
Peter Eisentraut authored
This switches the man page building process to use the DocBook XSL stylesheet toolchain. The previous targets for Docbook2X are removed. configure has been updated to look for the new tools. The Documentation appendix contains the new build instructions. There are also a few isolated tweaks in the documentation to improve places that came out strangely in the man pages.
-
- Jun 23, 2009
-
-
Tom Lane authored
used to work as intended, but got broken some time ago (a quoted empty string is not an empty string), and got broken some more by the changes to generate ecpg's preproc.y automatically. Given all the unprotected uses of $(PERL) elsewhere, it seems best to make use of the $(missing) script rather than trying to ensure each such use is protected individually. Also fix various bits of documentation that omitted to mention Perl as a requirement for building from a CVS pull. Per a complaint from Robert Haas.
-
- Feb 19, 2009
-
-
Peter Eisentraut authored
I occasionally use this for debugging, and it seems wasteful to have to reinvent this all the time.
-
- Jan 22, 2009
-
-
Peter Eisentraut authored
way pg_config.h is handled. This avoids reruns of config.status on every build, if configure has been rerun.
-
- Jan 05, 2009
-
-
Peter Eisentraut authored
when --with-system-tzdata is not used. initial patch by Richard Evans
-
Peter Eisentraut authored
of pwd vs. pwd -W is correctly a function of the build system, not the host system.
-
- Dec 11, 2008
-
-
Peter Eisentraut authored
to the gettext domain name, to simplify parallel installations. Also, rename set_text_domain() to pg_bindtextdomain(), because that is what it does.
-
- Dec 07, 2008
-
-
Peter Eisentraut authored
Plus some makefile cleanup. part of a patch from Richard Evans
-
- Nov 26, 2008
-
-
Peter Eisentraut authored
page build target. This covers from-source, Debian, and Fedora installation variants.
-
- Nov 14, 2008
-
-
Peter Eisentraut authored
another section if required by the platform (instead of the old way of building them in section "l" and always transforming them to the platform-specific section). This speeds up the installation on common platforms, and it avoids some funny business with the man page tools and build process.
-
- Oct 29, 2008
-
-
Peter Eisentraut authored
This basically takes some build system code that was previously labeled "Solaris" and ties it to the compiler rather than the operating system. Author: Julius Stroffek <Julius.Stroffek@Sun.COM>
-
- Oct 03, 2008
-
-
Peter Eisentraut authored
changes. Add some documenting comments.
-
- Sep 05, 2008
-
-
Peter Eisentraut authored
chapter. Author: Michelle Caisse <Michelle.Caisse@Sun.COM>
-
- Aug 29, 2008
-
-
Peter Eisentraut authored
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.
-
- Feb 17, 2008
-
-
Peter Eisentraut authored
- Change configure.in to use Autoconf 2.61 and update generated files. - Update build system and documentation to support now directory variables offered by Autoconf 2.61. - Replace usages of PGAC_CHECK_ALIGNOF by AC_CHECK_ALIGNOF, now available in Autoconf 2.61. - Drop our patched version of AC_C_INLINE, as Autoconf now has the change.
-