summaryrefslogtreecommitdiff
path: root/src/Makefile.global.in
Commit message (Collapse)AuthorAgeFilesLines
* New unified regression test driver, test/regress makefile cleanup,Peter Eisentraut2000-09-291-3/+6
| | | | | add "check" and "installcheck" targets, straighten out make variable naming of host_os, host_cpu, etc.
* Fixes for Cygwin, with help from Pete Forman <gsez020@kryten.bedford.waii.com>.Peter Eisentraut2000-09-271-1/+2
| | | | | | | Update the installation instructions (formerly misnamed "FAQ"), add configure checks for some headers rather than having users copy stubs manually (ugh!). Use Autoconf check for exe extension. This also avoids inheriting the value of $(X) from the environment.
* Revise Tcl/Tk configuration. Make missing Tcl after --with-tcl an error,Peter Eisentraut2000-09-251-10/+4
| | | | | | | add --without-tk option to disable Tk. We don't need the AC_PATH_XTRA test because tkConfig.sh already contains all the information about how to compile and link with X. Also make sure that libpq is up to date for libpgtcl. Remove executable bits from pgaccess.sh, but add it to pgaccess.
* Replace brain-dead Autoconf macros AC_ARG_{ENABLE,WITH} with somethingPeter Eisentraut2000-09-211-1/+4
| | | | | | | that's actually useful, robust, consistent. Better plan to generate aclocal.m4 as well: use m4 include directives, rather than cat.
* Make building scripts kind of consistent in look and feel, kind of immunePeter Eisentraut2000-09-081-2/+7
| | | | to parallel make, kind of resistent to corruption due to incomplete builds.
* Fix relative path references so that make knowns which dependencies referPeter Eisentraut2000-08-311-69/+22
| | | | | to one another. Sort out builddir vs srcdir variable namings. Remove some now obsoleted make variables.
* New configure test for flex, which recognizes only flex but does so in allPeter Eisentraut2000-08-281-2/+4
| | | | | | 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.
* maintainer-clean and distclean ought to remove dependency information as well.Peter Eisentraut2000-07-221-2/+2
|
* Add distprep target to take some of the job of the release_prep script.Peter Eisentraut2000-07-191-2/+21
| | | | | | | | | | | | | 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.
* End users shouldn't have to invoke a separate command to install thePeter Eisentraut2000-07-171-2/+2
| | | | | | | | documentation. Therefore it's now installed by default. If there is no documentation to be found (i.e., you are not using the distribution) then this step is skipped. Add --docdir option to configure to control installation directory.
* Automatic dependency trackingPeter Eisentraut2000-07-161-1/+69
| | | | | The .DEFAULT rule in backend/Makefile is harmful -- removed. Replace `::' rules by `:'.
* Another round of those unportable config/build changes :-/Peter Eisentraut2000-07-091-18/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add option to build with OpenSSL out of the box. Fix thusly exposed bit rot. Although it compiles now, getting this to do something useful is left as an exercise. * Fix Kerberos options to defer checking for required libraries until all the other libraries are checked for. * Change default odbcinst.ini and krb5.srvtab path to PREFIX/etc. * Install work around for Autoconf's install-sh relative path anomaly. Get rid of old INSTL_*_OPTS variables, now that we don't need them anymore. * Use `gunzip -c' instead of g?zcat. Reportedly broke on AIX. * Look for only one of readline.h or readline/readline.h, not both. * Make check for PS_STRINGS cacheable. Don't test for the header files separately. * Disable fcntl(F_SETLK) test on Linux. * Substitute the standard GCC warnings set into CFLAGS in configure, don't add it on in Makefile.global. * Sweep through contrib tree to teach makefiles standard semantics. ... and in completely unrelated news: * Make postmaster.opts arbitrary options-aware. I still think we need to save the environment as well.
* Version number now set in configure, available through Makefile.globalPeter Eisentraut2000-07-021-1/+4
| | | | | | | | | | and config.h. Adjusted all referring code. Scrapped pg_version and changed initdb accordingly. Integrated src/utils/version.c into src/backend/utils/init/miscinit.c. Changed all callers. Set version number to `7.1devel'. (Non-numeric version suffixes now allowed.)
* We don't need config.status substituting anything into Gen_fmgrtab.sh, wePeter Eisentraut2000-07-011-1/+2
| | | | just pass in CPP and AWK via the environment from the Makefile.
* A little bit of clean-up/bug fix in Tcl build. Handle gracefully casesPeter Eisentraut2000-07-011-1/+3
| | | | where someone wants to build these but hasn't configured for Tcl.
* Makefile cleanup for interface tree. Now essentially with all thePeter Eisentraut2000-06-281-2/+13
| | | | | | | | | | | | | | | | | | | | | 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.
* Makefile cleanup for bin and pl subtrees. They should now supportPeter Eisentraut2000-06-271-27/+56
| | | | | all the standard semantics. Also get rid of Makefile.in's on the way and instead declare all variables in Makefile.global.
* Integrated ODBC driver into regular build. No more standalone business,Peter Eisentraut2000-06-191-5/+1
| | | | | which didn't work anyway. Had to back out unixodbc related patch which broke the regular ODBC build.
* Remove fmgrstamp-h business -- not needed and confusingPeter Eisentraut2000-06-171-36/+4
| | | | | Add options to configure to automatically build for Kerberos support; no more editing of make files.
* /contrib patch from Karel.Bruce Momjian2000-06-151-1/+3
|
* Substituted new configure test for types of accept()Peter Eisentraut2000-06-111-21/+5
| | | | | | | | | | | Interfaced a lot of the custom tests to the config.cache, in the process made them separate macros and grouped them out into files. Made naming adjustments. Removed a couple of useless/unused configure tests. Disabled C++ by default. C++ is no more special than Perl, Python, and Tcl. And it breaks equally often. :(
* Moved the intricacies of the perl interface build into its own makefilePeter Eisentraut2000-06-101-14/+1
| | | | | | | | | | | | | | | | | | that now functions as a wrapper around the MakeMaker stuff. It might even behave sensically when we have separate build dirs. Same for plperl, which of course still doesn't work very well. Made sure that plperl respects the choice of --libdir. Added --with-python to automatically build and install the Python interface. Works similarly to the Perl5 stuff. Moved the burden of the distclean targets lower down into the source tree. Eventually, each make file should have its own. Added automatic remaking of makefiles and configure. Currently only for the top-level because of a bug(?) in Autoconf. Use GNU `missing' to work around missing autoconf and aclocal. Start factoring out macros into their own config/*.m4 files to increase readability and organization.
* Generated header files parse.h and fmgroids.h are now copied intoTom Lane2000-05-291-2/+2
| | | | | the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
* Update kerberos patchBruce Momjian2000-05-271-7/+7
|
* Back out kerberos changes. Causes compile problems.Bruce Momjian2000-05-271-7/+7
|
* Patch for Kerberos V.Bruce Momjian2000-05-271-7/+7
| | | | | | | | | | | | Most (nearly all) of the work was done by David Wragg <dpw@doc.ic.ac.uk> He patched 6.5.3. I've updated it for 7.0RC5. It works for MIT kerberos 1.1.1 (and previously for 1.0.6 as well). I've got the patch against 6.5.3, plus kerberized RPMS. Mike Wyer <mw@doc.ic.ac.uk> || "Woof?"
* Transmit -I switches selected by configure (particularly those fromTom Lane2000-05-231-1/+2
| | | | | | --with-includes) to makefiles for pltcl and plperl, so that these switches will be used even though we do not want other top-level CFLAGS. Ain't it fun trying to support multiple-compiler platforms?
* fixed another psql \e bug (handle newlines as whitespace)Peter Eisentraut2000-04-141-2/+2
| | | | | | repaired psql option scanning bug (special treatment to \g |pipe) fixed ipcclean makefile made configure look for Perl to handle psql help build gracefully
* I have tested the beta3 on WinNT and here are the results:Bruce Momjian2000-03-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | - I was unable to compile ecpg due to the ":=" instead of "=" in defining LIBPQDIR and some other variables in Makefile.global.in - pg_id (and also pg_encoding) executable was not removed during "make clean" - there was no $(X) appended to the executable name for rm - I have added result for int2, int4, float8 and geometry regression tests - int2, int2 - yet another message for too large numbers ;-) - float8 - it is problably a bug in the newlib C library - it has no error message for numbers with exponent -400 - geometry - differences in precision of float numbers - I have added appropriate lines into resultmap file - I have modified the script regress.sh to use "case" statement when testing the hostname. For cygwin the script is called with "i686-pc-cygwin" (on my machine) as a parameter and this was not catched with the "if" statement. The check was done for PORTNAME (win) and not HOSTNAME (i.86-pc-cygwin*). The patch for described modifications is included. All this modifications can be applied to "current" tree too. The compilation was done on CygwinB20.1 with gcc 2.95, cygipc library 1.05. The binaries were able to run also on the newest development snapshot (2000-03-25). Dan
* Add configure checks to see if 'using namespace std' andTom Lane2000-03-301-2/+2
| | | | '#include <string>' work in the local C++ compiler.
* I've made a diff against the 7.0beta1 tree that accomplishes several things:Bruce Momjian2000-03-081-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) adds NetBSD shared lib support on both ELF and a.out platforms 2) replaces "-L$(LIBPQDIR) -lpq" with "$(LIBPQ)" defined in Makefile.global. This makes it much easier to build stuff in the source tree after you've already installed the libraries. 3) adds TEMPLATEDIR in Makefile.global that indicates where the database templates are stored. This separates the template files from real libraries that are installed in $(LIBDIR). 4) changes include order of <readline/readline.h> and <readline.h>. The latest GNU readline installs its headers under a readline subdirectory. In addition to applying the patch below the following files need to be copied: backend/port/dynloader: bsd.h -> netbsd.h bsd.c -> netbsd.c include/port: bsd.h -> netbsd.h makefiles: Makefile.bsd -> Makefile.netbsd It would be great to see this incorporated into the source tree before the 7.0 release is cut. Thanks! -- Johnny C. Lam <lamj@stat.cmu.edu>
* Improve default compile ops.Bruce Momjian2000-02-101-2/+2
|
* Revert back Makefile.globalTatsuo Ishii2000-01-191-4/+1
| | | | Add check for --with-mb. It is now obsoleted.
* Fix multibyte supportTatsuo Ishii2000-01-181-1/+4
|
* - Allow array on int8Peter Eisentraut2000-01-151-8/+2
| | | | | | - Prevent permissions on indexes - Instituted --enable-multibyte option and tweaked the MB build process where necessary - initdb prompts for superuser password
* New LDOUT makefile variable for QNX os.Bruce Momjian1999-12-131-1/+2
|
* Fix LDREL.Bruce Momjian1999-12-101-1/+2
|
* update for pgaccessBruce Momjian1999-11-021-3/+3
|
* Update to pgaccess 0.98.Bruce Momjian1999-10-311-1/+2
|
* Make pgindent gnu test better.Bruce Momjian1999-09-091-1/+2
|
* Move -ieee to adt Makefile, and add CPU Makefile variable.Bruce Momjian1999-07-201-1/+2
|
* Makefile.global failed to define $(LIBS), which isTom Lane1999-06-251-2/+3
| | | | | unfortunate considering that several subdirectory makefiles were counting on it to do so...
* Add TEMP tables/indexes. Add COPY pfree(). Other cleanups.Bruce Momjian1999-02-021-25/+25
|
* Use autoconf to determine whether system has POSIX signals,Tom Lane1998-11-291-1/+8
| | | | | | | instead of relying on port's os.h to tell us. (Needed for HPUX where system major version is not enough info.) configure unsets USE_TK if X libraries not found. doc/Makefile uses gzcat or zcat as found by autoconf.
* Okay, this shoudl provide a fix for the freebsd problem...Marc G. Fournier1998-10-301-1/+5
| | | | Added a ELF_SYS variable and check to configure.in...
* Centralized shared-library build knowledge in a new file,Tom Lane1998-10-191-1/+8
| | | | | | | | src/Makefile.shlib. Updated all the makefiles that try to build shlibs to include that file instead of having duplicate (and mostly incomplete) copies of shared-library options. It works on HPUX, a lot better than it did before in fact, but there's a chance I broke some other platforms. At least now you only have to fix one place not six...
* TCL/TK fixes from Billy G. Allie.Bruce Momjian1998-10-151-1/+5
|
* Add Taral's test for flags required by the detected cpp program to readThomas G. Lockhart1998-10-141-1/+2
| | | | | from stdin. Necessary at least for systems missing cpp but having gcc -E. Include new configured file backend/catalog/genbki.sh.
* Remove TCL_LIB,TCL_INCDIR,TK_LIB,TK_INCDIR.Bruce Momjian1998-10-131-9/+1
|
* No more TCL_LIB>Bruce Momjian1998-10-121-3/+3
|