From 093acfe13c8f63807c0d004b78844c6f39d1160c Mon Sep 17 00:00:00 2001 From: Peter Foley Date: Sat, 10 Nov 2012 11:47:50 -0500 Subject: cleanup libexttextcat naming Change-Id: I8aee95e0f93deaaf08046f544713af010a7f1e44 --- libexttextcat/ExternalPackage_exttextcat.mk | 22 +++++++++++++++++++++ libexttextcat/ExternalPackage_libexttextcat.mk | 22 --------------------- libexttextcat/ExternalProject_exttextcat.mk | 27 ++++++++++++++++++++++++++ libexttextcat/ExternalProject_libexttextcat.mk | 27 -------------------------- libexttextcat/Module_libexttextcat.mk | 6 +++--- libexttextcat/StaticLibrary_exttextcat.mk | 10 +++++----- libexttextcat/UnpackedTarball_exttextcat.mk | 18 +++++++++++++++++ libexttextcat/UnpackedTarball_libexttextcat.mk | 18 ----------------- 8 files changed, 75 insertions(+), 75 deletions(-) create mode 100644 libexttextcat/ExternalPackage_exttextcat.mk delete mode 100644 libexttextcat/ExternalPackage_libexttextcat.mk create mode 100644 libexttextcat/ExternalProject_exttextcat.mk delete mode 100644 libexttextcat/ExternalProject_libexttextcat.mk create mode 100644 libexttextcat/UnpackedTarball_exttextcat.mk delete mode 100644 libexttextcat/UnpackedTarball_libexttextcat.mk (limited to 'libexttextcat') diff --git a/libexttextcat/ExternalPackage_exttextcat.mk b/libexttextcat/ExternalPackage_exttextcat.mk new file mode 100644 index 000000000000..cf79b283cc80 --- /dev/null +++ b/libexttextcat/ExternalPackage_exttextcat.mk @@ -0,0 +1,22 @@ +# -*- 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_ExternalPackage_ExternalPackage,exttextcat,exttextcat)) + +ifneq ($(COM),MSC) + +$(eval $(call gb_ExternalPackage_use_external_project,exttextcat,exttextcat)) + +$(eval $(call gb_ExternalPackage_add_file,exttextcat,lib/libexttextcat.a,src/.libs/libexttextcat-1.0.a)) +ifeq ($(OS),WNT) +$(eval $(call gb_ExternalPackage_add_file,exttextcat,bin/libexttextcat.dll,src/.libs/libexttextcat.dll)) +endif + +endif +# vim: set noet sw=4 ts=4: diff --git a/libexttextcat/ExternalPackage_libexttextcat.mk b/libexttextcat/ExternalPackage_libexttextcat.mk deleted file mode 100644 index 21a1a90bcc82..000000000000 --- a/libexttextcat/ExternalPackage_libexttextcat.mk +++ /dev/null @@ -1,22 +0,0 @@ -# -*- 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_ExternalPackage_ExternalPackage,libexttextcat,libexttextcat)) - -ifneq ($(COM),MSC) - -$(eval $(call gb_ExternalPackage_use_external_project,libexttextcat,libexttextcat)) - -$(eval $(call gb_ExternalPackage_add_file,libexttextcat,lib/libexttextcat.a,src/.libs/libexttextcat-1.0.a)) -ifeq ($(OS),WNT) -$(eval $(call gb_ExternalPackage_add_file,libexttextcat,bin/libexttextcat.dll,src/.libs/libexttextcat.dll)) -endif - -endif -# vim: set noet sw=4 ts=4: diff --git a/libexttextcat/ExternalProject_exttextcat.mk b/libexttextcat/ExternalProject_exttextcat.mk new file mode 100644 index 000000000000..f439d08ac51f --- /dev/null +++ b/libexttextcat/ExternalProject_exttextcat.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,exttextcat)) + +$(eval $(call gb_ExternalProject_use_unpacked,exttextcat,exttextcat)) + +$(eval $(call gb_ExternalProject_register_targets,exttextcat,\ + build \ +)) + +$(call gb_ExternalProject_get_state_target,exttextcat,build): + cd $(EXTERNAL_WORKDIR) \ + && ./configure --disable-shared --with-pic \ + $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ + CFLAGS="$(if $(filter TRUE,$(HAVE_GCC_VISIBILITY_FEATURE)),-fvisibility=hidden) \ + $(if $(filter AIX,$(OS)),-D_LINUX_SOURCE_COMPAT)" \ + && $(MAKE) \ + && touch $@ + +# vim: set noet sw=4 ts=4: diff --git a/libexttextcat/ExternalProject_libexttextcat.mk b/libexttextcat/ExternalProject_libexttextcat.mk deleted file mode 100644 index e792b3f975df..000000000000 --- a/libexttextcat/ExternalProject_libexttextcat.mk +++ /dev/null @@ -1,27 +0,0 @@ -# -*- 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,libexttextcat)) - -$(eval $(call gb_ExternalProject_use_unpacked,libexttextcat,libexttextcat)) - -$(eval $(call gb_ExternalProject_register_targets,libexttextcat,\ - build \ -)) - -$(call gb_ExternalProject_get_state_target,libexttextcat,build): - cd $(EXTERNAL_WORKDIR) \ - && ./configure --disable-shared --with-pic \ - $(if $(filter YES,$(CROSS_COMPILING)),--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)) \ - CFLAGS="$(if $(filter TRUE,$(HAVE_GCC_VISIBILITY_FEATURE)),-fvisibility=hidden) \ - $(if $(filter AIX,$(OS)),-D_LINUX_SOURCE_COMPAT)" \ - && $(MAKE) \ - && touch $@ - -# vim: set noet sw=4 ts=4: diff --git a/libexttextcat/Module_libexttextcat.mk b/libexttextcat/Module_libexttextcat.mk index 7aa1e10a5ad9..bf65b04e1342 100644 --- a/libexttextcat/Module_libexttextcat.mk +++ b/libexttextcat/Module_libexttextcat.mk @@ -11,8 +11,8 @@ $(eval $(call gb_Module_Module,libexttextcat)) ifeq ($(SYSTEM_LIBEXTTEXTCAT),NO) $(eval $(call gb_Module_add_targets,libexttextcat,\ - UnpackedTarball_libexttextcat \ - ExternalPackage_libexttextcat \ + UnpackedTarball_exttextcat \ + ExternalPackage_exttextcat \ Zip_fingerprint \ )) ifeq ($(COM),MSC) @@ -21,7 +21,7 @@ $(eval $(call gb_Module_add_targets,libexttextcat,\ )) else $(eval $(call gb_Module_add_targets,libexttextcat,\ - ExternalProject_libexttextcat \ + ExternalProject_exttextcat \ )) endif endif diff --git a/libexttextcat/StaticLibrary_exttextcat.mk b/libexttextcat/StaticLibrary_exttextcat.mk index 194aa6b3b195..ec2d896b251d 100644 --- a/libexttextcat/StaticLibrary_exttextcat.mk +++ b/libexttextcat/StaticLibrary_exttextcat.mk @@ -14,11 +14,11 @@ $(eval $(call gb_StaticLibrary_use_unpacked,exttextcat,libexttextcat)) $(eval $(call gb_StaticLibrary_set_warnings_not_errors,exttextcat)) $(eval $(call gb_StaticLibrary_add_generated_cobjects,exttextcat,\ - UnpackedTarball/libexttextcat/src/common \ - UnpackedTarball/libexttextcat/src/fingerprint \ - UnpackedTarball/libexttextcat/src/textcat \ - UnpackedTarball/libexttextcat/src/wg_mempool \ - UnpackedTarball/libexttextcat/src/utf8misc \ + UnpackedTarball/exttextcat/src/common \ + UnpackedTarball/exttextcat/src/fingerprint \ + UnpackedTarball/exttextcat/src/textcat \ + UnpackedTarball/exttextcat/src/wg_mempool \ + UnpackedTarball/exttextcat/src/utf8misc \ )) diff --git a/libexttextcat/UnpackedTarball_exttextcat.mk b/libexttextcat/UnpackedTarball_exttextcat.mk new file mode 100644 index 000000000000..ef90108f2913 --- /dev/null +++ b/libexttextcat/UnpackedTarball_exttextcat.mk @@ -0,0 +1,18 @@ +# -*- 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_UnpackedTarball_UnpackedTarball,exttextcat)) + +$(eval $(call gb_UnpackedTarball_set_tarball,exttextcat,$(LIBEXTTEXTCAT_TARBALL))) + +$(eval $(call gb_UnpackedTarball_add_patches,exttextcat,\ + libexttextcat/android.patch \ +)) + +# vim: set noet sw=4 ts=4: diff --git a/libexttextcat/UnpackedTarball_libexttextcat.mk b/libexttextcat/UnpackedTarball_libexttextcat.mk deleted file mode 100644 index bd8fae6a642f..000000000000 --- a/libexttextcat/UnpackedTarball_libexttextcat.mk +++ /dev/null @@ -1,18 +0,0 @@ -# -*- 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_UnpackedTarball_UnpackedTarball,libexttextcat)) - -$(eval $(call gb_UnpackedTarball_set_tarball,libexttextcat,$(LIBEXTTEXTCAT_TARBALL))) - -$(eval $(call gb_UnpackedTarball_add_patches,libexttextcat,\ - libexttextcat/android.patch \ -)) - -# vim: set noet sw=4 ts=4: -- cgit