summaryrefslogtreecommitdiff
path: root/bin/mklib
AgeCommit message (Collapse)Author
2009-08-04mklib: Ensure target directory exists for libraryDan Nicholson
Instead of relying on the Makefile to always generate $(TOP)/$(LIB_DIR), just have mklib handle creating the directory. This should fix any races when using parallel make. Signed-off-by: Dan Nicholson <dbn.lists@gmail.com>
2009-06-08Cygwin build fixesJon TURNEY
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>
2009-04-30mklib: replace if/expr with caseTormod Volden
Saves forking an expr for every object.
2009-04-30mesa: Prepend "-Wl," to linking optionsTormod Volden
Let mklib ignore -Wl options inside the object list when building static libraries
2009-03-25mklib improvements for SolarisAlan Coopersmith
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>
2008-10-06mesa: fix static library constructionBrian Paul
If the .a is made of other .a files, extract the objects from the later.
2008-08-11Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston
2008-07-14mklib: don't version symbols when using --exportsJulien Cristau
Use the default version instead of one based on the library SONAME in the version script created by --exports.
2008-06-21Solaris port of Mesa 7.1 with autoconf supportAlan Coopersmith
Signed-off-by: Brian Paul <brian.paul@tungstengraphics.com>
2008-04-09Add support for dfbsd to mklib script.Hasso Tepper
2008-02-19Apple: Pulled in changes from Apple's patchset to allow mesa to build on ↵Jeremy Huddleston
darwin again (cherry picked from commit e70609b7b877dc0d8e67c958c453305e78f831df)
2008-02-07added -altopts to allow overriding all other optsAndy Skinner
2007-12-04Use -Bsymbolic for linking all shared objects.Michel Dänzer
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10132 . Also remove comment about SONAME, as SONAME only applies to shared libraries.
2007-09-28add support for LDFLAGS env varDan Nicholson
2007-06-22Use -pthread instead of -lpthread on FreeBSD.Eric Anholt
2007-05-08special case for -pthread (bug 10876)Brian
2007-03-27simplify .a suffixingBrian
2007-03-27remove static lib before building to make more bulletproofBernardo Innocenti
2006-11-10fix -noprefix option for Solaris (bug 7722)Brian Paul
2006-04-19updates for GNU/Hurd (bug 6657)Brian Paul
2006-04-18assorted AIX, IRIX fixes from Dan SchikoreBrian Paul
2006-04-14Use 'file' command in more places to determine the library ABI (IRIX, SunOS,Brian Paul
Darwin), removes need to pass in special -archopt flags. Restore the -dlopen flag afterall.
2006-04-13remove the -dlopen option. Always make both kinds of libs for AIX, Darwin.Brian Paul
2006-04-13Fixes for AIX, SunOS, Darwin. -dlopen flag to build dlopen()'able modulesBrian Paul
for AIX, Darwin. (Dan Schikore)
2006-04-05pass -m32 or -m64 to linker for SunOS as needed (bug 6484)Brian Paul
2006-03-30some comments for DarwinBrian Paul
2005-10-22Fix FreeBSD build by building libGL in the order desired, and doing a fix to myEric Anholt
mklib changes.
2005-10-21Darwin version fix (SF bug 1334274)Brian Paul
2005-10-18Attempt to fix libGL on FreeBSD, where the library was being built without anyEric Anholt
dependencies, breaking builds of third-party software.
2005-09-14remove .a file before creating new oneBrian Paul
2005-08-08Make the linux-dri-x86 builds work on x86-64 again. mklib nowIan Romanick
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.
2005-08-08Since this isn't a bash script, don't use function and instead inline the usageEric Anholt
into the one place that it's used.
2005-07-25Add license/copyright.Brian Paul
Add -h/--help option for usage. Minor clean-ups.
2005-07-25Added -linker option to mklib, used to specify a particular program forBrian Paul
linking, if relevant. Updated Makefiles to use -linker option instead of setting CC, CXX env vars.
2005-06-30fix Darwin dynamic lib namingBrian Paul
2005-03-03if building 32-bit objects in 64-bit environment, use -m32 flagBrian Paul
2004-11-29fixed OSF/1 shared lib problem (bug 1065260)Brian Paul
2004-11-01merge the AIX and AIX64 casesBrian Paul
2004-10-16added initial support for -exports option, Linux/OpenBSD only for nowBrian Paul
2004-10-16if CXX or CC env vars aren't set, use g++, gcc by default (Linux)Brian Paul
2004-10-01Enable builds on AIX 64-bitKarl Schultz
2004-08-14indentation fixesBrian Paul
2004-08-14Update BeOS mklib to set mimetype and version.Philippe Houdoin
Static lib build support added.
2004-07-01added commands for AIX shared libs (Shane Blackett)Brian Paul
2004-06-25Make sure mklib sees the definition of CC and CXX. Make mklib respectIan Romanick
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.
2004-04-25fix HP-UX typo (bug 941576)Brian Paul
2004-04-22added CYGWIN supportBrian Paul
2004-04-13minor tweak for DarwinBrian Paul
2004-04-08added -noprefix option for making DRI driversBrian Paul
2004-03-30merge from 6.0.1 branchBrian Paul