Jon TURNEY
7eed6ab5b5
Cygwin build fixes
Fix mklib to deal with NOPREFIX and use --enable-auto-image-base for cygwin
Teach configure.ac some basic facts about cygwin
Signed-off-by: Jon TURNEY <jon.turney@dronecode.org.uk>
преди 16 години
Tormod Volden
eef79d50bf
mklib: replace if/expr with case
Saves forking an expr for every object.
преди 16 години
Tormod Volden
9cb3cdec76
mesa: Prepend "-Wl," to linking options
Let mklib ignore -Wl options inside the object list when building
static libraries
преди 16 години
Alan Coopersmith
3cf6e62ae3
mklib improvements for Solaris
Move flags for linking standard C/C++ libraries from configure.ac to mklib
Use -norunpath flag when linking with Sun C++ compiler
Convert mklib -exports list into a linker mapfile
Set FINAL_LIBS correctly when -noprefix is used
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
преди 16 години
Brian Paul
145d49838f
mesa: fix static library construction
If the .a is made of other .a files, extract the objects from the later.
преди 17 години
Jeremy Huddleston
ac0d19601c
Apple: Cleaned up some linking and dylib ids issues
преди 17 години
Julien Cristau
270b2a5c54
mklib: don't version symbols when using --exports
Use the default version instead of one based on the library SONAME
in the version script created by --exports.
преди 17 години
Julien Cristau
f7eb0cec69
mklib: don't version symbols when using --exports
Use the default version instead of one based on the library SONAME
in the version script created by --exports.
преди 17 години
Alan Coopersmith
e1f9adc274
Solaris port of Mesa 7.1 with autoconf support
Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
преди 17 години
Alan Hourihane
6f7ed99b30
revert the DRI2 commits
преди 17 години
Alan Hourihane
4566b006f1
Bring in DRI2 changes
преди 17 години
Keith Whitwell
da7b3d294b
pull in minor mklib change to fix debugging
преди 17 години
Hasso Tepper
f9c8af31c5
Add support for dfbsd to mklib script.
преди 17 години
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 години
Andy Skinner
5c0c883104
added -altopts to allow overriding all other opts
преди 17 години
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.
преди 18 години
Dan Nicholson
2a3e33865d
add support for LDFLAGS env var
преди 18 години
Eric Anholt
1a413b4d77
Use -pthread instead of -lpthread on FreeBSD.
преди 18 години
Brian
ed2fddc98e
special case for -pthread (bug 10876)
преди 18 години
Brian
98abd1bbc8
simplify .a suffixing
преди 18 години
Bernardo Innocenti
a9455bb9a7
remove static lib before building to make more bulletproof
преди 18 години
Brian Paul
0a3a1c6ae9
fix -noprefix option for Solaris (bug 7722)
преди 19 години
Brian Paul
5beff7c6c1
updates for GNU/Hurd (bug 6657)
преди 19 години
Brian Paul
b3282a3b9d
assorted AIX, IRIX fixes from Dan Schikore
преди 19 години
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 години
Brian Paul
56e0ee8efe
remove the -dlopen option. Always make both kinds of libs for AIX, Darwin.
преди 19 години
Brian Paul
fe14cf6951
Fixes for AIX, SunOS, Darwin. -dlopen flag to build dlopen()'able modules
for AIX, Darwin. (Dan Schikore)
преди 19 години
Brian Paul
59ebe1ff77
pass -m32 or -m64 to linker for SunOS as needed (bug 6484)
преди 19 години
Brian Paul
ef8b89faee
some comments for Darwin
преди 19 години
Eric Anholt
1c04be573e
Fix FreeBSD build by building libGL in the order desired, and doing a fix to my
mklib changes.
преди 20 години
Brian Paul
32a7ab2197
Darwin version fix (SF bug 1334274)
преди 20 години
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 години
Brian Paul
7a534dcab1
remove .a file before creating new one
преди 20 години
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 години
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 години
Brian Paul
7c1ab40898
Add license/copyright.
Add -h/--help option for usage.
Minor clean-ups.
преди 20 години
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 години
Brian Paul
ccda2162f6
fix Darwin dynamic lib naming
преди 20 години
Brian Paul
3e1961839e
if building 32-bit objects in 64-bit environment, use -m32 flag
преди 20 години
Brian Paul
0d5e6ccfd6
fixed OSF/1 shared lib problem (bug 1065260)
преди 21 години
Brian Paul
b17a1a1826
merge the AIX and AIX64 cases
преди 21 години
Brian Paul
158a251a6b
added initial support for -exports option, Linux/OpenBSD only for now
преди 21 години
Brian Paul
c498742768
if CXX or CC env vars aren't set, use g++, gcc by default (Linux)
преди 21 години
Karl Schultz
a16bdb5fb7
Enable builds on AIX 64-bit
преди 21 години
Brian Paul
b784b8f21f
indentation fixes
преди 21 години
Philippe Houdoin
ef4dd5ad79
Update BeOS mklib to set mimetype and version.
Static lib build support added.
преди 21 години
Brian Paul
76cfed853f
added commands for AIX shared libs (Shane Blackett)
преди 21 години
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 години
Brian Paul
ac0cfee885
fix HP-UX typo (bug 941576)
преди 21 години
Brian Paul
580548d046
added CYGWIN support
преди 21 години