2013-01-03 13:29:08 +02:00
|
|
|
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
|
|
#
|
2013-03-28 23:16:12 +02:00
|
|
|
$(eval $(call gb_Executable_Executable,LibreOffice))
|
2013-01-03 13:29:08 +02:00
|
|
|
|
2013-03-28 23:16:12 +02:00
|
|
|
$(eval $(call gb_Executable_use_api,LibreOffice,\
|
2013-01-03 13:29:08 +02:00
|
|
|
udkapi \
|
|
|
|
offapi \
|
|
|
|
))
|
|
|
|
|
2013-03-28 23:16:12 +02:00
|
|
|
$(eval $(call gb_Executable_use_externals,LibreOffice,\
|
2013-01-30 11:42:47 +02:00
|
|
|
boost_headers \
|
2013-01-03 13:29:08 +02:00
|
|
|
iconv \
|
|
|
|
zlib \
|
|
|
|
))
|
|
|
|
|
2013-03-28 23:16:12 +02:00
|
|
|
$(eval $(call gb_Executable_use_system_darwin_frameworks,LibreOffice,\
|
2013-01-03 13:29:08 +02:00
|
|
|
Foundation \
|
|
|
|
CoreFoundation \
|
|
|
|
CoreGraphics \
|
|
|
|
CoreText \
|
|
|
|
UIKit \
|
|
|
|
))
|
|
|
|
|
2014-01-01 18:37:02 +02:00
|
|
|
$(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 \
|
|
|
|
> $@
|
|
|
|
|
2013-03-28 23:16:12 +02:00
|
|
|
$(eval $(call gb_Executable_add_objcxxobjects,LibreOffice,\
|
|
|
|
ios/experimental/LibreOffice/LibreOffice/lo \
|
2013-01-03 13:29:08 +02:00
|
|
|
))
|
|
|
|
|
2013-03-28 23:16:12 +02:00
|
|
|
$(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 \
|
2013-03-20 09:07:52 +02:00
|
|
|
))
|
|
|
|
|
|
|
|
# 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".
|
|
|
|
|
2013-11-22 17:05:19 +02:00
|
|
|
$(WORKDIR)/LinkTarget/Executable/LibreOffice : $(shell $(SRCDIR)/bin/lo-all-static-libs)
|
2013-03-20 09:07:52 +02:00
|
|
|
|
2013-01-03 13:29:08 +02:00
|
|
|
# vim: set ts=4 sw=4 et:
|