Last change
on this file since 668 was
28,
checked in by arnault, 20 years ago
|
Set exe bits to *.sh
|
-
Property svn:eol-style set to
native
-
Property svn:executable set to
*
|
File size:
644 bytes
|
Line | |
---|
1 | #!/bin/sh -f |
---|
2 | |
---|
3 | #set -x |
---|
4 | |
---|
5 | lib=$1 |
---|
6 | |
---|
7 | if test `uname` = "HP-UX" ; then |
---|
8 | /bin/rm -f lib${lib}.sl |
---|
9 | |
---|
10 | objs=`ls *.o` |
---|
11 | if test ! "$objs" = "" ; then |
---|
12 | /bin/rm -f *.o |
---|
13 | fi |
---|
14 | ar x ../lib${lib}.a |
---|
15 | ld -b -o lib${lib}.sl *.o $2 -lc |
---|
16 | /bin/rm -f *.o |
---|
17 | fi |
---|
18 | |
---|
19 | if test `uname` = "OSF1" ; then |
---|
20 | /bin/rm -f lib${lib}.so |
---|
21 | ld -shared -o lib${lib}.so -all ../lib${lib}.a $2 -lc -rpath `dirs` |
---|
22 | cxx -Wl,shared,all -o lib${lib}.so ../lib${lib}.a $2 -lc -rpath `dirs` |
---|
23 | fi |
---|
24 | |
---|
25 | if test `uname` = "SunOS" ; then |
---|
26 | # objs=`ls *.o` |
---|
27 | # if test ! "$objs" = "" ; then |
---|
28 | # /bin/rm -f *.o |
---|
29 | # endif |
---|
30 | # ar x ../lib${lib}.a |
---|
31 | # $CILINK -o lib${lib}.so *.o $2 -lc |
---|
32 | # /bin/rm -f *.o |
---|
33 | fi |
---|
34 | |
---|
35 | |
---|
Note: See
TracBrowser
for help on using the repository browser.