office-gobmx/ios/Executable_LibreOffice.mk
Matúš Kukan 4be366de58 native code generator: Do not use single_component_map anymore.
Put cui and spl into extended_code and ignore the rest.

Also change DocumentLoader and LibreOffice4Android to use only
extended_core and writer as all the ios apps do, without knowing what is
really needed there.

Change-Id: Ic6a256ea47cc96132c0e7658d6ef2838b295ca71
2014-01-02 14:40:07 +01:00

51 lines
1.4 KiB
Makefile

# -*- 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_generated_cxxobjects,LibreOffice,\
CustomTarget/ios/LibreOffice/native-code \
))
$(call gb_CustomTarget_get_workdir,ios/LibreOffice)/native-code.cxx :
mkdir -p `dirname $@`
$(SRCDIR)/solenv/bin/native-code.py \
-g extended_core -g writer \
> $@
$(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 \
))
# 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".
$(WORKDIR)/LinkTarget/Executable/LibreOffice : $(shell $(SRCDIR)/bin/lo-all-static-libs)
# vim: set ts=4 sw=4 et: