peiyongz 2003/03/11 20:33:16
Modified: c/src/xercesc/util/MsgLoaders/ICU/resources resources.mak
Log:
Build versioned dll for ICU message files
Revision Changes Path
1.8 +18 -6
xml-xerces/c/src/xercesc/util/MsgLoaders/ICU/resources/resources.mak
Index: resources.mak
===================================================================
RCS file:
/home/cvs/xml-xerces/c/src/xercesc/util/MsgLoaders/ICU/resources/resources.mak,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- resources.mak 20 Feb 2003 18:08:25 -0000 1.7
+++ resources.mak 12 Mar 2003 04:33:16 -0000 1.8
@@ -13,12 +13,24 @@
# the corresponding .res file must be added to this list,
# . AND to the file res-file-list.txt
#
+# If built versioned dll/lib directly, then we need to change the
+# the symbol, XercesMessages_dat to XercesMessages2_2_0_dat.
+#
+
+# for VER
+include ..\..\..\..\..\..\version.incl
+
RESFILES= en_US.res
-PKGNAME = XercesMessages
-TARGET = $(PKGNAME).dll
+PKGNAME = XercesMessages
+TARGET_DLL = $(PKGNAME).DLL
+TARGET_LIB = $(PKGNAME).lib
+TAR_VER_DLL = $(PKGNAME)$(VER).dll
+TAR_VER_LIB = $(PKGNAME)$(VER).lib
+
GENRB = $(ICUROOT)\bin\genrb.exe
PKGDATA = $(ICUROOT)\bin\pkgdata
+REN = ren
#
# File name extensions for inference rule matching.
@@ -35,12 +47,12 @@
.txt.res:
$(GENRB) -t --package-name $(PKGNAME) -d . $*.txt
-
#
# all - nmake starts here by default
#
-all: $(TARGET)
+all: $(TARGET_DLL)
-$(TARGET): $(RESFILES)
+$(TARGET_DLL): $(RESFILES)
$(PKGDATA) --name $(PKGNAME) -v -O R:$(ICUROOT) --mode dll -d .
res-file-list.txt
-
+ $(REN) $(TARGET_DLL) $(TAR_VER_DLL)
+ $(REN) $(TARGET_LIB) $(TAR_VER_LIB)
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]