OSDN Git Service

* doc/install.texi (xtensa-*-elf): New target.
[pf3gnuchains/gcc-fork.git] / gcc / ada / Makefile.in
index f80de0e..84f1b0f 100644 (file)
@@ -296,7 +296,7 @@ GNAT_ADA_OBJS = \
  exp_code.o exp_dbug.o exp_disp.o exp_dist.o exp_fixd.o exp_aggr.o exp_imgv.o \
  exp_intr.o exp_pakd.o exp_prag.o exp_smem.o \
  exp_strm.o exp_tss.o exp_util.o exp_vfpt.o expander.o fname.o fname-uf.o \
- freeze.o frontend.o gnat.o g-hesora.o g-htable.o g-os_lib.o \
+ fmap.o freeze.o frontend.o gnat.o g-hesora.o g-htable.o g-os_lib.o \
  g-speche.o s-crc32.o get_targ.o gnatvsn.o \
  hlo.o hostparm.o impunit.o \
  interfac.o itypes.o inline.o krunch.o lib.o \
@@ -326,7 +326,7 @@ GNATBIND_OBJS = \
  alloc.o bcheck.o binde.o \
  binderr.o bindgen.o bindusg.o \
  butil.o casing.o csets.o \
- debug.o fname.o gnat.o g-hesora.o g-htable.o \
+ debug.o fmap.o fname.o gnat.o g-hesora.o g-htable.o \
  g-os_lib.o gnatbind.o gnatvsn.o hostparm.o \
  krunch.o namet.o opt.o osint.o output.o rident.o s-crc32.o s-assert.o \
  s-parame.o s-sopco3.o s-sopco4.o s-sopco5.o s-stache.o s-stalib.o \
@@ -339,7 +339,7 @@ GNATBIND_OBJS = \
 
 GNATCHOP_RTL_OBJS = adaint.o argv.o cio.o cstreams.o exit.o \
  final.o init.o raise.o sysdep.o ada.o a-comlin.o gnat.o a-string.o \
- a-stmaco.o a-strsea.o a-charac.o a-chlat1.o g-except.o \
+ a-stmaco.o a-strsea.o a-charac.o a-chlat1.o g-except.o s-io.o \
  a-chahan.o a-strunb.o a-strfix.o a-strmap.o g-casuti.o g-comlin.o hostparm.o \
  g-dirope.o g-hesora.o g-htable.o g-regexp.o interfac.o system.o s-assert.o \
  s-parame.o i-cstrea.o s-exctab.o a-ioexce.o s-except.o s-stache.o s-stoele.o \
@@ -364,7 +364,7 @@ GNATCMD_RTL_OBJS = adaint.o argv.o raise.o exit.o final.o init.o \
    s-stache.o s-sopco3.o s-sopco4.o s-sopco5.o \
    s-strops.o s-soflin.o s-wchcon.o s-wchcnv.o s-wchjis.o s-unstyp.o 
 
-GNATCMD_OBJS = alloc.o debug.o fname.o gnatcmd.o gnatvsn.o hostparm.o \
+GNATCMD_OBJS = alloc.o debug.o fmap.o fname.o gnatcmd.o gnatvsn.o hostparm.o \
    krunch.o namet.o opt.o osint.o casing.o csets.o widechar.o \
    output.o sdefault.o switch.o stylesw.o validsw.o table.o tree_io.o types.o \
    $(GNATCMD_RTL_OBJS) $(EXTRA_GNATTOOLS_OBJS)
@@ -394,7 +394,7 @@ GNATLINK_RTL_OBJS = \
    s-memory.o s-traceb.o s-wchcnv.o s-wchcon.o s-wchjis.o
 
 GNATLINK_OBJS = gnatlink.o link.o \
-   alloc.o debug.o gnatvsn.o hostparm.o namet.o \
+   alloc.o debug.o fmap.o gnatvsn.o hostparm.o namet.o \
    opt.o osint.o output.o sdefault.o stylesw.o validsw.o \
    switch.o table.o tree_io.o types.o widechar.o \
    $(GNATLINK_RTL_OBJS) $(EXTRA_GNATTOOLS_OBJS)
@@ -449,6 +449,7 @@ GNATLS_RTL_OBJS = \
  s-fileio.o \
  s-imgenu.o \
  s-imgint.o \
+ s-io.o \
  s-mastop.o \
  s-parame.o \
  s-secsta.o \
@@ -482,12 +483,17 @@ GNATLS_OBJS = \
  einfo.o    \
  elists.o   \
  errout.o   \
+ fmap.o     \
  fname.o    \
  gnatls.o   \
  gnatvsn.o  \
  hostparm.o \
  krunch.o   \
  lib.o      \
+ mlib.o     \
+ mlib-fil.o \
+ mlib-tgt.o \
+ mlib-utl.o \
  namet.o    \
  nlists.o   \
  opt.o      \
@@ -544,11 +550,11 @@ GNATMAKE_RTL_OBJS = adaint.o argv.o raise.o exit.o a-comlin.o \
  s-imgenu.o s-assert.o s-secsta.o s-stoele.o s-soflin.o s-fileio.o \
  s-valenu.o s-valuti.o g-casuti.o \
  system.o s-exctab.o s-strops.o s-sopco3.o s-sopco4.o s-sopco5.o \
- g-htable.o g-regexp.o s-crc32.o s-wchcnv.o
+ g-htable.o s-io.o g-regexp.o s-crc32.o s-wchcnv.o
 
 GNATMAKE_OBJS = ali.o ali-util.o \
  alloc.o atree.o binderr.o butil.o casing.o csets.o debug.o einfo.o elists.o \
- errout.o fname.o fname-uf.o fname-sf.o \
+ errout.o fmap.o fname.o fname-uf.o fname-sf.o \
  gnatmake.o gnatvsn.o hostparm.o krunch.o lib.o make.o makeusg.o \
  mlib.o mlib-fil.o mlib-prj.o mlib-tgt.o mlib-utl.o \
  namet.o nlists.o opt.o osint.o output.o \
@@ -646,7 +652,7 @@ GNATPREP_RTL_OBJS = adaint.o argv.o raise.o exit.o final.o init.o \
    a-except.o tracebak.o s-memory.o s-traceb.o s-mastop.o s-except.o \
    a-finali.o a-filico.o a-ioexce.o a-stream.o a-string.o a-strmap.o \
    a-stmaco.o a-strfix.o s-imgenu.o a-strsea.o a-strunb.o \
-   sysdep.o a-tags.o a-textio.o gnat.o g-hesora.o \
+   sysdep.o a-tags.o a-textio.o gnat.o g-hesora.o s-io.o \
    g-casuti.o g-dirope.o g-os_lib.o g-regexp.o g-comlin.o i-cstrea.o \
    system.o s-bitops.o g-except.o s-exctab.o s-ficobl.o s-fileio.o s-finimp.o \
    s-finroo.o s-imgint.o s-parame.o s-secsta.o s-stache.o s-stalib.o \
@@ -694,14 +700,14 @@ GNATXREF_RTL_OBJS =  \
    s-imgint.o a-comlin.o s-soflin.o s-stache.o s-secsta.o s-stalib.o \
    g-os_lib.o s-strops.o a-tags.o   a-stream.o s-sopco3.o s-sopco4.o \
    s-sopco5.o s-memory.o s-traceb.o a-except.o s-unstyp.o a-strmap.o \
-   a-stmaco.o \
+   a-stmaco.o s-io.o \
    a-chahan.o a-strsea.o a-strfix.o s-stratt.o s-finroo.o g-except.o \
    s-bitops.o s-finimp.o a-finali.o a-filico.o a-strunb.o g-dirope.o \
    g-comlin.o s-ficobl.o s-fileio.o a-textio.o g-regexp.o g-io_aux.o \
    s-valuti.o s-valuns.o s-valint.o s-wchcon.o s-wchjis.o s-wchcnv.o
 
 GNATXREF_OBJS = gnatxref.o xr_tabls.o xref_lib.o \
-   alloc.o debug.o gnatvsn.o hostparm.o types.o output.o \
+   alloc.o debug.o fmap.o gnatvsn.o hostparm.o types.o output.o \
    sdefault.o stylesw.o validsw.o tree_io.o opt.o table.o osint.o \
    switch.o widechar.o namet.o \
    $(GNATXREF_RTL_OBJS) $(EXTRA_GNATTOOLS_OBJS)
@@ -715,7 +721,7 @@ GNATFIND_RTL_OBJS = \
    a-tags.o a-textio.o  \
    gnat.o g-casuti.o g-comlin.o g-dirope.o g-except.o  \
    g-hesora.o g-htable.o g-io_aux.o g-os_lib.o g-regexp.o \
-   interfac.o i-cstrea.o \
+   interfac.o i-cstrea.o s-io.o \
    system.o s-assert.o s-bitops.o s-except.o s-exctab.o \
    s-imgenu.o s-ficobl.o s-fileio.o s-finimp.o s-finroo.o s-imgint.o \
    s-mastop.o s-parame.o s-secsta.o s-soflin.o s-sopco3.o \
@@ -724,7 +730,7 @@ GNATFIND_RTL_OBJS = \
    s-valuns.o s-valuti.o s-wchcnv.o s-wchcon.o s-wchjis.o
 
 GNATFIND_OBJS = gnatfind.o xr_tabls.o xref_lib.o \
-   alloc.o debug.o gnatvsn.o hostparm.o namet.o opt.o \
+   alloc.o debug.o fmap.o gnatvsn.o hostparm.o namet.o opt.o \
    osint.o output.o sdefault.o stylesw.o validsw.o switch.o table.o \
    tree_io.o types.o widechar.o \
    $(GNATFIND_RTL_OBJS) $(EXTRA_GNATTOOLS_OBJS)
@@ -737,7 +743,7 @@ GNATDLL_RTL_OBJS = \
    a-strsea.o a-stmaco.o a-strunb.o a-tags.o a-textio.o ada.o \
    g-casuti.o g-comlin.o g-dirope.o g-except.o g-hesora.o g-htable.o \
    g-os_lib.o g-regexp.o gnat.o \
-   i-cstrea.o interfac.o \
+   i-cstrea.o interfac.o s-io.o \
    s-bitops.o s-except.o s-exctab.o s-ficobl.o s-fileio.o s-finimp.o \
    s-finroo.o s-imgint.o s-mastop.o s-parame.o s-secsta.o s-soflin.o \
    s-sopco3.o s-sopco4.o s-stache.o s-stalib.o s-stoele.o s-stratt.o \
@@ -788,7 +794,7 @@ SO_OPTS=-Wl,-soname,
 # gnatlib-shared-dual
 GNATLIB_SHARED=gnatlib-shared-default
 
-# default value for gnatmake's target dependant file
+# default value for gnatmake's target dependent file
 MLIB_TGT=mlib-tgt
 
 # $(filter-out PATTERN...,TEXT) removes all PATTERN words from TEXT.
@@ -1054,7 +1060,6 @@ ifeq ($(strip $(filter-out sparc sun solaris2% sunos5%,$(targ))),)
   a-intnam.ads<4sintnam.ads \
   s-inmaop.adb<7sinmaop.adb \
   s-intman.adb<5sintman.adb \
-  s-mastop.adb<5smastop.adb \
   s-osinte.adb<5sosinte.adb \
   s-osinte.ads<5sosinte.ads \
   s-osprim.adb<5posprim.adb \
@@ -1080,7 +1085,6 @@ ifeq ($(strip $(filter-out sparc sun solaris2% sunos5%,$(targ))),)
     a-intnam.ads<4sintnam.ads \
     s-inmaop.adb<7sinmaop.adb \
     s-intman.adb<5sintman.adb \
-    s-mastop.adb<5smastop.adb \
     s-osinte.adb<7sosinte.adb \
     s-osinte.ads<5tosinte.ads \
     s-osprim.adb<5posprim.adb \
@@ -1099,7 +1103,6 @@ ifeq ($(strip $(filter-out sparc sun solaris2% sunos5%,$(targ))),)
     a-intnam.ads<4sintnam.ads \
     s-inmaop.adb<7sinmaop.adb \
     s-intman.adb<7sintman.adb \
-    s-mastop.adb<5smastop.adb \
     s-osinte.adb<5iosinte.adb \
     s-osinte.ads<54osinte.ads \
     s-osprim.adb<5posprim.adb \
@@ -1661,6 +1664,7 @@ GNATRTL_NONTASKING_OBJS= \
   g-curexc.o \
   g-debuti.o \
   g-debpoo.o \
+  g-diopit.o \
   g-dirope.o \
   g-except.o \
   g-exctra.o \
@@ -1896,6 +1900,14 @@ HIE_SOURCES = \
  unchdeal.ads \
  s-maccod.ads \
  s-unstyp.ads \
+ s-fatgen.ads \
+ s-fatgen.adb \
+ s-fatflt.ads \
+ s-fatlfl.ads \
+ s-fatllf.ads \
+ s-fatsfl.ads \
+ s-secsta.ads \
+ s-secsta.adb \
  a-tags.ads   \
  a-tags.adb $(EXTRA_HIE_SOURCES)
 
@@ -1910,23 +1922,19 @@ HIE_OBJS =  \
  s-stoele.o \
  s-maccod.o \
  s-unstyp.o \
+ s-fatflt.o \
+ s-fatlfl.o \
+ s-fatllf.o \
+ s-secsta.o \
  a-tags.o $(EXTRA_HIE_OBJS)
 
 # Files which are needed in ravenscar mode
 
 RAVEN_SOURCES = \
  $(HIE_SOURCES) \
- s-arit64.ads \
- s-arit64.adb \
  s-parame.ads \
  s-parame.adb \
  g-except.ads \
- s-stalib.ads \
- s-stalib.adb \
- s-soflin.ads \
- s-soflin.adb \
- s-secsta.ads \
- s-secsta.adb \
  s-osinte.ads \
  s-osinte.adb \
  s-tasinf.ads \
@@ -1935,9 +1943,12 @@ RAVEN_SOURCES = \
  s-taprop.ads \
  s-taprop.adb \
  s-taskin.ads \
+ s-taskin.adb \
  s-interr.ads \
  s-interr.adb \
- s-taskin.adb \
+ a-interr.ads \
+ a-interr.adb \
+ a-intnam.ads \
  a-reatim.ads \
  a-reatim.adb \
  a-retide.ads \
@@ -1950,33 +1961,24 @@ RAVEN_SOURCES = \
  s-tarest.ads \
  s-tarest.adb $(EXTRA_RAVEN_SOURCES)
 
-# Files that need to be preprocessed before inclusion in a ravenscar run time
-
-RAVEN_MOD = \
- s-tposen.adb \
- s-tarest.adb
-
 # Objects to generate for the ravenscar run time
 
 RAVEN_OBJS = \
  $(HIE_OBJS) \
- g-except.o  \
- s-stalib.o  \
- s-arit64.o  \
  s-parame.o  \
- s-soflin.o  \
- s-secsta.o  \
- s-tasinf.o  \
+ g-except.o  \
  s-osinte.o  \
+ s-tasinf.o  \
  s-taspri.o  \
  s-taprop.o  \
  s-taskin.o  \
- s-taprob.o  \
- s-tposen.o  \
  s-interr.o  \
  a-interr.o  \
+ a-intnam.o  \
  a-reatim.o  \
  a-retide.o  \
+ s-taprob.o  \
+ s-tposen.o  \
  s-tasres.o  \
  s-tarest.o  $(EXTRA_RAVEN_OBJS)
 
@@ -2435,6 +2437,9 @@ nmake.ads :  sinfo.ads nmake.adt xnmake.adb
        $(CP) $^ bldtools
        (cd bldtools; gnatmake -q xnmake ; ./xnmake -s ../nmake.ads )
 
+update-sources : treeprs.ads einfo.h sinfo.h nmake.adb nmake.ads
+       $(CP) $^ $(srcdir)
+
 ADA_INCLUDE_DIR = $(libsubdir)/adainclude
 ADA_RTL_OBJ_DIR = $(libsubdir)/adalib
 
@@ -2595,16 +2600,16 @@ utils2.o : utils2.c $(CONFIG_H) $(TREE_H) $(srcdir)/../flags.h ada.h types.h \
    atree.h nlists.h elists.h sinfo.h einfo.h namet.h snames.h stringt.h \
    uintp.h fe.h $(ADA_TREE_H) gigi.h
 
-# specific rules for tools needing target dependant sources
+# specific rules for tools needing target dependent sources
 # for each such source (e.g. mlib-tgt.adb) a link from the target
 # specific name to the default name is defined in the subdir "tools". 
 # This subdir is added at the beginning of the source path fore the compilation
-# of this unit. Here are the step for adding a new target dependant source:
+# of this unit. Here are the step for adding a new target dependent source:
 #   - create a Macro with the default name for the source (e.g. mlib-tgt)
-#   - change the value if this Macro in each target-dependant section of this 
+#   - change the value if this Macro in each target-dependent section of this 
 #     Makefile (close to LIBGNAT_TARGET_PAIRS defs) if there is a
 #     specific version of the file for this section
-#   - Add a link from target dependant version to the default name in "tools"
+#   - Add a link from target dependent version to the default name in "tools"
 #      (see stamp-tool_src_dir target)
 #   - Add a specific target for the object in order to compile with
 #     "tools" on the source path (see mlib-tgt)
@@ -3114,6 +3119,9 @@ fname.o : ada.ads a-except.ads alloc.ads debug.ads fname.ads fname.adb \
    system.ads s-assert.ads s-exctab.ads s-stalib.ads s-wchcon.ads \
    table.ads table.adb tree_io.ads types.ads unchconv.ads unchdeal.ads 
 
+fmap.o : alloc.ads debug.ads fmap.ads fmap.adb hostparm.ads namet.ads opt.ads \
+   osint.ads output.ads table.ads table.adb tree_io.ads types.ads
+
 fname-sf.o : alloc.ads casing.ads fname.ads fname-sf.ads fname-sf.adb \
    fname-uf.ads gnat.ads g-os_lib.ads namet.ads osint.ads sfn_scan.ads \
    system.ads s-exctab.ads s-stalib.ads s-stoele.ads table.ads types.ads \
@@ -3157,14 +3165,22 @@ g-comlin.o : ada.ads a-comlin.ads a-except.ads a-finali.ads a-filico.ads \
    s-parame.ads s-secsta.ads s-soflin.ads s-stache.ads s-stalib.ads \
    s-stoele.ads s-stratt.ads s-strops.ads s-unstyp.ads unchconv.ads 
 
-g-dirope.o : ada.ads a-charac.ads a-chahan.ads a-chlat1.ads a-except.ads \
+g-diopit.o : ada.ads a-charac.ads a-chahan.ads a-chlat1.ads a-except.ads \
    a-finali.ads a-filico.ads a-stream.ads a-string.ads a-strfix.ads \
-   a-strmap.ads a-strunb.ads a-tags.ads gnat.ads g-dirope.ads g-dirope.adb \
+   a-strmap.ads a-tags.ads gnat.ads g-dirope.ads g-dirope.adb \
    g-os_lib.ads g-regexp.ads system.ads s-exctab.ads s-finimp.ads \
    s-finroo.ads s-parame.ads s-secsta.ads s-soflin.ads s-stache.ads \
    s-stalib.ads s-stoele.ads s-stratt.ads s-strops.ads s-unstyp.ads \
    unchconv.ads unchdeal.ads 
 
+g-dirope.o : ada.ads a-charac.ads a-chahan.ads a-chlat1.ads a-except.ads \
+   a-finali.ads a-filico.ads a-stream.ads a-string.ads a-strfix.ads \
+   a-strmap.ads a-tags.ads gnat.ads g-dirope.ads g-dirope.adb \
+   g-os_lib.ads system.ads s-exctab.ads s-finimp.ads \
+   s-finroo.ads s-parame.ads s-secsta.ads s-soflin.ads s-stache.ads \
+   s-stalib.ads s-stoele.ads s-stratt.ads s-strops.ads s-unstyp.ads \
+   unchconv.ads unchdeal.ads 
+
 get_targ.o : get_targ.ads get_targ.adb system.ads s-exctab.ads \
    s-stalib.ads types.ads unchconv.ads unchdeal.ads 
 
@@ -3499,12 +3515,12 @@ opt.o : ada.ads a-except.ads gnat.ads g-os_lib.ads gnatvsn.ads \
    hostparm.ads opt.ads opt.adb system.ads s-exctab.ads s-stalib.ads \
    s-wchcon.ads tree_io.ads types.ads unchconv.ads unchdeal.ads 
 
-osint.o : ada.ads a-except.ads a-uncdea.ads alloc.ads debug.ads gnat.ads \
-   g-htable.ads g-htable.adb g-os_lib.ads hostparm.ads namet.ads opt.ads \
-   osint.ads osint.adb output.ads sdefault.ads system.ads s-assert.ads \
-   s-exctab.ads s-secsta.ads s-soflin.ads s-stache.ads s-stalib.ads \
-   s-stoele.ads s-wchcon.ads table.ads table.adb tree_io.ads types.ads \
-   unchconv.ads unchdeal.ads 
+osint.o : ada.ads a-except.ads a-uncdea.ads alloc.ads debug.ads fmap.ads \
+   gnat.ads g-htable.ads g-htable.adb g-os_lib.ads hostparm.ads namet.ads \
+   opt.ads osint.ads osint.adb output.ads sdefault.ads system.ads \
+   s-assert.ads s-exctab.ads s-secsta.ads s-soflin.ads s-stache.ads \
+   s-stalib.ads s-stoele.ads s-wchcon.ads table.ads table.adb tree_io.ads \
+   types.ads  unchconv.ads unchdeal.ads
 
 output.o : gnat.ads g-os_lib.ads output.ads output.adb system.ads \
    s-exctab.ads s-stalib.ads types.ads unchconv.ads unchdeal.ads