Windows: build a UNICODE version of talocale.lib

Add src/WINNT/talocale_unicode that builds a UNICODE version
of talocale, talocaleU.lib

Change-Id: Iec343adbbab23fefa2dd9f474d23e593810552e9
Reviewed-on: http://gerrit.openafs.org/3440
Tested-by: Jeffrey Altman <jaltman@openafs.org>
Reviewed-by: Jeffrey Altman <jaltman@openafs.org>
This commit is contained in:
Jeffrey Altman 2010-12-04 17:59:36 -05:00 committed by Jeffrey Altman
parent 24a9ba4b82
commit 1d7534fb95
3 changed files with 54 additions and 1 deletions

View File

@ -487,7 +487,14 @@ talocale: tbutc
$(NTMAKE)
$(CD) ..\..\..
license: talocale
talocale_unicode: talocale
@echo ***** $@
$(DOCD) $(SRC)\WINNT\$@
$(CD) $(SRC)\WINNT\$@
$(NTMAKE)
$(CD) ..\..\..
license: talocale_unicode
@echo ***** $@
$(DOCD) $(SRC)\WINNT\$@
$(CD) $(SRC)\WINNT\$@

View File

@ -0,0 +1,43 @@
# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
#
# This software has been released under the terms of the IBM Public
# License. For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html
# make compiler warnings fatal
AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -WX -DUNICODE=1
# include the primary makefile
RELDIR=WINNT\talocale_unicode
!INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
############################################################################
INCFILEDIR = $(DESTDIR)\include\WINNT
LIBOBJS = \
$(OUT)\tal_alloc.obj \
$(OUT)\tal_main.obj \
$(OUT)\tal_string.obj \
$(OUT)\tal_dialog.obj
$(LIBOBJS): ..\talocale\$$(@B).cpp
$(CPP2OBJ) -I(..\talocale) $**
LIBFILE = $(DESTDIR)\lib\afs\talocaleU.lib
############################################################################
install: $(LIBFILE)
$(LIBFILE): $(LIBOBJS)
$(LIBARCH)
clean::
$(DEL) $(LIBINCLUDES)
mkdir:

View File

@ -406,6 +406,9 @@ idirs: doclink
! IF (!EXIST($(OJT)\WINNT\talocale))
$(MKDIR) $(OJT)\WINNT\talocale
! ENDIF
! IF (!EXIST($(OJT)\WINNT\talocale_unicode))
$(MKDIR) $(OJT)\WINNT\talocale_unicode
! ENDIF
! IF (!EXIST($(OJT)\WINNT\win9xpanel))
$(MKDIR) $(OJT)\WINNT\win9xpanel
! ENDIF