summaryrefslogtreecommitdiff
path: root/src/makefiles
Commit message (Collapse)AuthorAgeFilesLines
* Fix relative path references so that make knowns which dependencies referPeter Eisentraut2000-08-313-8/+8
| | | | | to one another. Sort out builddir vs srcdir variable namings. Remove some now obsoleted make variables.
* Rename templates to match names in makefiles/Makefile.* and include/port.Peter Eisentraut2000-07-152-0/+0
| | | | | Read templates after compiler is detected. Convert all templates to real shell scripts. Rename bsd->openbsd, alpha->osf.
* Can you please apply the following patch to current CVSBruce Momjian2000-07-121-1/+1
| | | | | | | | | to make AIX'ers happy with the changes to the version.o ? Together with the patch I sent Tom, AIX now regresses ok. Thanx Andreas
* Substituted new configure test for types of accept()Peter Eisentraut2000-06-111-1/+1
| | | | | | | | | | | 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. :(
* Please forget all I said about gcc and AIX in my previous mail.Bruce Momjian2000-04-051-1/+1
| | | | | | | | | | | | | | | | | It does work with the following patch applied and gcc 2.95.2 . Use --with-template=aix_gcc to compile the whole lot with gcc. The geometry regression test produces different precision. With optimization I run into regression failures starting at oidjoins, thus no -O2. Anybody else try gcc 2.95.2 and -O2 on beta4 ? This is an important patch, since recent versions of the IBM compiler are not for free, and thus most questions I get concern gcc. Andreas PS.: I am testing with beta4
* I've made a diff against the 7.0beta1 tree that accomplishes several things:Bruce Momjian2000-03-081-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* Patch for Irix from Mark Dalphin.Bruce Momjian2000-03-021-2/+1
|
* I have done the QNX4 port with the current source tree. The number ofBruce Momjian1999-12-161-0/+11
| | | | | | | | backend/Makefiles to be patched could significantly be reduced since they have been adopted to the QNX4 needs. Andreas Kardos
* New LDOUT makefile variable for QNX os.Bruce Momjian1999-12-132-2/+2
|
* Make LD -r as macros that can be changed for QNX.Bruce Momjian1999-12-092-2/+2
|
* Move __alpha to port/alpha.h.Bruce Momjian1999-10-091-5/+0
|
* Define __alpha__ for __alpha.Bruce Momjian1999-10-081-0/+5
|
* Apply freebsd specific patches dealign with ELF system from FreeBSD'sMarc G. Fournier1999-05-171-3/+7
| | | | ports collection ...
* Irix fix from Jeff JohnsonBruce Momjian1999-03-151-0/+1
|
* We have tested the patches on three platforms:Bruce Momjian1999-03-141-0/+7
| | | | | | | | | | | | | NetBSD/macppc LinuxPPC FreeBSD 2.2.6-RELEASE All of them seem happy with the regression test. Note that, however, compiling with optimization enabled on NetBSD/macppc causes an initdb failure (other two platforms are ok). After checking the asm code, we are suspecting that might be a compiler(egcs) bug. Tatsuo Ishii
* Changes to fix/improve the dynamic loading on NTMarc G. Fournier1999-03-091-0/+5
| | | | From: Horak Daniel <horak@mmp.plzen-city.cz>
* Add missing Windows files.Bruce Momjian1999-01-181-0/+15
|
* Re-insert %.sl rule into Makefile.hpux ... seems it is notTom Lane1999-01-171-0/+5
| | | | quite as unused as I thought ... how embarrassing.
* Use autoconf to determine whether system has POSIX signals,Tom Lane1998-11-291-40/+20
| | | | | | | 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.
* slight mods required for freebsd (elf vs aout stuff)Marc G. Fournier1998-11-021-1/+1
|
* Minor FreeBSD fixes put in placeMarc G. Fournier1998-10-311-5/+5
| | | | | | | | | | | | | | | | | | | | | From: SHIOZAKI Takehiko <takehi-s@ascii.co.jp> I tried snapshot(Oct30) and made some patches. # I think that it is confused to manage both Makefile.shlib and # makefiles/Makefile.*, don't you? * configure Now FreeBSD 2.X is not supported..., so I added its entry. If ELF_SYSTEM is set, gmake treat it defined even though it is "false". So nothing should be set to use "ifdef". BSD_SHLIB etc. may have same problems. * Makefile.shlib As you said, FreeBSD entry is much like BSD's. I only added ELF_SYSTEM code. * makefiles/Makefile.freebsd Ifdef/else/endif can not be indented with TABs.
* Okay, this shoudl provide a fix for the freebsd problem...Marc G. Fournier1998-10-301-2/+6
| | | | Added a ELF_SYS variable and check to configure.in...
* Oops, don't forget to get rid ofthe -Bforcearchive option altogether...Marc G. Fournier1998-10-271-2/+2
|
* Starting with v3.0 of FreeBSD, we are now an elf system, and dont' have aMarc G. Fournier1998-10-271-0/+9
| | | | | | -Bforcearchive flag for ld... Give FreeBSD its own special Makefile to get around the "bug"
* Fix for vacuum and cache use. Fix for BSDI 4.0.Bruce Momjian1998-10-123-3/+7
|
* More bsdi 4.0 cleanups for shared libraries.Bruce Momjian1998-10-091-2/+1
|
* Change HPUX loader flags to trap null pointer derefsTom Lane1998-10-011-2/+3
|
* Add some support for BSDI 4.0.Bruce Momjian1998-09-101-0/+5
|
* Aix4 fixes from Andreas ZeugswetterBruce Momjian1998-09-091-0/+4
|
* re-add bsdi makefileBruce Momjian1998-09-011-0/+0
|
* bsdi cleanupBruce Momjian1998-09-011-1/+0
|
* Attached are the three patches that were needed to get PostgreSQLBruce Momjian1998-07-191-0/+3
| | | | | | | | | | | | | 6.3.2 to compile (and run) on my Sparc Solaris 2.5.1 box. Details below: pgsql.sparc.patch-template: Adds -D__sparc__ and -D__sun__, defintions which gcc does define, but Sun's cc does not. :( pgsql.sparc.patch-makefile: Adds a define so that 'lorder' is not used, as it is not found on my machine. Ryan Kirkpatrick
* My mailer munged the intro text in my last post. Here is the textBruce Momjian1998-07-191-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in a more readable form. -- I am submitting the following patches to the June 6, 1998 snapshot of PostgreSQL. These patches implement a port of PostgreSQL to SCO UnixWare 7, and updates the Univel port (UnixWare 2.x). The patched files, and the reason for the patch are: File Reason for the patch --------------- --------------------------------------------------------------- src/backend/port/dynloader/unixware.c src/backend/port/dynloader/unixware.h src/include/port/unixware.h src/makefiles/Makefile.unixware src/template/unixware Created for the UNIXWARE port. src/include/port/univel.h Modifed this file to work with the changes made to s_lock.[ch]. src/backend/storage/buffer/s_lock.c src/include/storage/s_lock.h Moved the UNIXWARE (and Univel) tas() function from s_lock.c to s_lock.h. The UnixWare compiler asm construct is treated as a macro and needs to be in the s_lock.h file. I also reworked the tas() function to correct some errors in the code. src/include/version.h.in The use of the ## operator with quoted strings in the VERSION macro caused problems with the UnixWare C compiler. I removed the ## operators since they were not needed in this case. The macro expands into a sequence of quoted strings that will be concatenated by any ANSI C compiler. src/config.guess This script was modified to recognize SCO UnixWare 7. src/configure src/configure.in The configure script was modified to recognize SCO UnixWare 7. Billy G. Allie
* Patches HPUX applied for Tom Lane.Bruce Momjian1998-07-061-3/+18
|
* Fix portname defines in Makefiles.Bruce Momjian1998-06-152-0/+0
|
* return to normal valuesBruce Momjian1998-05-041-1/+1
|
* Fix for missing parens with \g causing psql to get completelyBruce Momjian1998-05-041-1/+1
| | | | confused.
* DESTDIR removed, again.Bruce Momjian1998-04-061-1/+1
|
* Make DESTDIR consistent, and verious Linux cleanups.Bruce Momjian1998-04-061-1/+1
|
* Hi,Bruce Momjian1998-04-061-6/+0
| | | | | | | | | | | | | | | | | | | | | | Attached you'll find a (big) patch that fixes make dep and make depend in all Makefiles where I found it to be appropriate. It also removes the dependency in Makefile.global for NAMEDATALEN and OIDNAMELEN by making backend/catalog/genbki.sh and bin/initdb/initdb.sh a little smarter. This no longer requires initdb.sh that is turned into initdb with a sed script when installing Postgres, hence initdb.sh should be renamed to initdb (after the patch has been applied :-) ) This patch is against the 6.3 sources, as it took a while to complete. Please review and apply, Cheers, Jeroen van Vianen
* Remove DISTDIR.Bruce Momjian1998-04-051-1/+1
|
* From: Darren King <darrenk@insightdist.com>Marc G. Fournier1998-02-271-0/+3
| | | | | | | | | | | | This patch will... 1. Remove the "-Wall" option from the ecpg/lib and ecpg/preproc Makefile. 2. Remove the addition of $(SRCDIR)/include and-or $(SRCDIR)/backend from ecpg/lib, ecpg/preproc, libpq and utils Makefiles. Already in CFLAGS... 3. Set MK_NO_LORDER and RANLIB in Makefile.aix to avoid a couple of extra steps taken care of by the 'ld' command anyways.
* Cancel last version which introduced unintended flagsThomas G. Lockhart1998-02-181-1/+0
| | | | for linux-alpha support.
* Apparently there was aMarc G. Fournier1998-02-141-0/+1
| | | | | | | | compiler define that should have been enabled, but was not due to different naming conventions for Linux/Alpha. Attached is the patch he sent me, that I have not had a chance to test yet. From: Ryan Kirkpatrick <rkirkpat@nag.cs.colorado.edu>
* This should fix Stan's USE_POSIX_SIGNALS problem as wellMarc G. Fournier1998-01-271-1/+0
|
* From: "Billy G. Allie" <Bill.Allie@mug.org>Marc G. Fournier1998-01-171-6/+1
| | | | | | | | | | | | | | | | | | | The attached patches will allow postgreSQL to compile successfully on SCO UNIXWARE 2.1.x. The patches fix the following problems: 1. Configure did not properly recognize the UNIXWARE system as needing the univel port. It used the sys4 port. 2. Configure did not properly process the CC flag in the template file. 3. There was no working test and set locking implementation for the native UNIXWARE compiler. 4. The test and set locking used for Intel X86 that was selected by defining NEED_I386_TAS_ASM could fail in a multi-processor environment. 5. The makefiles for libpq and libpgtcl did not make a shared library for the univel port.
* A minor patch for HP/UX 10 vs 9Marc G. Fournier1998-01-131-1/+6
|
* Remove declaration for -DLINUX_ELF since testing for __ELF__ in code.Thomas G. Lockhart1998-01-011-0/+3
|
* First clean compile without a "PORTNAME" variable being set...Marc G. Fournier1997-12-201-0/+0
|
* FIx for SCO compiles.Bruce Momjian1997-10-301-0/+2
|