From 72df3faaf84f0ae75620cd25ee6c96e0465cc156 Mon Sep 17 00:00:00 2001 From: Arnaud Charlet Date: Fri, 10 Apr 2009 15:27:31 +0200 Subject: Make-lang.in: Stabilize new stamp-snames rule. * Make-lang.in: Stabilize new stamp-snames rule. Deal with relative source directories. From-SVN: r145900 --- gcc/ada/gcc-interface/Make-lang.in | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'gcc') diff --git a/gcc/ada/gcc-interface/Make-lang.in b/gcc/ada/gcc-interface/Make-lang.in index c4100a5..7a26a68 100644 --- a/gcc/ada/gcc-interface/Make-lang.in +++ b/gcc/ada/gcc-interface/Make-lang.in @@ -944,15 +944,16 @@ ada/sinfo.h : ada/sinfo.ads ada/xsinfo.adb $(CP) $^ ada/bldtools/sinfo (cd ada/bldtools/sinfo && $(GNATMAKE) -q xsinfo && ./xsinfo ../../sinfo.h ) -ada/snames.h ada/snames.ads ada/snames.adb : ada/stamp-snames - @true - +ada/snames.h ada/snames.ads ada/snames.adb : ada/stamp-snames ; @true ada/stamp-snames : ada/snames.ads-tmpl ada/snames.adb-tmpl ada/snames.h-tmpl ada/xsnamest.adb ada/xutil.ads ada/xutil.adb -$(MKDIR) ada/bldtools/snamest $(RM) $(addprefix ada/bldtools/snamest/,$(notdir $^)) $(CP) $^ ada/bldtools/snamest - (cd ada/bldtools/snamest; gnatmake -q xsnamest ; ./xsnamest ; cp snames.ns ../../snames.ads ; cp snames.nb ../../snames.adb ; cp snames.nh ../../snames.h) - touch $@ + (cd ada/bldtools/snamest; gnatmake -q xsnamest ; ./xsnamest ) + $(srcdir)/../move-if-change ada/bldtools/snamest/snames.ns ada/snames.ads + $(srcdir)/../move-if-change ada/bldtools/snamest/snames.nb ada/snames.adb + $(srcdir)/../move-if-change ada/bldtools/snamest/snames.nh ada/snames.h + touch ada/stamp-snames ada/nmake.adb : ada/sinfo.ads ada/nmake.adt ada/xnmake.adb ada/xutil.ads ada/xutil.adb -$(MKDIR) ada/bldtools/nmake_b -- cgit v1.1