diff options
Diffstat (limited to 'ios/Executable_LibreOffice.mk')
-rw-r--r-- | ios/Executable_LibreOffice.mk | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/ios/Executable_LibreOffice.mk b/ios/Executable_LibreOffice.mk new file mode 100644 index 000000000000..badc09f899c6 --- /dev/null +++ b/ios/Executable_LibreOffice.mk @@ -0,0 +1,57 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# +$(eval $(call gb_Executable_Executable,LibreOffice)) + +$(eval $(call gb_Executable_use_api,LibreOffice,\ + udkapi \ + offapi \ +)) + +$(eval $(call gb_Executable_use_externals,LibreOffice,\ + boost_headers \ + iconv \ + zlib \ +)) + +$(eval $(call gb_Executable_use_system_darwin_frameworks,LibreOffice,\ + Foundation \ + CoreFoundation \ + CoreGraphics \ + CoreText \ + UIKit \ +)) + +$(eval $(call gb_Executable_add_objcxxobjects,LibreOffice,\ + ios/experimental/LibreOffice/LibreOffice/lo \ +)) + +$(eval $(call gb_Executable_add_objcobjects,LibreOffice,\ + ios/experimental/LibreOffice/LibreOffice/AppDelegate \ + ios/experimental/LibreOffice/LibreOffice/main \ + ios/experimental/LibreOffice/LibreOffice/View \ + ios/experimental/LibreOffice/LibreOffice/ViewController \ +)) + +# The executables built for iOS link to all LO libs statically. The +# link command just uses the wildcard function to list all of them. +# Instead of tediously here declare dependencies on the transitive +# closure of those from which some object ends up being linked in, we +# list a few libraries that are high in the dependency forest to make +# it likely that all necessary libraries are built before this +# executable is. +$(eval $(call gb_Executable_use_libraries,LibreOffice,\ + msword \ + sal \ + sc \ + scfilt \ + sdfilt \ + swui \ +)) + +# Mark the executable as depending on all libraries so that it gets +# rebuilt if any library has been rebuilt. Avoids need for "make +# ios.clean". + +$(call gb_LinkTarget_get_target,Executable/LibreOffice) : $(wildcard $(OUTDIR)/lib/lib*.a) + +# vim: set ts=4 sw=4 et: |