diff --git a/src/xercesc/util/MsgLoaders/ICU/resources/Makefile.in b/src/xercesc/util/MsgLoaders/ICU/resources/Makefile.in
index 19b1b5c6da86e8d0f3ecbad3ac9f095f3be50d65..8a979d90e3c42cd695e9d122811da62b483d107b 100644
--- a/src/xercesc/util/MsgLoaders/ICU/resources/Makefile.in
+++ b/src/xercesc/util/MsgLoaders/ICU/resources/Makefile.in
@@ -21,7 +21,7 @@ top_srcdir = @top_srcdir@
 ICU_PREFIX = @ICU_PREFIX@
 SHREXT = @SHREXT@
 
-include ../../../../../../version.incl
+include $(top_srcdir)/version.incl
 
 GENRB=$(ICU_PREFIX)/bin/genrb
 GENRBOPT=--package-name $(PKGNAME)
@@ -42,7 +42,7 @@ RESCPPFLAGS=
 
 # target file for resource bundle - this must be set, or 'make all' won't
 # build any resources.
-RESTARGET=$(top_srcdir)/obj/.libs/lib$(PKGNAME)$(SHREXT)
+RESTARGET=$(top_builddir)/obj/.libs/lib$(PKGNAME)$(SHREXT)
 PKGTARGET=lib$(PKGNAME)$(SHREXT)
 
 # Resource files.  Add new ones for additional locales here.
@@ -63,7 +63,7 @@ $(TARGET): $(OBJECTS)
 $(RESTARGET): $(RESFILES)
 	@echo building $(RESTARGET)
 	$(PKGDATA) --name $(PKGNAME) --mode dll $(PKGDATAOPTS) $(RESLIST)
-	mkdir -p $(top_srcdir)/obj/.libs
+	mkdir -p $(top_builddir)/obj/.libs
 	mv $(PKGTARGET) $(RESTARGET)
 	
 # clean out files