Index: sim/common/Makefile.in |
diff --git a/sim/common/Makefile.in b/sim/common/Makefile.in |
index 214b6580f870894f3ea8137792dd96495de3261c..2929b380c0e49739be192a84ee953d97d8a2a051 100644 |
--- a/sim/common/Makefile.in |
+++ b/sim/common/Makefile.in |
@@ -18,7 +18,8 @@ default: all |
VPATH = @srcdir@ |
srcdir = @srcdir@ |
-srcroot = $(srcdir)/../.. |
+abs_srcdir = @abs_srcdir@ |
+srcroot = $(abs_srcdir)/../.. |
prefix = @prefix@ |
exec_prefix = @exec_prefix@ |
@@ -82,7 +83,7 @@ headers: |
rootme=`pwd` ; \ |
cd $(srcdir) ; \ |
rm -f nltvals.new ; \ |
- $(SHELL) $(srcdir)/gennltvals.sh $(SHELL) $(srcroot) "$(CPP_FOR_TARGET)" > nltvals.new ; \ |
+ $(SHELL) $(abs_srcdir)/gennltvals.sh $(SHELL) $(srcroot) "$(CPP_FOR_TARGET)" > nltvals.new ; \ |
$(SHELL) $(srcroot)/move-if-change nltvals.new nltvals.def |
.c.o: |