Dan Nicholson
00994ac08c
autoconf: Scrape the version from configs/default
Added the make script version.mk to print the various version numbers
from configs/default. This is used to substitute the version in autoconf
rather than duplicating it in both places.
17 vuotta sitten
Hasso Tepper
f9c8af31c5
Add support for dfbsd to mklib script.
17 vuotta sitten
Jeremy Huddleston
9993ccce69
Apple: Pulled in changes from Apple's patchset to allow mesa to build on darwin again
(cherry picked from commit e70609b7b8
)
17 vuotta sitten
Andy Skinner
5c0c883104
added -altopts to allow overriding all other opts
17 vuotta sitten
Dan Nicholson
78175579c2
autoconf: Replace install-sh with symlink to minstall
Since install-sh is only used to satisfy an autoconf requirement, we
don't need the actual script. Instead, it's now just a symlink to
minstall, which provides a similar install wrapper script.
17 vuotta sitten
Dan Nicholson
d5cee90cf5
autoconf: Add support files required for autoconf use
The standard autoconf initialization macros require that config.guess,
config.sub and install-sh exist. The config.* scripts are from gnulib
HEAD, and the install-sh script is from automake HEAD.
17 vuotta sitten
Michel Dänzer
fc7ddea853
Use -Bsymbolic for linking all shared objects.
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10132 .
Also remove comment about SONAME, as SONAME only applies to shared libraries.
17 vuotta sitten
Dan Nicholson
d7eb97bbc3
confdiff.sh: A testing script for comparing configs settings
This is a simple script that compares the make variables set by two
different configs stubs. The purpose is to highlight differences so
that any unnecessary duplication or divergence can be removed.
For example, on Linux x86:
$ ./bin/confdiff.sh linux linux-x86
The output isn't very clean, but it should highlight that the only
difference is that the x86 target uses x86 assembler sources.
The script uses bash, mktemp, make, sed and diff. It is probably not
very portable and might only work on GNU make.
18 vuotta sitten
Dan Nicholson
2a3e33865d
add support for LDFLAGS env var
18 vuotta sitten
Eric Anholt
1a413b4d77
Use -pthread instead of -lpthread on FreeBSD.
18 vuotta sitten
Brian
ed2fddc98e
special case for -pthread (bug 10876)
18 vuotta sitten
Brian
98abd1bbc8
simplify .a suffixing
18 vuotta sitten
Bernardo Innocenti
a9455bb9a7
remove static lib before building to make more bulletproof
18 vuotta sitten
Michel Dänzer
c9795c6ca2
minstall: Pass correct destination file path to $RM regardless of source path.
(cherry picked from 26626c0052
commit)
18 vuotta sitten
Michel Dänzer
bce82efe1f
minstall: Always remove destination file before (re-)creating it.
This avoids issues with overwriting files that are being used.
(cherry picked from d71a5647a3
commit)
18 vuotta sitten
Michel Dänzer
26626c0052
minstall: Pass correct destination file path to $RM regardless of source path.
18 vuotta sitten
Michel Dänzer
d71a5647a3
minstall: Always remove destination file before (re-)creating it.
This avoids issues with overwriting files that are being used.
18 vuotta sitten
Brian Paul
0a3a1c6ae9
fix -noprefix option for Solaris (bug 7722)
19 vuotta sitten
Brian Paul
464fcd0dd8
New bin/minstall script - a minimal replacement for 'install'.
Correctly handles symlinks so we can get rid of the COPY_LIBS stuff.
19 vuotta sitten
Adam Jackson
3775b566fa
mkdir -> mkdir -p, since /usr/include might not exist in the installroot yet
19 vuotta sitten
Brian Paul
65897c04c8
don't create include/GLES yet
19 vuotta sitten
Brian Paul
5beff7c6c1
updates for GNU/Hurd (bug 6657)
19 vuotta sitten
Brian Paul
b3282a3b9d
assorted AIX, IRIX fixes from Dan Schikore
19 vuotta sitten
Brian Paul
1e1af99132
Use 'file' command in more places to determine the library ABI (IRIX, SunOS,
Darwin), removes need to pass in special -archopt flags.
Restore the -dlopen flag afterall.
19 vuotta sitten
Brian Paul
56e0ee8efe
remove the -dlopen option. Always make both kinds of libs for AIX, Darwin.
19 vuotta sitten
Brian Paul
fe14cf6951
Fixes for AIX, SunOS, Darwin. -dlopen flag to build dlopen()'able modules
for AIX, Darwin. (Dan Schikore)
19 vuotta sitten
Brian Paul
59ebe1ff77
pass -m32 or -m64 to linker for SunOS as needed (bug 6484)
19 vuotta sitten
Brian Paul
ef8b89faee
some comments for Darwin
19 vuotta sitten
Brian Paul
a5033a0421
fix AIX issues (bug 5874)
19 vuotta sitten
Brian Paul
30cc822163
install GLw headers (bug 5396)
19 vuotta sitten
Brian Paul
413a49ce59
special-case Darwin (bug 4509)
19 vuotta sitten
Eric Anholt
1c04be573e
Fix FreeBSD build by building libGL in the order desired, and doing a fix to my
mklib changes.
20 vuotta sitten
Brian Paul
32a7ab2197
Darwin version fix (SF bug 1334274)
20 vuotta sitten
Eric Anholt
b83435f53b
Attempt to fix libGL on FreeBSD, where the library was being built without any
dependencies, breaking builds of third-party software.
20 vuotta sitten
Brian Paul
7a534dcab1
remove .a file before creating new one
20 vuotta sitten
Brian Paul
7bb7f97594
fix FreeBSD problem (bug 4435)
20 vuotta sitten
Ian Romanick
aba4864a25
Make the linux-dri-x86 builds work on x86-64 again. mklib now
determines the bits (either 32 or 64) for libraries without the lib
prefix. progs/egl/Makefile passes CFLAGS on the link commands so that
things like '-m32' get propagated.
20 vuotta sitten
Eric Anholt
f1a261377f
Since this isn't a bash script, don't use function and instead inline the usage
into the one place that it's used.
20 vuotta sitten
Brian Paul
7c1ab40898
Add license/copyright.
Add -h/--help option for usage.
Minor clean-ups.
20 vuotta sitten
Brian Paul
8dcc6736ab
Added -linker option to mklib, used to specify a particular program for
linking, if relevant.
Updated Makefiles to use -linker option instead of setting CC, CXX env vars.
20 vuotta sitten
Brian Paul
ccda2162f6
fix Darwin dynamic lib naming
20 vuotta sitten
Jon Smirl
40b8b57ed4
Make install install GLES too
20 vuotta sitten
Brian Paul
3e1961839e
if building 32-bit objects in 64-bit environment, use -m32 flag
20 vuotta sitten
Dave Airlie
a2990a9d73
Add DESTDIR install target
20 vuotta sitten
Brian Paul
0d5e6ccfd6
fixed OSF/1 shared lib problem (bug 1065260)
21 vuotta sitten
Brian Paul
b17a1a1826
merge the AIX and AIX64 cases
21 vuotta sitten
Brian Paul
158a251a6b
added initial support for -exports option, Linux/OpenBSD only for now
21 vuotta sitten
Brian Paul
c498742768
if CXX or CC env vars aren't set, use g++, gcc by default (Linux)
21 vuotta sitten
Karl Schultz
a16bdb5fb7
Enable builds on AIX 64-bit
21 vuotta sitten
Brian Paul
b784b8f21f
indentation fixes
21 vuotta sitten