Commit 8fecf41d by Geert Bosch Committed by Geert Bosch

Makefile.in (treeprs.ads, [...]): Automatically build utilities when files need to be regenerated.

2001-10-08  Geert Bosch  <bosch@gnat.com>

	* Makefile.in (treeprs.ads, einfo.h, sinfo.h, nmake.adb, nmake.ads):
	Automatically build utilities when files need to be regenerated.

From-SVN: r46110
parent 589f1edf
2001-10-08 Geert Bosch <bosch@gnat.com> 2001-10-08 Geert Bosch <bosch@gnat.com>
* 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 <bosch@gnat.com>
* xsnames.adb: New utility for updating snames.ads and snames.adb * xsnames.adb: New utility for updating snames.ads and snames.adb
2001-10-08 Zack Weinberg <zack@codesourcery.com> 2001-10-08 Zack Weinberg <zack@codesourcery.com>
......
...@@ -2416,20 +2416,30 @@ b_gnatdll.c : $(GNATDLL_OBJS) ...@@ -2416,20 +2416,30 @@ b_gnatdll.c : $(GNATDLL_OBJS)
$(GNATBIND) $(ADA_INCLUDES) -o b_gnatdll.c gnatdll.ali $(GNATBIND) $(ADA_INCLUDES) -o b_gnatdll.c gnatdll.ali
b_gnatdll.o : b_gnatdll.c b_gnatdll.o : b_gnatdll.c
$(srcdir)/treeprs.ads : treeprs.adt sinfo.ads xtreeprs.spt treeprs.ads : treeprs.adt sinfo.ads xtreeprs.adb
(cd $(srcdir); xtreeprs) -$(MKDIR) bldtools
$(CP) $^ bldtools
$(srcdir)/einfo.h : einfo.ads einfo.adb xeinfo.spt (cd bldtools; gnatmake -q xtreeprs ; ./xtreeprs ../treeprs.ads )
(cd $(srcdir); xeinfo einfo.h)
einfo.h : einfo.ads einfo.adb xeinfo.adb
$(srcdir)/sinfo.h : sinfo.ads xsinfo.spt -$(MKDIR) bldtools
(cd $(srcdir); xsinfo sinfo.h) $(CP) $^ bldtools
(cd bldtools; gnatmake -q xeinfo ; ./xeinfo ../einfo.h )
$(srcdir)/nmake.adb : nmake.adt sinfo.ads xnmake.spt
(cd $(srcdir); xnmake) sinfo.h : sinfo.ads xsinfo.adb
-$(MKDIR) bldtools
$(srcdir)/nmake.ads : nmake.adt sinfo.ads xnmake.spt $(CP) $^ bldtools
(cd $(srcdir); xnmake) (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_INCLUDE_DIR = $(libsubdir)/adainclude
ADA_RTL_OBJ_DIR = $(libsubdir)/adalib ADA_RTL_OBJ_DIR = $(libsubdir)/adalib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment