diff options
Diffstat (limited to 'i18npool/source/textconversion')
-rw-r--r-- | i18npool/source/textconversion/Makefile | 40 | ||||
-rw-r--r-- | i18npool/source/textconversion/data/makefile.mk | 68 | ||||
-rw-r--r-- | i18npool/source/textconversion/data/textconv_dict.map | 23 | ||||
-rw-r--r-- | i18npool/source/textconversion/makefile.mk | 63 |
4 files changed, 40 insertions, 154 deletions
diff --git a/i18npool/source/textconversion/Makefile b/i18npool/source/textconversion/Makefile new file mode 100644 index 000000000000..490d11a7246c --- /dev/null +++ b/i18npool/source/textconversion/Makefile @@ -0,0 +1,40 @@ +# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*- +# Version: MPL 1.1 / GPLv3+ / LGPLv3+ +# +# The contents of this file are subject to the Mozilla Public License Version +# 1.1 (the "License"); you may not use this file except in compliance with +# the License or as specified alternatively below. You may obtain a copy of +# the License at http://www.mozilla.org/MPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Initial Developer of the Original Code is +# Matúš Kukan <matus.kukan@gmail.com> +# Portions created by the Initial Developer are Copyright (C) 2011 the +# Initial Developer. All Rights Reserved. +# +# Major Contributor(s): +# +# For minor contributions see the git repository. +# +# Alternatively, the contents of this file may be used under the terms of +# either the GNU General Public License Version 3 or later (the "GPLv3+"), or +# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"), +# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable +# instead of those above. + +all : $(subst .dic,.cxx,$(notdir $(wildcard $(SRC_ROOT)/i18npool/source/textconversion/data/*.dic))) + +include $(GBUILDDIR)/gbuild_simple.mk + +%.cxx : %_invis.cxx + sed 's/\(^.*get\)/SAL_DLLPUBLIC_EXPORT \1/' $< > $@ + +%_invis.cxx : $(realpath $(SRC_ROOT)/i18npool/source/textconversion/data)/%.dic + $(gb_Helper_execute)genconv_dict $* $< $@ + +.PHONY: all +# vim: set noet sw=4 ts=4: diff --git a/i18npool/source/textconversion/data/makefile.mk b/i18npool/source/textconversion/data/makefile.mk deleted file mode 100644 index 6f54d2033f0b..000000000000 --- a/i18npool/source/textconversion/data/makefile.mk +++ /dev/null @@ -1,68 +0,0 @@ -#************************************************************************* -#* -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************ -PRJ=..$/..$/.. - -PRJNAME=i18npool -TARGET=textconv_dict -LIBTARGET=NO - -# --- Settings ----------------------------------------------------- -.INCLUDE : settings.mk - -# Fix heap limit problem on MSC -.IF "$(COM)" == "MSC" -.IF "$(COMEX)" != "8" -CDEFS+=-Zm300 -.ENDIF -.ENDIF - -# --- Files -------------------------------------------------------- - -# collator data library -SHL1TARGET=$(TARGET) -SHL1IMPLIB=i$(SHL1TARGET) - -SHL1VERSIONMAP=$(SHL1TARGET).map -SHL1DEF=$(MISC)$/$(SHL1TARGET).def -DEF1NAME=$(SHL1TARGET) - -DATA_FILES:=$(shell @ls ./*.dic) -SHL1OBJS=$(subst,./,$(SLO)$/ $(DATA_FILES:s/.dic/.obj/)) - -LIB1TARGET= $(SLB)$/$(SHL1TARGET).lib -LIB1OBJFILES=$(SHL1OBJS) - -# --- Targets ------------------------------------------------------ -.INCLUDE : target.mk - -APP1TARGET = genconv_dict -$(MISC)$/%.cxx : %.dic - $(AUGMENT_LIBRARY_PATH) $(OUT_FOR_BUILD)$/bin$/genconv_dict $* $< $@ - -# ugly - is this dependency really required here? -$(foreach,i,$(shell @$(FIND) . -name "*.dic") $(MISC)$/dict_$(i:b).cxx) : $(BIN)$/genconv_dict$(EXECPOST) - diff --git a/i18npool/source/textconversion/data/textconv_dict.map b/i18npool/source/textconversion/data/textconv_dict.map deleted file mode 100644 index afd873b6f38e..000000000000 --- a/i18npool/source/textconversion/data/textconv_dict.map +++ /dev/null @@ -1,23 +0,0 @@ -UDK_3_0_0 { -global: - GetVersionInfo; - getHangul2HanjaData; - getHangul2HanjaIndex; - getHangul2HanjaIndexCount; - getHanja2HangulIndex; - getHanja2HangulData; - getSTC_CharIndex_S2T; - getSTC_CharData_S2T; - getSTC_CharIndex_S2V; - getSTC_CharData_S2V; - getSTC_CharIndex_T2S; - getSTC_CharData_T2S; - getSTC_WordData; - getSTC_WordEntry_S2T; - getSTC_WordIndex_S2T; - getSTC_WordEntry_T2S; - getSTC_WordIndex_T2S; - -local: - *; -}; diff --git a/i18npool/source/textconversion/makefile.mk b/i18npool/source/textconversion/makefile.mk deleted file mode 100644 index dca748309ca7..000000000000 --- a/i18npool/source/textconversion/makefile.mk +++ /dev/null @@ -1,63 +0,0 @@ -#************************************************************************* -#* -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# <http://www.openoffice.org/license.html> -# for a copy of the LGPLv3 License. -# -#************************************************************************/ - -PRJ=..$/.. - -PRJNAME=i18npool -TARGET=textconversion - -ENABLE_EXCEPTIONS=TRUE - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- Files -------------------------------------------------------- - -SLOFILES= \ - $(SLO)$/textconversionImpl.obj \ - $(SLO)$/textconversion.obj \ - $(SLO)$/textconversion_ko.obj \ - $(SLO)$/textconversion_zh.obj - -.IF "$(CROSS_COMPILING)" != "YES" - -OBJFILES = $(OBJ)$/genconv_dict.obj - -APP1TARGET = genconv_dict -APP1RPATH = NONE - -APP1OBJS = $(OBJ)$/genconv_dict.obj - -APP1STDLIBS = $(SALLIB) - -.ENDIF - -# --- Targets ------------------------------------------------------ - -.INCLUDE : target.mk - |