mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-21 04:29:31 +00:00
ICU-487 remove gencol! good riddance
X-SVN-Rev: 1757
This commit is contained in:
parent
4472c96f24
commit
521425a1d2
5 changed files with 0 additions and 437 deletions
|
@ -1,150 +0,0 @@
|
|||
## Makefile.in for ICU - tools/gencol
|
||||
## Copyright (c) 1999, International Business Machines Corporation and
|
||||
## others. All Rights Reserved.
|
||||
|
||||
## Shell to use
|
||||
SHELL = @SHELL@
|
||||
|
||||
## Install directory information
|
||||
srcdir = @srcdir@
|
||||
top_srcdir = @top_srcdir@
|
||||
prefix = @prefix@
|
||||
exec_prefix = @exec_prefix@
|
||||
|
||||
bindir = @bindir@
|
||||
sbindir = @sbindir@
|
||||
datadir = @datadir@
|
||||
libdir = @libdir@
|
||||
includedir = @includedir@
|
||||
|
||||
pkgdatadir = $(datadir)/@PACKAGE@
|
||||
pkglibdir = $(libdir)/@PACKAGE@
|
||||
pkgincludedir = $(includedir)/@PACKAGE@
|
||||
|
||||
## Install program information
|
||||
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
||||
|
||||
INSTALL = @INSTALL@
|
||||
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
||||
INSTALL_DATA = @INSTALL_DATA@
|
||||
|
||||
## Compiler/tools information
|
||||
CC = @CC@
|
||||
CXX = @CXX@
|
||||
PACKAGE = @PACKAGE@
|
||||
VERSION = @VERSION@
|
||||
|
||||
## Platform-specific setup
|
||||
@host_frag@
|
||||
|
||||
## Build directory information
|
||||
top_builddir = ../..
|
||||
subdir = tools/gencol
|
||||
|
||||
## Extra files to remove for 'make clean'
|
||||
CLEANFILES = *~
|
||||
|
||||
## Target information
|
||||
TARGET = gencol
|
||||
|
||||
DEFS = @DEFS@
|
||||
CPPFLAGS = @CPPFLAGS@ -I$(top_builddir)/common -I$(top_srcdir)/common -I$(top_srcdir)/i18n
|
||||
CFLAGS = @CFLAGS@
|
||||
CXXFLAGS = @CXXFLAGS@
|
||||
LDFLAGS = @LDFLAGS@ \
|
||||
$(LD_RPATH)$(LD_RPATH_PRE)$(libdir)@ld_rpath_suf@$(LD_RPATH_PRE)$(top_builddir)/common@ld_rpath_suf@$(LD_RPATH_PRE)$(top_builddir)/i18n
|
||||
LIBS = $(LIBICU-UC) $(LIBICU-I18N) @LIBS@ @LIB_M@
|
||||
|
||||
OBJECTS = gencol.o
|
||||
|
||||
DEPS = $(OBJECTS:.o=.d)
|
||||
|
||||
## List of phony targets
|
||||
.PHONY : all all-local install install-local clean clean-local \
|
||||
distclean distclean-local clean-sentinel force-build-data dist dist-local check \
|
||||
check-local
|
||||
|
||||
## Clear suffix list
|
||||
.SUFFIXES :
|
||||
|
||||
## List of standard targets
|
||||
all: all-local
|
||||
install: install-local
|
||||
clean: clean-local
|
||||
distclean : distclean-local
|
||||
dist: dist-local
|
||||
check: check-local
|
||||
|
||||
all-local: $(TARGET) build-data
|
||||
|
||||
## only rebuild if ANY .RES FILES CHANGE
|
||||
|
||||
## List of resource bundles to build
|
||||
RES_BUNDLES = ar.res ar_AE.res ar_BH.res ar_DZ.res ar_EG.res ar_IQ.res \
|
||||
ar_JO.res ar_KW.res ar_LB.res ar_LY.res ar_MA.res ar_OM.res ar_QA.res \
|
||||
ar_SA.res ar_SD.res ar_SY.res ar_TN.res ar_YE.res be.res be_BY.res \
|
||||
bg.res bg_BG.res ca.res ca_ES.res ca_ES_EURO.res cs.res cs_CZ.res \
|
||||
da.res da_DK.res de.res de_AT.res de_AT_EURO.res de_CH.res de_DE.res \
|
||||
de_DE_EURO.res de_LU.res de_LU_EURO.res el.res el_GR.res en.res \
|
||||
en_AU.res en_BE.res en_CA.res en_GB.res en_IE.res en_IE_EURO.res \
|
||||
en_NZ.res en_US.res en_ZA.res es.res es_AR.res es_BO.res es_CL.res \
|
||||
es_CO.res es_CR.res es_DO.res es_EC.res es_ES.res es_ES_EURO.res \
|
||||
es_GT.res es_HN.res es_MX.res es_NI.res es_PA.res es_PE.res es_PR.res \
|
||||
es_PY.res es_SV.res es_UY.res es_VE.res et.res et_EE.res fi.res \
|
||||
fi_FI.res fi_FI_EURO.res fr.res fr_BE.res fr_BE_EURO.res fr_CA.res \
|
||||
fr_CH.res fr_FR.res fr_FR_EURO.res fr_LU.res fr_LU_EURO.res hr.res \
|
||||
hr_HR.res hu.res hu_HU.res is.res is_IS.res it.res it_CH.res it_IT.res \
|
||||
it_IT_EURO.res iw.res iw_IL.res ja.res ja_JP.res ko.res ko_KR.res \
|
||||
lt.res lt_LT.res lv.res lv_LV.res mk.res mk_MK.res nl.res nl_BE.res \
|
||||
nl_BE_EURO.res nl_NL.res nl_NL_EURO.res no.res no_NO.res no_NO_NY.res \
|
||||
pl.res pl_PL.res pt.res pt_BR.res pt_PT.res pt_PT_EURO.res ro.res \
|
||||
ro_RO.res ru.res ru_RU.res sh.res sh_YU.res sk.res sk_SK.res sl.res \
|
||||
sl_SI.res sq.res sq_AL.res sr.res sr_YU.res sv.res sv_SE.res th.res \
|
||||
th_TH.res tr.res tr_TR.res uk.res uk_UA.res vi.res vi_VN.res zh.res \
|
||||
zh_CN.res zh_HK.res zh_TW.res root.res index.res
|
||||
|
||||
RES_FILES = $(RES_BUNDLES:%=@DATABUILDDIR@/%)
|
||||
|
||||
build-data: .sentinel
|
||||
|
||||
.sentinel: $(RES_FILES)
|
||||
@echo "Creating binary collation files (may take a while)"
|
||||
@ICU_DATA=@DATABUILDDIR@/ ./$(TARGET) > /dev/null 2>&1
|
||||
@touch .sentinel
|
||||
|
||||
force-build-data: clean-sentinel build-data
|
||||
clean-sentinel:
|
||||
$(RMV) .sentinel
|
||||
|
||||
install-local: all-local
|
||||
# $(mkinstalldirs) $(DESTDIR)$(sbindir)
|
||||
# $(INSTALL) $(TARGET) $(DESTDIR)$(sbindir)/$(TARGET)
|
||||
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$(VERSION)
|
||||
cp @DATABUILDDIR@/*.col $(DESTDIR)$(pkgdatadir)/$(VERSION)
|
||||
|
||||
dist-local:
|
||||
|
||||
clean-local:
|
||||
test -z "$(CLEANFILES)" || $(RMV) $(CLEANFILES)
|
||||
$(RMV) $(TARGET) $(OBJECTS)
|
||||
|
||||
distclean-local: clean-local clean-sentinel
|
||||
$(RMV) Makefile $(DEPS) $(CNV_FILES)
|
||||
$(RMV) @DATABUILDDIR@/*.col
|
||||
|
||||
check-local:
|
||||
|
||||
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
|
||||
cd $(top_builddir) \
|
||||
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
||||
|
||||
$(TARGET) : $(OBJECTS)
|
||||
$(LINK.c) -o $@ $^ $(LIBS)
|
||||
|
||||
ifeq (,$(MAKECMDGOALS))
|
||||
-include $(DEPS)
|
||||
else
|
||||
ifneq ($(patsubst %clean,,$(MAKECMDGOALS)),)
|
||||
-include $(DEPS)
|
||||
endif
|
||||
endif
|
|
@ -1,129 +0,0 @@
|
|||
/*
|
||||
*******************************************************************************
|
||||
*
|
||||
* Copyright (C) 1998-1999, International Business Machines
|
||||
* Corporation and others. All Rights Reserved.
|
||||
*
|
||||
*******************************************************************************
|
||||
*
|
||||
* File gencol.c
|
||||
*
|
||||
* Modification History:
|
||||
*
|
||||
* Date Name Description
|
||||
* 06/09/99 stephen Creation.
|
||||
*******************************************************************************
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#include "unicode/utypes.h"
|
||||
#include "cmemory.h"
|
||||
#include "cstring.h"
|
||||
|
||||
#include "unicode/uloc.h"
|
||||
#include "unicode/ucol.h"
|
||||
|
||||
|
||||
/* Protos */
|
||||
static void usage(void);
|
||||
static void version(void);
|
||||
int main(int argc, char **argv);
|
||||
|
||||
|
||||
/* The version of gencol */
|
||||
#define GENCOL_VERSION "1.0b"
|
||||
|
||||
|
||||
int
|
||||
main(int argc,
|
||||
char **argv)
|
||||
{
|
||||
int printUsage = 0;
|
||||
int printVersion = 0;
|
||||
int optind;
|
||||
int i;
|
||||
char *arg;
|
||||
const char *loc;
|
||||
UCollator *coll;
|
||||
UErrorCode status;
|
||||
|
||||
|
||||
/* parse the options */
|
||||
for(optind = 1; optind < argc; ++optind) {
|
||||
arg = argv[optind];
|
||||
|
||||
/* version info */
|
||||
if(uprv_strcmp(arg, "-v") == 0 || uprv_strcmp(arg, "--version") == 0) {
|
||||
printVersion = 1;
|
||||
}
|
||||
/* usage info */
|
||||
else if(uprv_strcmp(arg, "-h") == 0 || uprv_strcmp(arg, "--help") == 0) {
|
||||
printUsage = 1;
|
||||
}
|
||||
/* POSIX.1 says all arguments after -- are not options */
|
||||
else if(uprv_strcmp(arg, "--") == 0) {
|
||||
/* skip the -- */
|
||||
++optind;
|
||||
break;
|
||||
}
|
||||
/* unrecognized option */
|
||||
else if(uprv_strncmp(arg, "-", uprv_strlen("-")) == 0) {
|
||||
printf("gencol: invalid option -- %s\n", arg+1);
|
||||
printUsage = 1;
|
||||
}
|
||||
/* done with options, start file processing */
|
||||
else {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
/* print usage info */
|
||||
if(printUsage) {
|
||||
usage();
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* print version info */
|
||||
if(printVersion) {
|
||||
version();
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* generate the binary collation files */
|
||||
coll = ucol_open("default", &status);
|
||||
ucol_close(coll);
|
||||
for(i = 0; i < uloc_countAvailable(); ++i) {
|
||||
status = U_ZERO_ERROR;
|
||||
loc = uloc_getAvailable(i);
|
||||
printf("gencol: Creating collation data for locale \"%s\"\n", loc);
|
||||
coll = ucol_open(loc, &status);
|
||||
if(U_FAILURE(status)) {
|
||||
printf("gencol: %s for locale \"%s\"", u_errorName(status), loc);
|
||||
}
|
||||
else {
|
||||
ucol_close(coll);
|
||||
}
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Usage information */
|
||||
static void
|
||||
usage()
|
||||
{
|
||||
puts("Usage: gencol [OPTIONS] [FILES]");
|
||||
puts("Options:");
|
||||
puts(" -h, --help Print this message and exit.");
|
||||
puts(" -v, --version Print the version number of gencol and exit.");
|
||||
}
|
||||
|
||||
/* Version information */
|
||||
static void
|
||||
version()
|
||||
{
|
||||
printf("gencol version %s (ICU version %s).\n",
|
||||
GENCOL_VERSION, U_ICU_VERSION);
|
||||
puts(U_COPYRIGHT_STRING);
|
||||
}
|
|
@ -1,102 +0,0 @@
|
|||
# Microsoft Developer Studio Project File - Name="gencol" - Package Owner=<4>
|
||||
# Microsoft Developer Studio Generated Build File, Format Version 6.00
|
||||
# ** DO NOT EDIT **
|
||||
|
||||
# TARGTYPE "Win32 (x86) Console Application" 0x0103
|
||||
|
||||
CFG=gencol - Win32 Debug
|
||||
!MESSAGE This is not a valid makefile. To build this project using NMAKE,
|
||||
!MESSAGE use the Export Makefile command and run
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "gencol.mak".
|
||||
!MESSAGE
|
||||
!MESSAGE You can specify a configuration when running NMAKE
|
||||
!MESSAGE by defining the macro CFG on the command line. For example:
|
||||
!MESSAGE
|
||||
!MESSAGE NMAKE /f "gencol.mak" CFG="gencol - Win32 Debug"
|
||||
!MESSAGE
|
||||
!MESSAGE Possible choices for configuration are:
|
||||
!MESSAGE
|
||||
!MESSAGE "gencol - Win32 Release" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE "gencol - Win32 Debug" (based on "Win32 (x86) Console Application")
|
||||
!MESSAGE
|
||||
|
||||
# Begin Project
|
||||
# PROP AllowPerConfigDependencies 0
|
||||
# PROP Scc_ProjName ""
|
||||
# PROP Scc_LocalPath ""
|
||||
CPP=cl.exe
|
||||
RSC=rc.exe
|
||||
|
||||
!IF "$(CFG)" == "gencol - Win32 Release"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 0
|
||||
# PROP BASE Output_Dir "Release"
|
||||
# PROP BASE Intermediate_Dir "Release"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 0
|
||||
# PROP Output_Dir "Release"
|
||||
# PROP Intermediate_Dir "Release"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD CPP /nologo /MD /W3 /GX /I "..\..\..\include" /I "..\..\..\source\common" /I "..\..\..\source\i18n" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
|
||||
# ADD BASE RSC /l 0x409 /d "NDEBUG"
|
||||
# ADD RSC /l 0x409 /d "NDEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
# ADD LINK32 ..\..\..\lib\release\icuuc.lib ..\..\..\lib\release\icui18n.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
|
||||
|
||||
!ELSEIF "$(CFG)" == "gencol - Win32 Debug"
|
||||
|
||||
# PROP BASE Use_MFC 0
|
||||
# PROP BASE Use_Debug_Libraries 1
|
||||
# PROP BASE Output_Dir "Debug"
|
||||
# PROP BASE Intermediate_Dir "Debug"
|
||||
# PROP BASE Target_Dir ""
|
||||
# PROP Use_MFC 0
|
||||
# PROP Use_Debug_Libraries 1
|
||||
# PROP Output_Dir "Debug"
|
||||
# PROP Intermediate_Dir "Debug"
|
||||
# PROP Ignore_Export_Lib 0
|
||||
# PROP Target_Dir ""
|
||||
# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||
# ADD CPP /nologo /MDd /W3 /Gm /GX /ZI /Od /I "..\..\..\include" /I "..\..\..\source\common" /I "..\..\..\source\i18n" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
|
||||
# ADD BASE RSC /l 0x409 /d "_DEBUG"
|
||||
# ADD RSC /l 0x409 /d "_DEBUG"
|
||||
BSC32=bscmake.exe
|
||||
# ADD BASE BSC32 /nologo
|
||||
# ADD BSC32 /nologo
|
||||
LINK32=link.exe
|
||||
# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||
# ADD LINK32 ..\..\..\lib\debug\icuuc.lib ..\..\..\lib\debug\icui18n.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
|
||||
|
||||
!ENDIF
|
||||
|
||||
# Begin Target
|
||||
|
||||
# Name "gencol - Win32 Release"
|
||||
# Name "gencol - Win32 Debug"
|
||||
# Begin Group "Source Files"
|
||||
|
||||
# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
|
||||
# Begin Source File
|
||||
|
||||
SOURCE=.\gencol.c
|
||||
# End Source File
|
||||
# End Group
|
||||
# Begin Group "Header Files"
|
||||
|
||||
# PROP Default_Filter "h;hpp;hxx;hm;inl"
|
||||
# End Group
|
||||
# Begin Group "Resource Files"
|
||||
|
||||
# PROP Default_Filter "ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe"
|
||||
# End Group
|
||||
# End Target
|
||||
# End Project
|
|
@ -1,29 +0,0 @@
|
|||
Microsoft Developer Studio Workspace File, Format Version 6.00
|
||||
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
|
||||
|
||||
###############################################################################
|
||||
|
||||
Project: "gencol"=.\gencol.dsp - Package Owner=<4>
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<4>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
||||
Global:
|
||||
|
||||
Package=<5>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
Package=<3>
|
||||
{{{
|
||||
}}}
|
||||
|
||||
###############################################################################
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
# A list of txt's to build
|
||||
# Note:
|
||||
#
|
||||
# If you are thinking of modifying this file, READ THIS.
|
||||
#
|
||||
# Instead of changing this file [unless you want to check it back in],
|
||||
# you should consider creating a 'genrblocal.mk' file in this same directory.
|
||||
# Then, you can have your local changes remain even if you upgrade or re
|
||||
# configure the ICU.
|
||||
#
|
||||
# Example 'gencollocal.mk' files:
|
||||
#
|
||||
# * To add an additional converter to the list:
|
||||
# _____________________________________________________
|
||||
# | GENCOL_SOURCE_LOCAL = myLocale.txt ...
|
||||
#
|
||||
# * To REPLACE the default list and only build with a few
|
||||
# converters:
|
||||
# _____________________________________________________
|
||||
# | GENCOL_SOURCE =default.txt ar.txt ar_AE.txt
|
||||
#
|
||||
#
|
||||
|
||||
GENCOL_SOURCE = default.txt ar.txt be.txt bg.txt ca.txt cs.txt da.txt el.txt es.txt\
|
||||
et.txt fi.txt fr.txt hr.txt hu.txt is.txt iw.txt ja.txt ko.txt lt.txt lv.txt\
|
||||
mk.txt no.txt pl.txt ro.txt ru.txt sh.txt sk.txt sl.txt sq.txt sr.txt\
|
||||
sv.txt tr.txt uk.txt vi.txt zh.txt zh_TW.txt
|
Loading…
Add table
Reference in a new issue