mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-07 22:44:49 +00:00
ICU-5452 gencmn can't be completely removed yet.
X-SVN-Rev: 20739
This commit is contained in:
parent
9260540c00
commit
205c38ecb6
5 changed files with 4 additions and 4 deletions
|
@ -52,6 +52,7 @@ ld_rpath_suf=@ld_rpath_suf@
|
|||
##### Add the following to source/config/Makefile.in
|
||||
|
||||
GENCCODE=$(BINDIR)/genccode
|
||||
GENCMN=$(BINDIR)/gencmn
|
||||
ICUPKG=$(BINDIR)/icupkg
|
||||
|
||||
|
||||
|
|
|
@ -59,6 +59,7 @@ ld_rpath_suf=@ld_rpath_suf@
|
|||
##### Add the following to source/config/Makefile.in
|
||||
|
||||
GENCCODE=$(BINDIR)/genccode
|
||||
GENCMN=$(BINDIR)/gencmn
|
||||
ICUPKG=$(BINDIR)/icupkg
|
||||
|
||||
|
||||
|
|
|
@ -148,8 +148,6 @@ main(int argc, char* argv[]) {
|
|||
|
||||
U_MAIN_INIT_ARGS(argc, argv);
|
||||
|
||||
fprintf(stderr, "Warning: gencmn is an obsolete tool and it will be removed in the next ICU release.\nPlease use the icupkg tool instead.\n");
|
||||
|
||||
/* preset then read command line options */
|
||||
options[4].value=u_getDataDirectory();
|
||||
options[6].value=COMMON_DATA_NAME;
|
||||
|
|
|
@ -166,7 +166,7 @@ void pkg_mode_dll(UPKGOptions *o, FileStream *makefile, UErrorCode *status)
|
|||
T_FileStream_writeLine(makefile, "# 'TOCOBJ' contains C Table of Contents objects [if any]\n");
|
||||
|
||||
sprintf(tmp, "$(TEMP_DIR)/$(NAME)_dat.c: $(CMNLIST)\n"
|
||||
"\t$(INVOKE) $(ICUPKG) -t$(ICUDATA_CHAR) -c -s $(SRCDIR) -a $(CMNLIST) new $(TEMP_DIR)/$(CNAME).dat\n\n");
|
||||
"\t$(INVOKE) $(GENCMN) -e $(ENTRYPOINT) -n $(NAME) -S -s $(SRCDIR) -d $(TEMP_DIR) 0 $(CMNLIST)\n\n");
|
||||
|
||||
T_FileStream_writeLine(makefile, tmp);
|
||||
sprintf(tmp, "TOCOBJ= $(NAME)_dat%s \n\n", OBJ_SUFFIX);
|
||||
|
|
|
@ -207,7 +207,7 @@ void pkg_mode_static(UPKGOptions *o, FileStream *makefile, UErrorCode *status)
|
|||
T_FileStream_writeLine(makefile, "# 'TOCOBJ' contains C Table of Contents objects [if any]\n");
|
||||
|
||||
sprintf(tmp, "$(TEMP_PATH)$(NAME)_dat.c: $(CMNLIST)\n"
|
||||
"\t$(INVOKE) $(ICUPKG) -t$(ICUDATA_CHAR) -c -s $(SRCDIR) -a $(CMNLIST) new $(TARGETDIR)/$(CNAME).dat\n\n");
|
||||
"\t$(INVOKE) $(GENCMN) -e $(ENTRYPOINT) -n $(NAME) -S -s $(SRCDIR) -d $(TEMP_DIR) 0 $(CMNLIST)\n\n");
|
||||
T_FileStream_writeLine(makefile, tmp);
|
||||
|
||||
sprintf(tmp, "TOCOBJ= $(NAME)_dat.$(STATIC_O)\n\n");
|
||||
|
|
Loading…
Add table
Reference in a new issue