diff options
author | Peter Foley <pefoley2@verizon.net> | 2012-10-28 09:39:23 -0400 |
---|---|---|
committer | Peter Foley <pefoley2@verizon.net> | 2012-10-28 09:57:01 -0400 |
commit | 7e2c27cfb08d3444fbf896d6ab9138a0fbc09ece (patch) | |
tree | 8deb38ef6d11068fd211c81bfb1d26861c7b9d31 /mythes/ExternalProject_mythes.mk | |
parent | add SAL_WARN_UNUSED to some classes (diff) | |
download | core-7e2c27cfb08d3444fbf896d6ab9138a0fbc09ece.tar.gz core-7e2c27cfb08d3444fbf896d6ab9138a0fbc09ece.zip |
convert mythes to gbuild
Change-Id: I9c6b670a2df8b1d3a868d91737fcf93e7d40bcb4
Diffstat (limited to 'mythes/ExternalProject_mythes.mk')
-rw-r--r-- | mythes/ExternalProject_mythes.mk | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mythes/ExternalProject_mythes.mk b/mythes/ExternalProject_mythes.mk new file mode 100644 index 000000000000..87c5439703b9 --- /dev/null +++ b/mythes/ExternalProject_mythes.mk @@ -0,0 +1,27 @@ +# -*- 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,mythes)) + +$(eval $(call gb_ExternalProject_use_unpacked,mythes,mythes)) + +$(eval $(call gb_ExternalProject_register_targets,mythes,\ + build \ +)) + +$(call gb_ExternalProject_get_state_target,mythes,build): + cd $(EXTERNAL_WORKDIR) \ + && ./configure --disable-shared --with-pic \ + $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM) gio_can_sniff=no) \ + $(if $(filter NO,$(SYSTEM_HUNSPELL)),HUNSPELL_CFLAGS="-I$(OUTDIR)/inc/hunspell" HUNSPELL_LIBS="-L$(OUTDIR)/lib -lhunspell-1.3") \ + $(if $(filter C52U,$(COM)$(CPU)),CFLAGS="-m64") \ + && $(GNUMAKE) -j$(EXTMAXPROCESS) \ + && touch $@ + +# vim: set noet sw=4 ts=4: |