aboutsummaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* mklib: clean up abi flags for x86 targetsMike Frysinger2012-09-141-18/+24
| | | | | | | | | | | The current code is duplicated in two places and relies on `uname` to detect the flags. This is no good for cross-compiling, and the current logic uses -m64 for the x32 ABI which breaks things. Unify the code in one place, avoid `uname` completely, and add support for the new x32 ABI. Signed-off-by: Mike Frysinger <[email protected]>
* mesa: remove obsolete confdiff.shAndreas Boll2012-06-201-48/+0
| | | | | this script is obsolete since 0cc216676c96efacb0e1eb82457e6a83920ae704
* mesa: fix html in shortlog_mesa.sh scriptAndreas Boll2012-06-141-4/+4
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: added Ian's shortlog_mesa.sh script in bin/Brian Paul2012-06-141-0/+23
|
* automake: Add AM_PROG_AR before LT_INIT to silence a lot of warnings.Kenneth Graunke2012-06-111-0/+1
| | | | | | | The warnings appear to occur with newer automake (probably 1.12). Signed-off-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
* automake: Move top-level makefile to automake.Eric Anholt2012-06-111-20/+0
| | | | | | | | | This is part of a series to fix our build issues in the automake case by hooking up the automatic Makefile regeneration support. The extract_git_sha1 is moved into src/mesa/Makefile so that we get correct dependency generation. Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: Move the version information right into configure.ac.Eric Anholt2012-06-111-17/+0
| | | | | | Nothing else called version.mk. Reviewed-by: Kenneth Graunke <[email protected]>
* Add bin/compile to .gitignorePaul Berry2012-05-081-0/+1
| | | | Reviewed-by: Kenneth Graunke <[email protected]>
* bin/mklib: remove '-m32' for arm linuxHan Shen(沈涵)2012-04-231-2/+6
| | | | | | | | -m32 is not a valid option for ARM. NOTE: This is a candidate for the 8.0 branch. Signed-off-by: Brian Paul <[email protected]>
* Remove autoreconf generated filesMatt Turner2012-01-304-3241/+3
| | | | | Acked-by: Eric Anholt <[email protected]> Signed-off-by: Matt Turner <[email protected]>
* autoconf: use AC_PROG_YACC/LEXMatt Turner2012-01-301-0/+1
| | | | | | | | | | | Needed for automake. Using AC_PROG_PATH(bison/flex) causes automake to fail to build .y and .l files. It is up to the builder to use bison/flex instead of yacc/lex. Reviewed-by: Eric Anholt <[email protected]> Tested-by: Eric Anholt <[email protected]> Signed-off-by: Matt Turner <[email protected]>
* Add .gitignore files to exclude unit test build artifacts from gitPaul Berry2012-01-051-0/+2
| | | | | | | | | | | | | | | | | | | | With the addition of unit tests in commit 3ef3ba4d2eee36f64062a21ce030c3f4d8c4cac4, several additional build artifacts are created: bin/depcomp bin/missing tests/Makefile tests/Makefile.in tests/glx/Makefile tests/glx/Makefile.in tests/glx/.deps/ tests/glx/.gitignore This patch adds all of these files to .gitignore. Acked-by: Kenneth Graunke <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* mklib: tab cleanup, no functional changeAlexander von Gluck2011-12-271-1/+1
| | | | | Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* mklib: Add Haiku build supportAlexander von Gluck2011-12-261-0/+37
| | | | Signed-off-by: Brian Paul <[email protected]>
* mklib: fix static lib building by filtering out -L, -l optionsWayne E. Robertz2011-11-101-1/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: Remove support for BeOSIan Romanick2011-08-261-16/+0
| | | | | | | | | | Acked-by: Kristian Høgsberg <[email protected]> Acked-by: Marek Olšák <[email protected]> Acked-by: Alan Coopersmith <[email protected]> Acked-by: Jakob Bornecrantz <[email protected]> Acked-by: Dave Airlie <[email protected]> Build-Tested-by: Jakob Bornecrantz <[email protected]> Tested-by: Eugeni Dodonov <[email protected]>
* darwin: mklib: Make the real file match the idJeremy Huddleston2011-06-081-8/+3
| | | | | | | This makes mesa more consistent with glibtool and XCode where the generated file matches the dylib id rather using an extra symlink Signed-off-by: Jeremy Huddleston <[email protected]>
* mesa: don't call git if it's not git repositoryMarcin Slusarz2011-05-051-0/+4
| | | | | Reviewed-by: Dan Nicholson <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* mesa: don't touch git_sha1.h if sha1 didn't changeMarcin Slusarz2011-05-051-2/+8
| | | | | Reviewed-by: Dan Nicholson <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
* mesa: Include GIT SHA1 in GL version stringIan Romanick2011-04-051-0/+10
| | | | | | Reviewed-by: Corbin Simpson <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]> Tested-by: Sedat Dilek <[email protected]>
* mesa: fix build for NetBSDPierre Allegraud2011-01-061-15/+1
| | | | | | | | See http://bugs.freedesktop.org/show_bug.cgi?id=32859 NOTE: This is a candidate for the 7.9 and 7.10 branches. Signed-off-by: Brian Paul <[email protected]>
* Cygwin: Adjust mklib so -linker and -cplusplus options are processed more ↵Jon TURNEY2010-09-011-6/+10
| | | | | | | | | | like they are for linux It looks like we were ignoring -linker when -noprefix wasn't present, and when -noprefix was present, -linker was mandatory and -cplusplus ignored. Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Cygwin: Teach mklib/minstall to properly install libraries on cygwinJon TURNEY2010-09-012-1/+25
| | | | | | | | | | | | | | | | Teach mklib/minstall more about cygwin so libraries are properly installed Have mklib install the .dll into the lib/ staging directory as well Have minstall install the .dll into PREFIX/bin at the same time as installing the .dll.a link library into PREFIX/lib mklib uses a '-' rather than a '.' as the separator before the version number in library names on cygwin. Change the install globs so they match library names like that. Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Cygwin: Change mklib not to report the full archname on cygwinJon TURNEY2010-09-011-2/+2
| | | | | | | | | Change mklib not to report the full archname when building a library for cygwin (which is something like 'CYGWIN_NT-5.1' or 'CYGWIN_NT-6.1-WOW64' and kind of confusing), but just 'CYGWIN'. Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Cygwin: Have mklib exit with error code if link failsJon TURNEY2010-09-011-7/+2
| | | | | Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* mklib: Fix amd64 builds on Solaris when using Sun compilersAlan Coopersmith2010-03-121-4/+7
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* bin: Remove raw2png.py.José Fonseca2010-03-011-366/+0
| | | | Outdated, broken, and unused.
* Fixed mklib to properly merge static libraries on darwin.Alex Weiss2010-02-281-2/+10
| | | | Signed-off-by: Dan Nicholson <[email protected]>
* bin/mklib: Clear CDPATH to avoid damaging expand_archive outputKeith Packard2010-02-221-0/+4
| | | | | | | | | | | The bash 'cd' command tends to emit random stuff to stdout when the CDPATH variable is set, so clear it to keep extra filenames from being emitted from the expand_archive function, which would otherwise cause mklib to fail. Signed-off-by: Keith Packard <[email protected]> Reviewed-by: Dan Nicholson <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Cygwin build fix: Fix linkageJon TURNEY2010-02-201-1/+8
| | | | | | | | | | | | Fix the way we make static convenience libraries, such as libmesa.a, to be the same as linux etc. Putting archives inside archives doesn't make the objects inside the archive linkable, so use expand_archives() to get all the objects inside an archive out again before linking. Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Revert "Make mklib propogate all errors"Dan Nicholson2010-02-181-8/+0
| | | | | | | | This reverts commit d6f55492af3cb82b0113fe6beac0f3494b6e2956. It's both not portable and not safe to trap & exit on ERR. This will need to use a more invasive approach that tests return code only for selected, important commands.
* mklib: remove unused -contents_of_archives(), add commentsBrian Paul2010-02-181-21/+4
|
* Make mklib propogate all errorsJon TURNEY2010-02-181-0/+6
| | | | | Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* mklib: Teach mklib to fail build if link fails on cygwinBrian Paul2010-02-181-0/+5
| | | | | | | Signed-off-by: Jon TURNEY <[email protected]> Signed-off-by: Brian Paul <[email protected]> (cherry picked from commit 551c96979e643b409535afe868c42cac0d2285ad)
* mklib: Fix static library generation/installation on SolarisAlan Coopersmith2010-01-191-1/+1
| | | | | | | | Change ar flag from -v (-verbose) to -c (silence console output) so that it stops causing make_ar_static_lib() to return a bunch of output other than the resulting library file. Signed-off-by: Alan Coopersmith <[email protected]>
* 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
* util: Remove homegrown Windows KM profiler.José Fonseca2009-11-041-309/+0
| | | | | It's not sampling based so its results are biased towards functions called many times.
* 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]>
* minstall: Don't copy over an identical fileCarl Worth2009-05-211-2/+5
| | | | | | | The rationale here is to avoid updating a timestamp for a file that hasn't changed. Needless updates of the timestamp can ripple into other projects, (xserver, etc.), useless recompiling due to a 'make install' in mesa that didn't actually change anything.
* 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]>
* autoconf: Update config.guess and config.sub from upstreamDan Nicholson2009-03-032-34/+132
| | | | | Grabbed the latest copies from the GNU config repo at http://git.savannah.gnu.org/cgit/config.git .
* Merge commit 'origin/master' into gallium-0.2Keith Whitwell2008-10-101-1/+23
|\ | | | | | | | | | | | | Conflicts: src/mesa/glapi/descrip.mms src/mesa/shader/grammar/descrip.mms
| * 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.