Commit Graph

370 Commits

Author SHA1 Message Date
Brian 98abd1bbc8 simplify .a suffixing 2007-03-27 07:58:47 -06:00
Bernardo Innocenti a9455bb9a7 remove static lib before building to make more bulletproof 2007-03-27 07:56:34 -06:00
Michel Dänzer 26626c0052 minstall: Pass correct destination file path to $RM regardless of source path. 2006-12-11 17:45:06 +01:00
Michel Dänzer d71a5647a3 minstall: Always remove destination file before (re-)creating it.
This avoids issues with overwriting files that are being used.
2006-12-11 17:36:35 +01:00
Brian Paul 0a3a1c6ae9 fix -noprefix option for Solaris (bug 7722) 2006-11-10 12:47:56 +00:00
Brian Paul 464fcd0dd8 New bin/minstall script - a minimal replacement for 'install'.
Correctly handles symlinks so we can get rid of the COPY_LIBS stuff.
2006-10-19 20:09:05 +00:00
Adam Jackson 3775b566fa mkdir -> mkdir -p, since /usr/include might not exist in the installroot yet 2006-08-10 20:24:50 +00:00
Brian Paul 65897c04c8 don't create include/GLES yet 2006-06-16 13:41:05 +00:00
Brian Paul 5beff7c6c1 updates for GNU/Hurd (bug 6657) 2006-04-19 14:03:04 +00:00
Brian Paul b3282a3b9d assorted AIX, IRIX fixes from Dan Schikore 2006-04-18 12:56:11 +00:00
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.
2006-04-14 14:14:51 +00:00
Brian Paul 56e0ee8efe remove the -dlopen option. Always make both kinds of libs for AIX, Darwin. 2006-04-13 15:17:50 +00:00
Brian Paul fe14cf6951 Fixes for AIX, SunOS, Darwin. -dlopen flag to build dlopen()'able modules
for AIX, Darwin.  (Dan Schikore)
2006-04-13 02:23:25 +00:00
Brian Paul 59ebe1ff77 pass -m32 or -m64 to linker for SunOS as needed (bug 6484) 2006-04-05 13:43:02 +00:00
Brian Paul ef8b89faee some comments for Darwin 2006-03-30 14:28:28 +00:00
Brian Paul a5033a0421 fix AIX issues (bug 5874) 2006-02-14 14:57:04 +00:00
Brian Paul 30cc822163 install GLw headers (bug 5396) 2006-01-04 20:10:16 +00:00
Brian Paul 413a49ce59 special-case Darwin (bug 4509) 2006-01-04 20:06:13 +00:00
Eric Anholt 1c04be573e Fix FreeBSD build by building libGL in the order desired, and doing a fix to my
mklib changes.
2005-10-22 01:41:40 +00:00
Brian Paul 32a7ab2197 Darwin version fix (SF bug 1334274) 2005-10-21 15:39:42 +00:00
Eric Anholt b83435f53b Attempt to fix libGL on FreeBSD, where the library was being built without any
dependencies, breaking builds of third-party software.
2005-10-18 23:36:40 +00:00
Brian Paul 7a534dcab1 remove .a file before creating new one 2005-09-14 02:18:09 +00:00
Brian Paul 7bb7f97594 fix FreeBSD problem (bug 4435) 2005-09-13 13:36:47 +00:00
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.
2005-08-08 23:22:46 +00:00
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.
2005-08-08 03:26:18 +00:00
Brian Paul 7c1ab40898 Add license/copyright.
Add -h/--help option for usage.
Minor clean-ups.
2005-07-25 23:49:50 +00:00
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.
2005-07-25 22:59:58 +00:00
Brian Paul ccda2162f6 fix Darwin dynamic lib naming 2005-06-30 02:33:25 +00:00
Jon Smirl 40b8b57ed4 Make install install GLES too 2005-06-05 02:10:58 +00:00
Brian Paul 3e1961839e if building 32-bit objects in 64-bit environment, use -m32 flag 2005-03-03 01:38:13 +00:00
Dave Airlie a2990a9d73 Add DESTDIR install target 2005-02-21 00:20:19 +00:00
Brian Paul 0d5e6ccfd6 fixed OSF/1 shared lib problem (bug 1065260) 2004-11-29 17:23:12 +00:00
Brian Paul b17a1a1826 merge the AIX and AIX64 cases 2004-11-01 22:28:42 +00:00
Brian Paul 158a251a6b added initial support for -exports option, Linux/OpenBSD only for now 2004-10-16 15:10:45 +00:00
Brian Paul c498742768 if CXX or CC env vars aren't set, use g++, gcc by default (Linux) 2004-10-16 15:02:16 +00:00
Karl Schultz a16bdb5fb7 Enable builds on AIX 64-bit 2004-10-01 13:33:26 +00:00
Brian Paul b784b8f21f indentation fixes 2004-08-14 14:30:36 +00:00
Philippe Houdoin ef4dd5ad79 Update BeOS mklib to set mimetype and version.
Static lib build support added.
2004-08-14 10:12:38 +00:00
Brian Paul 76cfed853f added commands for AIX shared libs (Shane Blackett) 2004-07-01 15:33:14 +00:00
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.
2004-06-25 22:51:39 +00:00
Brian Paul ac0cfee885 fix HP-UX typo (bug 941576) 2004-04-25 15:13:56 +00:00
Brian Paul 580548d046 added CYGWIN support 2004-04-22 16:16:42 +00:00
Brian Paul c50d77a7f1 minor tweak for Darwin 2004-04-13 17:35:17 +00:00
Brian Paul dd74e36763 added -noprefix option for making DRI drivers 2004-04-08 22:26:22 +00:00
Brian Paul 52fb07e2b2 merge from 6.0.1 branch 2004-03-30 14:47:02 +00:00
Brian Paul 04800374ee obsolete 2004-03-26 15:48:21 +00:00
Brian Paul d8944fb6cf Mesa installation script 2004-03-26 15:19:53 +00:00
Brian Paul c05658d15e more Darwin tweaks 2004-03-25 21:18:32 +00:00
Brian Paul aaba0751d5 tweaks to Darwin code 2004-03-23 23:25:47 +00:00
Brian Paul c193bd0654 assorted updates and new AIX support (Dan Schikore) 2004-03-18 15:41:59 +00:00
Brian Paul 09a4f915d3 fix library naming glitches (bug 904867) 2004-02-26 15:21:41 +00:00
Brian Paul 6e450f22bb some minor tweaks 2004-02-21 18:08:41 +00:00
Brian Paul 5396ab2742 bunch of assorted updates/changes 2004-02-12 14:48:52 +00:00
Brian Paul f8c31fcba3 more IRIX tweaks 2004-01-29 15:21:47 +00:00
Brian Paul dc8f8bd88f fix ARCHOPT typo 2004-01-29 14:46:16 +00:00
Brian Paul 9ca723f5f5 fix C++ link issues on IRIX 2004-01-28 22:54:33 +00:00
Brian Paul 5b9a9d46d4 tweak OpenBSD and SunOS commands 2004-01-17 18:31:12 +00:00
Brian Paul 4b603440f6 use -G not -shared for gcc on SunOS 2004-01-14 23:18:47 +00:00
Brian Paul 12d6caea08 Use same steps for Linux and OpenBSD.
Added AIX/gcc support.
2004-01-10 22:12:21 +00:00
Brian Paul b3b725b1e6 Assorted mklib tweaks.
Added Intel icc support to mklib.
2003-12-15 16:14:55 +00:00
Brian Paul 1a644b333c tweaks for SunOS 2003-12-06 17:57:12 +00:00
Brian Paul f023391e1a another tweak from Matt Sealey 2003-11-03 21:59:36 +00:00
Brian Paul e96a121010 prefix MAKELIB with TOP in default case (Matt Sealey) 2003-10-27 20:04:43 +00:00
Brian Paul 65e2ab3903 added MorphOS instructions (Matt Sealey) 2003-10-27 18:13:37 +00:00
Brian Paul 1c4b7116c4 Eric Plante's updates for OSMesa16. 2003-10-10 17:58:38 +00:00
Brian Paul 39c65bfb93 remove last of mklib.solaris stuff 2003-09-09 13:33:12 +00:00
Brian Paul 176108767d SunOS tweaks (Greg Menke) 2003-09-08 14:59:11 +00:00
Brian Paul 8c20c7ba0c Replace most mklib.* scripts with a new uber-mklib script with more features. 2003-06-01 16:21:45 +00:00
Brian Paul d9bb106726 added third, tiny version number to arguments 1999-09-15 15:10:20 +00:00
Brian Paul 2d550f6ff1 initial check-in (post-crash) 1999-08-19 13:52:56 +00:00