summaryrefslogtreecommitdiff
path: root/hyphen/Module_hyphen.mk
diff options
context:
space:
mode:
authorPeter Foley <pefoley2@verizon.net>2012-11-03 13:54:46 -0400
committerPeter Foley <pefoley2@verizon.net>2012-11-03 14:45:45 -0400
commitdd584cb4eaad85d458ee2dc58480ec3ea7a2a311 (patch)
tree502aeb6555337f15d3fb20768585f7feabae3e2a /hyphen/Module_hyphen.mk
parent7bcf400f379613d52787f213ee867a24637d4ead (diff)
convert hyphen to gbuild
Change-Id: I55b3832128aa096eb44b67a26ec2afeb6c573604
Diffstat (limited to 'hyphen/Module_hyphen.mk')
-rw-r--r--hyphen/Module_hyphen.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/hyphen/Module_hyphen.mk b/hyphen/Module_hyphen.mk
new file mode 100644
index 000000000000..2ab3245d17a3
--- /dev/null
+++ b/hyphen/Module_hyphen.mk
@@ -0,0 +1,32 @@
+# -*- 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_Module_Module,hyphen))
+
+ifneq ($(or $(filter NO,$(SYSTEM_HYPH)),$(filter TRUE,$(WITH_MYSPELL_DICTS))),)
+$(eval $(call gb_Module_add_targets,hyphen,\
+ UnpackedTarball_hyphen \
+ ExternalPackage_hyphen \
+))
+ifeq ($(COM),MSC)
+
+ifeq ($(SYSTEM_HYPH),NO)
+$(eval $(call gb_Module_add_targets,hyphen,\
+ StaticLibrary_hyphen \
+))
+endif
+
+else
+$(eval $(call gb_Module_add_targets,hyphen,\
+ ExternalProject_hyphen \
+))
+endif
+endif
+
+# vim: set noet sw=4 ts=4: