From 8fecf41df2f13f05cef00cba436027d7381c081d Mon Sep 17 00:00:00 2001 From: Geert Bosch Date: Tue, 9 Oct 2001 01:46:22 +0200 Subject: [PATCH] Makefile.in (treeprs.ads, [...]): Automatically build utilities when files need to be regenerated. 2001-10-08 Geert Bosch * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): Automatically build utilities when files need to be regenerated. From-SVN: r46110 --- gcc/ada/ChangeLog | 5 +++++ gcc/ada/Makefile.in | 38 ++++++++++++++++++++++++-------------- 2 files changed, 29 insertions(+), 14 deletions(-) diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index d41bb6db1c1..914c8b1c2df 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2001-10-08 Geert Bosch + + * Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads): + Automatically build utilities when files need to be regenerated. + 2001-10-08 Geert Bosch * xsnames.adb: New utility for updating snames.ads and snames.adb diff --git a/gcc/ada/Makefile.in b/gcc/ada/Makefile.in index 85c67ed250b..ce6b91f392c 100644 --- a/gcc/ada/Makefile.in +++ b/gcc/ada/Makefile.in @@ -2416,20 +2416,30 @@ b_gnatdll.c : $(GNATDLL_OBJS) $(GNATBIND) $(ADA_INCLUDES) -o b_gnatdll.c gnatdll.ali b_gnatdll.o : b_gnatdll.c -$(srcdir)/treeprs.ads : treeprs.adt sinfo.ads xtreeprs.spt - (cd $(srcdir); xtreeprs) - -$(srcdir)/einfo.h : einfo.ads einfo.adb xeinfo.spt - (cd $(srcdir); xeinfo einfo.h) - -$(srcdir)/sinfo.h : sinfo.ads xsinfo.spt - (cd $(srcdir); xsinfo sinfo.h) - -$(srcdir)/nmake.adb : nmake.adt sinfo.ads xnmake.spt - (cd $(srcdir); xnmake) - -$(srcdir)/nmake.ads : nmake.adt sinfo.ads xnmake.spt - (cd $(srcdir); xnmake) +treeprs.ads : treeprs.adt sinfo.ads xtreeprs.adb + -$(MKDIR) bldtools + $(CP) $^ bldtools + (cd bldtools; gnatmake -q xtreeprs ; ./xtreeprs ../treeprs.ads ) + +einfo.h : einfo.ads einfo.adb xeinfo.adb + -$(MKDIR) bldtools + $(CP) $^ bldtools + (cd bldtools; gnatmake -q xeinfo ; ./xeinfo ../einfo.h ) + +sinfo.h : sinfo.ads xsinfo.adb + -$(MKDIR) bldtools + $(CP) $^ bldtools + (cd bldtools; gnatmake -q xsinfo ; ./xsinfo ../sinfo.h ) + +nmake.adb : sinfo.ads nmake.adt xnmake.adb + -$(MKDIR) bldtools + $(CP) $^ bldtools + (cd bldtools; gnatmake -q xnmake ; ./xnmake -b ../nmake.adb ) + +nmake.ads : sinfo.ads nmake.adt xnmake.adb + -$(MKDIR) bldtools + $(CP) $^ bldtools + (cd bldtools; gnatmake -q xnmake ; ./xnmake -s ../nmake.ads ) ADA_INCLUDE_DIR = $(libsubdir)/adainclude ADA_RTL_OBJ_DIR = $(libsubdir)/adalib -- 2.30.2