summaryrefslogtreecommitdiff
path: root/external/harfbuzz/ExternalProject_harfbuzz.mk
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-10-16 19:59:27 +0200
committerBjörn Michaelsen <bjoern.michaelsen@canonical.com>2013-10-17 09:50:18 +0000
commit268a3214073f95371b7e5ae35b95ca01967f0494 (patch)
treeb4f6bb87917ca11bdec1a06368e0e4a11c28c6ae /external/harfbuzz/ExternalProject_harfbuzz.mk
parentd879a74ee2d8baad5de4edc4e13144d3cc0c6bf0 (diff)
fdo#70393: move harfbuzz to a subdir of external
Change-Id: I3eaa6d95aaa1753822e20d21f90f39cadb939332 Reviewed-on: https://gerrit.libreoffice.org/6276 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Diffstat (limited to 'external/harfbuzz/ExternalProject_harfbuzz.mk')
-rw-r--r--external/harfbuzz/ExternalProject_harfbuzz.mk36
1 files changed, 36 insertions, 0 deletions
diff --git a/external/harfbuzz/ExternalProject_harfbuzz.mk b/external/harfbuzz/ExternalProject_harfbuzz.mk
new file mode 100644
index 000000000000..f49553d4b6c8
--- /dev/null
+++ b/external/harfbuzz/ExternalProject_harfbuzz.mk
@@ -0,0 +1,36 @@
+# -*- 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_ExternalProject_ExternalProject,harfbuzz))
+
+$(eval $(call gb_ExternalProject_use_autoconf,harfbuzz,build))
+
+$(eval $(call gb_ExternalProject_register_targets,harfbuzz,\
+ build \
+))
+
+$(eval $(call gb_ExternalProject_use_externals,harfbuzz,\
+ icu \
+))
+
+$(call gb_ExternalProject_get_state_target,harfbuzz,build) :
+ $(call gb_ExternalProject_run,build,\
+ ./configure \
+ --enable-static \
+ --disable-shared \
+ --with-pic \
+ --with-icu=yes \
+ --with-freetype=no \
+ --with-cairo=no \
+ --with-glib=no \
+ $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \
+ && (cd $(EXTERNAL_WORKDIR)/src && $(MAKE)) \
+ )
+
+# vim: set noet sw=4 ts=4: