calc: on editing invalidation of view with different zoom is wrong
[LibreOffice.git] / bin / lo-all-static-libs
blob009ddce23730aac9648617cdc42c107da3553422
1 #!/bin/sh
3 # Output a list of all our (static) libraries, to be used when
4 # building the single executable or single dynamic object that is used
5 # in an LO-based iOS or Android app. (All our libraries and bundled
6 # 3rd-party ones are built as static archives for these platforms.)
8 # This script is to be run once a full "make" for iOS or Android has
9 # otherwise completed, when just building the actual apps is left.
11 if test -z "$INSTDIR" ; then
12 echo This script should be invoked only in a build.
13 exit 1
16 if test "$OS" != ANDROID -a "$OS" != iOS; then
17 echo This script makes sense only in Android or iOS builds.
20 foolibs=
21 for var in EBOOK_LIBS FREEHAND_LIBS HARFBUZZ_LIBS HUNSPELL_LIBS HYPHEN_LIB MYTHES_LIBS; do
22 dirs=
23 libs=
24 for i in `eval echo '$'$var`; do
25 case "$i" in
26 -L*) dirs="$dirs ${i#-L}";;
27 -l*) libs="$libs ${i#-l}";;
28 esac
29 done
30 for l in $libs; do
31 for d in $dirs; do
32 test -f $d/lib$l.a && foolibs="$foolibs $d/lib$l.a"
33 done
34 done
35 done
37 case $OS in
38 ANDROID)
39 oslibs="$WORKDIR/UnpackedTarball/curl/lib/.libs/*.a"
40 oslibs="$oslibs $WORKDIR/UnpackedTarball/fontconfig/src/.libs/libfontconfig.a"
41 oslibs="$oslibs $WORKDIR/UnpackedTarball/freetype/objs/.libs/libfreetype.a"
42 oslibs="$oslibs $WORKDIR/UnpackedTarball/pixman/pixman/.libs/libpixman-1.a"
43 oslibs="$oslibs $WORKDIR/UnpackedTarball/cairo/src/.libs/libcairo.a"
44 oslibs="$oslibs $WORKDIR/UnpackedTarball/xmlsec/src/.libs/libxmlsec1.a"
45 oslibs="$oslibs $WORKDIR/UnpackedTarball/xmlsec/src/nss/.libs/libxmlsec1-nss.a"
46 # Only liblo-bootstrap.a ends up here:
47 oslibs="$oslibs $WORKDIR/LinkTarget/Library/lib*.a"
48 oslibs="$oslibs $WORKDIR/UnpackedTarball/openssl/*.a"
50 # coinmp not used for iOS
51 oslibs="$oslibs $WORKDIR/UnpackedTarball/coinmp/Cbc/src/.libs/*.a"
52 oslibs="$oslibs $WORKDIR/UnpackedTarball/coinmp/Cgl/src/.libs/*.a"
53 oslibs="$oslibs $WORKDIR/UnpackedTarball/coinmp/Clp/src/.libs/*.a"
54 oslibs="$oslibs $WORKDIR/UnpackedTarball/coinmp/Clp/src/OsiClp/.libs/*.a"
55 oslibs="$oslibs $WORKDIR/UnpackedTarball/coinmp/CoinMP/src/.libs/*.a"
56 oslibs="$oslibs $WORKDIR/UnpackedTarball/coinmp/CoinUtils/src/.libs/*.a"
57 oslibs="$oslibs $WORKDIR/UnpackedTarball/coinmp/Osi/src/Osi/.libs/*.a"
59 iOS)
60 oslibs="$WORKDIR/UnpackedTarball/icu/source/stubdata/*.a"
61 oslibs="$oslibs $WORKDIR/UnpackedTarball/cppunit/src/cppunit/.libs/*.a"
63 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nspr/out/lib/ds/*.a"
64 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nspr/out/lib/libc/src/*.a"
65 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nspr/out/pr/src/*.a"
66 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/base/out/*.a"
67 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/certdb/out/*.a"
68 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/certhigh/out/*.a"
70 # Yes, individual object files here, these are not in any .a
71 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/ckfw/builtins/out/*.o"
73 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/ckfw/out/*.a"
74 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/cryptohi/out/*.a"
75 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/dev/out/*.a"
76 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/freebl/out/*.a"
77 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/*.o"
78 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/freebl/out/Darwin_SINGLE_SHLIB/deprecated/*.o"
79 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix/certsel/out/*.a"
80 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix/checker/out/*.a"
81 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix/crlsel/out/*.a"
82 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix/params/out/*.a"
83 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix/results/out/*.a"
84 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix/store/out/*.a"
85 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix/top/out/*.a"
86 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix/util/out/*.a"
87 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix_pl_nss/module/out/*.a"
88 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix_pl_nss/pki/out/*.a"
89 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/libpkix/pkix_pl_nss/system/out/*.a"
90 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/nss/out/*.a"
91 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/pk11wrap/out/*.a"
92 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/pkcs12/out/*.a"
93 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/pkcs7/out/*.a"
94 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/pki/out/*.a"
95 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/smime/out/*.a"
96 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/softoken/out/*.a"
97 oslibs="$oslibs $WORKDIR/UnpackedTarball/nss/nss/lib/util/out/*.a"
99 oslibs="$oslibs $WORKDIR/UnpackedTarball/curl/lib/.libs/*.a"
101 oslibs="$oslibs $WORKDIR/UnpackedTarball/xmlsec/src/nss/.libs/*.a"
102 oslibs="$oslibs $WORKDIR/UnpackedTarball/xmlsec/src/.libs/*.a"
105 oslibs=
107 esac
109 echo $INSTDIR/$LIBO_LIB_FOLDER/lib*.a \
110 $foolibs \
111 $WORKDIR/LinkTarget/StaticLibrary/lib*.a \
112 $oslibs \
113 $WORKDIR/UnpackedTarball/icu/source/lib/*.a \
114 $WORKDIR/UnpackedTarball/liblangtag/liblangtag/.libs/*.a \
115 $WORKDIR/UnpackedTarball/lcms2/src/.libs/*.a \
116 $WORKDIR/UnpackedTarball/libabw/src/lib/.libs/*.a \
117 $WORKDIR/UnpackedTarball/libcdr/src/lib/.libs/*.a \
118 $WORKDIR/UnpackedTarball/libepubgen/src/lib/.libs/*.a \
119 $WORKDIR/UnpackedTarball/libexttextcat/src/.libs/*.a \
120 $WORKDIR/UnpackedTarball/libmspub/src/lib/.libs/*.a \
121 $WORKDIR/UnpackedTarball/libmwaw/src/lib/.libs/*.a \
122 $WORKDIR/UnpackedTarball/libnumbertext/src/.libs/*.a \
123 $WORKDIR/UnpackedTarball/libodfgen/src/.libs/*.a \
124 $WORKDIR/UnpackedTarball/liborcus/src/*/.libs/*.a \
125 $WORKDIR/UnpackedTarball/librevenge/src/*/.libs/*.a \
126 $WORKDIR/UnpackedTarball/libvisio/src/lib/.libs/*.a \
127 $WORKDIR/UnpackedTarball/libtiff/libtiff/.libs/*.a \
128 $WORKDIR/UnpackedTarball/libwebp/src/.libs/*.a \
129 $WORKDIR/UnpackedTarball/libwebp/sharpyuv/.libs/*.a \
130 $WORKDIR/UnpackedTarball/libwp?/src/lib/.libs/*.a \
131 $WORKDIR/UnpackedTarball/raptor/src/.libs/*.a \
132 $WORKDIR/UnpackedTarball/rasqal/src/.libs/*.a \
133 $WORKDIR/UnpackedTarball/redland/src/.libs/*.a \
134 $WORKDIR/UnpackedTarball/libxml2/.libs/*.a \
135 $WORKDIR/UnpackedTarball/libxslt/libxslt/.libs/*.a