summaryrefslogtreecommitdiff
path: root/basebmp/StaticLibrary_basebmp.mk
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-08-23 22:23:33 +0300
committerTor Lillqvist <tml@iki.fi>2012-08-23 22:26:01 +0300
commita1aed54fee058fdedb7d50b96291af701a327e57 (patch)
tree6905adb5b1612dbbeced9e28dbb4010b0a9b9120 /basebmp/StaticLibrary_basebmp.mk
parent0d2ed78dad772e62ce8e50be95e445a86742ab9b (diff)
Build basebmp as a static library for Android
Reduces shared library count by one... This is tedious. Change-Id: I3bdc0a5c4ee4cabf9bbcedc469ca6e94d0103d6b
Diffstat (limited to 'basebmp/StaticLibrary_basebmp.mk')
-rw-r--r--basebmp/StaticLibrary_basebmp.mk37
1 files changed, 37 insertions, 0 deletions
diff --git a/basebmp/StaticLibrary_basebmp.mk b/basebmp/StaticLibrary_basebmp.mk
new file mode 100644
index 000000000000..29f3d5906bb0
--- /dev/null
+++ b/basebmp/StaticLibrary_basebmp.mk
@@ -0,0 +1,37 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_StaticLibrary_StaticLibrary,basebmp))
+
+$(eval $(call gb_StaticLibrary_use_package,basebmp,basebmp_inc))
+
+$(eval $(call gb_StaticLibrary_use_sdk_api,basebmp))
+
+$(eval $(call gb_StaticLibrary_use_libraries,basebmp,\
+ basegfx \
+ sal \
+ $(gb_STDLIBS) \
+))
+
+$(eval $(call gb_StaticLibrary_set_include,basebmp,\
+ -I$(SRCDIR)/basebmp/inc/ \
+ $$(INCLUDE) \
+))
+
+$(eval $(call gb_StaticLibrary_add_defs,basebmp,\
+ -DBASEBMP_DLLIMPLEMENTATION \
+))
+
+$(eval $(call gb_StaticLibrary_add_exception_objects,basebmp,\
+ basebmp/source/bitmapdevice \
+ basebmp/source/debug \
+ basebmp/source/polypolygonrenderer \
+))
+
+# vim: set noet sw=4 ts=4: