You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by pe...@apache.org on 2003/03/18 22:07:31 UTC
cvs commit: xml-xerces/c/src/xercesc/util/MsgLoaders/ICU/resources Makefile.in
peiyongz 2003/03/18 13:07:31
Modified: c/src/xercesc/util/MsgLoaders/ICU/resources Makefile.in
Log:
Build versioned shared library, libXercesMessages on UNIX
Revision Changes Path
1.2 +9 -4 xml-xerces/c/src/xercesc/util/MsgLoaders/ICU/resources/Makefile.in
Index: Makefile.in
===================================================================
RCS file: /home/cvs/xml-xerces/c/src/xercesc/util/MsgLoaders/ICU/resources/Makefile.in,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile.in 20 Feb 2003 18:08:51 -0000 1.1
+++ Makefile.in 18 Mar 2003 21:07:29 -0000 1.2
@@ -42,6 +42,7 @@
TRANSCODER = @transcoder@
THREADS = @threads@
+include ../../../../../../version.incl
include ../../../../Makefile.incl
####################################################################
@@ -78,6 +79,7 @@
# target file for resource bundle - this must be set, or 'make all' won't
# build any resources.
+RESLIBNAME=lib$(RESNAME)
RESTARGET=lib$(RESNAME)$(SHLIBSUFFIX)
# Resource files. Add new ones for additional locales here.
@@ -96,8 +98,14 @@
$(LINK.cc) $^ $(LOADLIBES) $(LDLIBS) -o $@ $(XTRALIBS)
$(RESTARGET): $(RESFILES)
+ @echo building ${FQ_RESLIB_REAL_NAME}
$(PKGDATA) --name $(RESNAME) --mode $(RESMODE) $(PKGDATAOPTS) $(RESLIST)
- cp $(RESTARGET) $(XERCESCROOT)/lib
+ mv $(RESTARGET) ${FQ_RESLIB_REAL_NAME}
+ @echo symlink ${FQ_RESLIB_SO_NAME}
+ ln -s ${FQ_RESLIB_REAL_NAME} ${FQ_RESLIB_SO_NAME}
+ @echo symlink ${FQ_RESLIB_LINK_NAME}
+ ln -s ${FQ_RESLIB_SO_NAME} ${FQ_RESLIB_LINK_NAME}
+
res-install: $(RESTARGET)
$(PKGDATA) --name $(RESNAME) --mode $(RESMODE) $(PKGDATAOPTS) $(RESLIST) --install $(shell icu-config --libdir)
@@ -121,6 +129,3 @@
# for installing the library
install: res-install
-$(RESNAME)_es.res: es.txt
- @echo "generating $@"
- $(GENRB) $(GENRBOPT) -e latin-1 $^
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org