Eric Anholt
1a413b4d77
Use -pthread instead of -lpthread on FreeBSD.
18 jaren geleden
Brian
ed2fddc98e
special case for -pthread (bug 10876)
18 jaren geleden
Brian
98abd1bbc8
simplify .a suffixing
18 jaren geleden
Bernardo Innocenti
a9455bb9a7
remove static lib before building to make more bulletproof
18 jaren geleden
Brian Paul
0a3a1c6ae9
fix -noprefix option for Solaris (bug 7722)
19 jaren geleden
Brian Paul
5beff7c6c1
updates for GNU/Hurd (bug 6657)
19 jaren geleden
Brian Paul
b3282a3b9d
assorted AIX, IRIX fixes from Dan Schikore
19 jaren geleden
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 jaren geleden
Brian Paul
56e0ee8efe
remove the -dlopen option. Always make both kinds of libs for AIX, Darwin.
19 jaren geleden
Brian Paul
fe14cf6951
Fixes for AIX, SunOS, Darwin. -dlopen flag to build dlopen()'able modules
for AIX, Darwin. (Dan Schikore)
19 jaren geleden
Brian Paul
59ebe1ff77
pass -m32 or -m64 to linker for SunOS as needed (bug 6484)
19 jaren geleden
Brian Paul
ef8b89faee
some comments for Darwin
19 jaren geleden
Eric Anholt
1c04be573e
Fix FreeBSD build by building libGL in the order desired, and doing a fix to my
mklib changes.
20 jaren geleden
Brian Paul
32a7ab2197
Darwin version fix (SF bug 1334274)
20 jaren geleden
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 jaren geleden
Brian Paul
7a534dcab1
remove .a file before creating new one
20 jaren geleden
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 jaren geleden
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 jaren geleden
Brian Paul
7c1ab40898
Add license/copyright.
Add -h/--help option for usage.
Minor clean-ups.
20 jaren geleden
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 jaren geleden
Brian Paul
ccda2162f6
fix Darwin dynamic lib naming
20 jaren geleden
Brian Paul
3e1961839e
if building 32-bit objects in 64-bit environment, use -m32 flag
20 jaren geleden
Brian Paul
0d5e6ccfd6
fixed OSF/1 shared lib problem (bug 1065260)
21 jaren geleden
Brian Paul
b17a1a1826
merge the AIX and AIX64 cases
21 jaren geleden
Brian Paul
158a251a6b
added initial support for -exports option, Linux/OpenBSD only for now
21 jaren geleden
Brian Paul
c498742768
if CXX or CC env vars aren't set, use g++, gcc by default (Linux)
21 jaren geleden
Karl Schultz
a16bdb5fb7
Enable builds on AIX 64-bit
21 jaren geleden
Brian Paul
b784b8f21f
indentation fixes
21 jaren geleden
Philippe Houdoin
ef4dd5ad79
Update BeOS mklib to set mimetype and version.
Static lib build support added.
21 jaren geleden
Brian Paul
76cfed853f
added commands for AIX shared libs (Shane Blackett)
21 jaren geleden
Ian Romanick
9eecb03226
Make sure mklib sees the definition of CC and CXX. Make mklib respect
the definitions of CC and CXX on Linux. This fixed build issues with
sunos5-gcc and build issues on GCC 2.x Linux when CC and CXX are set
to a GCC 3.x compiler.
21 jaren geleden
Brian Paul
ac0cfee885
fix HP-UX typo (bug 941576)
21 jaren geleden
Brian Paul
580548d046
added CYGWIN support
21 jaren geleden
Brian Paul
c50d77a7f1
minor tweak for Darwin
21 jaren geleden
Brian Paul
dd74e36763
added -noprefix option for making DRI drivers
21 jaren geleden
Brian Paul
52fb07e2b2
merge from 6.0.1 branch
21 jaren geleden
Brian Paul
c05658d15e
more Darwin tweaks
21 jaren geleden
Brian Paul
aaba0751d5
tweaks to Darwin code
21 jaren geleden
Brian Paul
c193bd0654
assorted updates and new AIX support (Dan Schikore)
21 jaren geleden
Brian Paul
09a4f915d3
fix library naming glitches (bug 904867)
21 jaren geleden
Brian Paul
6e450f22bb
some minor tweaks
21 jaren geleden
Brian Paul
5396ab2742
bunch of assorted updates/changes
21 jaren geleden
Brian Paul
f8c31fcba3
more IRIX tweaks
21 jaren geleden
Brian Paul
dc8f8bd88f
fix ARCHOPT typo
21 jaren geleden
Brian Paul
9ca723f5f5
fix C++ link issues on IRIX
21 jaren geleden
Brian Paul
5b9a9d46d4
tweak OpenBSD and SunOS commands
21 jaren geleden
Brian Paul
4b603440f6
use -G not -shared for gcc on SunOS
21 jaren geleden
Brian Paul
12d6caea08
Use same steps for Linux and OpenBSD.
Added AIX/gcc support.
21 jaren geleden
Brian Paul
b3b725b1e6
Assorted mklib tweaks.
Added Intel icc support to mklib.
21 jaren geleden
Brian Paul
1a644b333c
tweaks for SunOS
22 jaren geleden