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.
16 if test "$OS" != ANDROID
-a "$OS" != IOS
; then
17 echo This
script makes sense only
in Android or iOS builds.
21 for var
in EBOOK_LIBS FREEHAND_LIBS HARFBUZZ_LIBS HUNSPELL_LIBS HYPHEN_LIB MYTHES_LIBS
; do
24 for i
in `eval echo '$'$var`; do
26 -L*) dirs="$dirs ${i#-L}";;
27 -l*) libs
="$libs ${i#-l}";;
32 test -f $d/lib
$l.a
&& foolibs
="$foolibs $d/lib$l.a"
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 # Only liblo-bootstrap.a ends up here:
43 oslibs
="$oslibs $WORKDIR/LinkTarget/Library/lib*.a"
46 oslibs
="$WORKDIR/UnpackedTarball/icu/source/stubdata/*.a"
47 oslibs
="$oslibs $WORKDIR/UnpackedTarball/xmlsec/src/.libs/*.a"
48 oslibs
="$oslibs $WORKDIR/UnpackedTarball/xmlsec/src/nss/.libs/*.a"
50 # The NSS dylibs (which we don't build for iOS) are constructed
51 # from a bunch of static archives and some freestanding object
52 # files (that are not present in any of the static archives). We
53 # need the latter too, so collect them here into an archive of
55 ar cr
$WORKDIR/UnpackedTarball
/nss
/nss
/lib
/ckfw
/builtins
/out
/libLOtemp.a \
56 $WORKDIR/UnpackedTarball
/nss
/nss
/lib
/ckfw
/builtins
/out
/*.o \
57 $WORKDIR/UnpackedTarball
/nss
/nss
/lib
/freebl
/out
/Darwin_SINGLE_SHLIB
/*.o
59 nsslibs
=`find $WORKDIR/UnpackedTarball/nss -name 'lib*.a'`
66 echo $INSTDIR/$LIBO_LIB_FOLDER/lib
*.a \
68 $WORKDIR/LinkTarget
/StaticLibrary
/lib
*.a \
71 $WORKDIR/UnpackedTarball
/coinmp
/Cbc
/src
/.libs
/*.a \
72 $WORKDIR/UnpackedTarball
/coinmp
/Cgl
/src
/.libs
/*.a \
73 $WORKDIR/UnpackedTarball
/coinmp
/Clp
/src
/.libs
/*.a \
74 $WORKDIR/UnpackedTarball
/coinmp
/Clp
/src
/OsiClp
/.libs
/*.a \
75 $WORKDIR/UnpackedTarball
/coinmp
/CoinMP
/src
/.libs
/*.a \
76 $WORKDIR/UnpackedTarball
/coinmp
/CoinUtils
/src
/.libs
/*.a \
77 $WORKDIR/UnpackedTarball
/coinmp
/Osi
/src
/Osi
/.libs
/*.a \
78 $WORKDIR/UnpackedTarball
/glew
/lib
/*.a \
79 $WORKDIR/UnpackedTarball
/icu
/source
/lib
/*.a \
80 $WORKDIR/UnpackedTarball
/lcms
2/src
/.libs
/*.a \
81 $WORKDIR/UnpackedTarball
/libabw
/src
/lib
/.libs
/*.a \
82 $WORKDIR/UnpackedTarball
/libcdr
/src
/lib
/.libs
/*.a \
83 $WORKDIR/UnpackedTarball
/libmspub
/src
/lib
/.libs
/*.a \
84 $WORKDIR/UnpackedTarball
/libmwaw
/src
/lib
/.libs
/*.a \
85 $WORKDIR/UnpackedTarball
/libodfgen
/src
/.libs
/*.a \
86 $WORKDIR/UnpackedTarball
/liborcus
/src
/*/.libs
/*.a \
87 $WORKDIR/UnpackedTarball
/libvisio
/src
/lib
/.libs
/*.a \
88 $WORKDIR/UnpackedTarball
/libwp?
/src
/lib
/.libs
/*.a \
89 $WORKDIR/UnpackedTarball
/openssl
/*.a \
90 $WORKDIR/UnpackedTarball
/raptor
/src
/.libs
/*.a \
91 $WORKDIR/UnpackedTarball
/rasqal
/src
/.libs
/*.a \
92 $WORKDIR/UnpackedTarball
/redland
/src
/.libs
/*.a \
93 $WORKDIR/UnpackedTarball
/xml
2/.libs
/*.a \
94 $WORKDIR/UnpackedTarball
/xslt
/libxslt
/.libs
/*.a