diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 1999-08-19 13:52:56 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 1999-08-19 13:52:56 +0000 |
commit | 2d550f6ff1afa3189874c99cfe4125362ee76797 (patch) | |
tree | 57a8ad3b79c027a88e7ed2f0ca27844bd82eb5c1 /bin/mklib.ar-ruv | |
parent | 5a41d02502185b0716c1006bfe79ce0504fcee85 (diff) | |
download | mesa-2d550f6ff1afa3189874c99cfe4125362ee76797.tar.gz |
initial check-in (post-crash)
Diffstat (limited to 'bin/mklib.ar-ruv')
-rwxr-xr-x | bin/mklib.ar-ruv | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/bin/mklib.ar-ruv b/bin/mklib.ar-ruv new file mode 100755 index 00000000000..4562308c027 --- /dev/null +++ b/bin/mklib.ar-ruv @@ -0,0 +1,39 @@ +#!/bin/sh + +# Make a standard Unix .a library file with 'ar ruv' + +#--identification------------------------------------------------------ + +# $Id: mklib.ar-ruv,v 1.1 1999/08/19 13:52:57 brianp Exp $ + +# $Log: mklib.ar-ruv,v $ +# Revision 1.1 1999/08/19 13:52:57 brianp +# initial check-in (post-crash) +# + + +#--common-------------------------------------------------------------- + +# Usage: mklib libname major minor file.o ... +# +# First argument is name of output library (LIBRARY) +# Second arg is major version number (MAJOR) +# Third arg is minor version number (MINOR) +# Rest of arguments are object files (OBJECTS) + +LIBRARY=$1 +shift 1 + +MAJOR=$1 +shift 1 + +MINOR=$1 +shift 1 + +OBJECTS=$* + +#--platform------------------------------------------------------------- + +#ar ruv $LIBRARY $OBJECTS +ar ru $LIBRARY $OBJECTS + |