]>
git.saurik.com Git - wxWidgets.git/blob - install/unix/setup/shared/sharedAIX
9 while (test $# -ne 1) do
11 LIBRARY_OBJS
="$LIBRARY_OBJS $1sh";
14 LIBRARY_BASE
=`echo $LIBRARY_BASE | sed 's/.so/.sa/'`
15 LIBRARY_NAME
=`basename $LIBRARY_BASE`
16 LIBRARY_FILE
=$LIBRARY_BASE
18 echo "Creating shared library: $LIBRARY_FILE"
20 ar cr
$LIBRARY_FILE~
$LIBRARY_OBJS
21 nm
$LIBRARY_OBJS | awk '/ [BD] /{print $$3}' | sort | uniq > ${LIBRARY_FILE}.syms
22 ld
-o shr.o
$LIBRARY_FILE~
-lX11 -lXt -lc -lm -H512 -T512 -bE:${LIBRARY_FILE}.syms
-bM:SRE
24 ar ruv
$LIBRARY_FILE shr.o
25 chmod a
+x
$LIBRARY_FILE