summaryrefslogtreecommitdiff
path: root/vcl/StaticLibrary_vclmain.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-07-14 11:02:21 +0300
committerTor Lillqvist <tml@iki.fi>2011-07-14 23:58:01 +0300
commit5a7834cd3e6e73ec9c19f3ff057aacba59e3f9a3 (patch)
treec31868e985a0d17fbcc616575cb278cc8e4a88c6 /vcl/StaticLibrary_vclmain.mk
parentd08bf1ca63e51c950ed0bc84b6f1d5232ae97f38 (diff)
iOS hacking
Add some trivialish first attempts at iOS-specific headers and some source files that surely are quite bogus and does nothing sane, but must start with something. Mostly based on the MacOSX ("aqua") code.
Diffstat (limited to 'vcl/StaticLibrary_vclmain.mk')
-rw-r--r--vcl/StaticLibrary_vclmain.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/StaticLibrary_vclmain.mk b/vcl/StaticLibrary_vclmain.mk
index 79b3ddd3ad5f..4c313f88b082 100644
--- a/vcl/StaticLibrary_vclmain.mk
+++ b/vcl/StaticLibrary_vclmain.mk
@@ -27,6 +27,13 @@
$(eval $(call gb_StaticLibrary_StaticLibrary,vclmain))
+ifeq ($(OS),IOS)
+$(eval $(call gb_StaticLibrary_set_cxxflags,vclmain,\
+ $$(CXXFLAGS) \
+ -x objective-c++ -fobjc-abi-version=2 -fobjc-legacy-dispatch -D__IPHONE_OS_VERSION_MIN_REQUIRED=40300 \
+))
+endif
+
$(eval $(call gb_StaticLibrary_set_include,vclmain,\
$$(INCLUDE) \
-I$(realpath $(SRCDIR)/vcl/inc) \
@@ -36,6 +43,7 @@ $(eval $(call gb_StaticLibrary_set_include,vclmain,\
))
$(eval $(call gb_StaticLibrary_add_api,vclmain,\
+ offapi \
udkapi \
))