summaryrefslogtreecommitdiffstats
path: root/bin/mklib
Commit message (Collapse)AuthorAgeFilesLines
* mklib: Extract archives into temporary directoriesDan Nicholson2010-01-081-5/+17
| | | | | | | | | | | | | | | | When static libraries are created from other archives, objects are extracted and then deleted when the static library is done. This can race when there are multiple static libraries being created from the same archives as with libmesa.a and libmesagallium.a. Should fix this issue with parallel jobs: make[5]: *** No rule to make target > `../../../../../../src/mesa/libmesagallium.a', needed by > `radeon_dri.so'. Stop Signed-off-by: Dan Nicholson <[email protected]> Reported-and-Tested-by: Sedat Dilek <[email protected]>
* mklib: use a wrapper for arBrian Paul2009-12-301-50/+48
|
* mklib: put usage info into usage() functionBrian Paul2009-12-241-27/+33
|
* mklib: expand .a into .o files on FreeBSD, put common code into subroutinesBrian Paul2009-12-241-25/+64
|
* darwin: mklib: Use lipo rather than file to figure out architectures of ↵Jeremy Huddleston2009-12-201-16/+4
| | | | object files
* mklib: Ensure target directory exists for libraryDan Nicholson2009-08-041-0/+1
| | | | | | | | 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 <[email protected]>
* Cygwin build fixesJon TURNEY2009-06-081-3/+16
| | | | | | | 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 <[email protected]>
* mklib: replace if/expr with caseTormod Volden2009-04-301-12/+15
| | | | Saves forking an expr for every object.
* mesa: Prepend "-Wl," to linking optionsTormod Volden2009-04-301-0/+17
| | | | | Let mklib ignore -Wl options inside the object list when building static libraries
* mklib improvements for SolarisAlan Coopersmith2009-03-251-1/+27
| | | | | | | | | 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 <[email protected]>
* mesa: fix static library constructionBrian Paul2008-10-061-1/+23
| | | | If the .a is made of other .a files, extract the objects from the later.
* Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston2008-08-111-4/+16
|
* mklib: don't version symbols when using --exportsJulien Cristau2008-07-141-1/+1
| | | | | Use the default version instead of one based on the library SONAME in the version script created by --exports.
* Solaris port of Mesa 7.1 with autoconf supportAlan Coopersmith2008-06-211-6/+12
| | | | Signed-off-by: Brian Paul <[email protected]>
* Add support for dfbsd to mklib script.Hasso Tepper2008-04-091-1/+4
|
* Apple: Pulled in changes from Apple's patchset to allow mesa to build on ↵Jeremy Huddleston2008-02-191-11/+27
| | | | | | darwin again (cherry picked from commit e70609b7b877dc0d8e67c958c453305e78f831df)
* added -altopts to allow overriding all other optsAndy Skinner2008-02-071-1/+51
|
* Use -Bsymbolic for linking all shared objects.Michel Dänzer2007-12-041-2/+7
| | | | | | Fixes https://bugs.freedesktop.org/show_bug.cgi?id=10132 . Also remove comment about SONAME, as SONAME only applies to shared libraries.
* add support for LDFLAGS env varDan Nicholson2007-09-281-12/+18
|
* Use -pthread instead of -lpthread on FreeBSD.Eric Anholt2007-06-221-0/+3
|
* special case for -pthread (bug 10876)Brian2007-05-081-0/+4
|
* simplify .a suffixingBrian2007-03-271-6/+6
|
* remove static lib before building to make more bulletproofBernardo Innocenti2007-03-271-0/+1
|
* fix -noprefix option for Solaris (bug 7722)Brian Paul2006-11-101-4/+11
|
* updates for GNU/Hurd (bug 6657)Brian Paul2006-04-191-4/+6
|
* assorted AIX, IRIX fixes from Dan SchikoreBrian Paul2006-04-181-29/+25
|
* Use 'file' command in more places to determine the library ABI (IRIX, SunOS,Brian Paul2006-04-141-43/+68
| | | | | Darwin), removes need to pass in special -archopt flags. Restore the -dlopen flag afterall.
* remove the -dlopen option. Always make both kinds of libs for AIX, Darwin.Brian Paul2006-04-131-33/+33
|
* Fixes for AIX, SunOS, Darwin. -dlopen flag to build dlopen()'able modulesBrian Paul2006-04-131-11/+51
| | | | for AIX, Darwin. (Dan Schikore)
* pass -m32 or -m64 to linker for SunOS as needed (bug 6484)Brian Paul2006-04-051-4/+22
|
* some comments for DarwinBrian Paul2006-03-301-0/+3
|
* Fix FreeBSD build by building libGL in the order desired, and doing a fix to myEric Anholt2005-10-221-1/+2
| | | | mklib changes.
* Darwin version fix (SF bug 1334274)Brian Paul2005-10-211-1/+1
|
* Attempt to fix libGL on FreeBSD, where the library was being built without anyEric Anholt2005-10-181-4/+16
| | | | dependencies, breaking builds of third-party software.
* remove .a file before creating new oneBrian Paul2005-09-141-4/+3
|
* Make the linux-dri-x86 builds work on x86-64 again. mklib nowIan Romanick2005-08-081-0/+9
| | | | | | 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.
* Since this isn't a bash script, don't use function and instead inline the usageEric Anholt2005-08-081-26/+20
| | | | into the one place that it's used.
* Add license/copyright.Brian Paul2005-07-251-44/+110
| | | | | Add -h/--help option for usage. Minor clean-ups.
* Added -linker option to mklib, used to specify a particular program forBrian Paul2005-07-251-61/+39
| | | | | linking, if relevant. Updated Makefiles to use -linker option instead of setting CC, CXX env vars.
* fix Darwin dynamic lib namingBrian Paul2005-06-301-1/+1
|
* if building 32-bit objects in 64-bit environment, use -m32 flagBrian Paul2005-03-031-0/+9
|
* fixed OSF/1 shared lib problem (bug 1065260)Brian Paul2004-11-291-1/+6
|
* merge the AIX and AIX64 casesBrian Paul2004-11-011-39/+13
|
* added initial support for -exports option, Linux/OpenBSD only for nowBrian Paul2004-10-161-1/+18
|
* if CXX or CC env vars aren't set, use g++, gcc by default (Linux)Brian Paul2004-10-161-0/+8
|
* Enable builds on AIX 64-bitKarl Schultz2004-10-011-1/+24
|
* indentation fixesBrian Paul2004-08-141-7/+7
|
* Update BeOS mklib to set mimetype and version.Philippe Houdoin2004-08-141-4/+12
| | | | Static lib build support added.
* added commands for AIX shared libs (Shane Blackett)Brian Paul2004-07-011-1/+24
|
* Make sure mklib sees the definition of CC and CXX. Make mklib respectIan Romanick2004-06-251-4/+4
| | | | | | 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.