home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / gcc-2.7.2.1-base.tgz / gcc-2.7.2.1-base.tar / fsf / gcc / config / mips / t-ecoff < prev    next >
Text File  |  1995-01-19  |  2KB  |  76 lines

  1. CONFIG2_H    = $(srcdir)/config/mips/ecoff.h
  2.  
  3. # We have a premade insn-attrtab.c to save the hour it takes to run genattrtab.
  4. # PREMADE_ATTRTAB = $(srcdir)/config/mips/mips-at.c
  5. # PREMADE_ATTRTAB_MD = $(srcdir)/config/mips/mips-at.md
  6.  
  7. # Suppress building libgcc1.a, since the MIPS compiler port is complete
  8. # and does not need anything from libgcc1.a.
  9. LIBGCC1 =
  10. CROSS_LIBGCC1 =
  11.  
  12. # We must build libgcc2.a with -G 0, in case the user wants to link
  13. # without the $gp register.
  14. LIBGCC2_CFLAGS = -O2 $(LIBGCC2_INCLUDES) $(GCC_CFLAGS) -g1 -G 0
  15.  
  16. # These are really part of libgcc1, but this will cause them to be
  17. # built correctly, so... [taken from t-sparclite]
  18. LIB2FUNCS_EXTRA = fp-bit.c dp-bit.c
  19.  
  20. dp-bit.c: $(srcdir)/config/fp-bit.c
  21.     echo '#ifdef __MIPSEL__' > dp-bit.c
  22.     echo '#define FLOAT_BIT_ORDER_MISMATCH' >> dp-bit.c
  23.     echo '#endif' >> dp-bit.c
  24.     echo '#define US_SOFTWARE_GOFAST' >> dp-bit.c
  25.     cat $(srcdir)/config/fp-bit.c >> dp-bit.c
  26.  
  27. fp-bit.c: $(srcdir)/config/fp-bit.c
  28.     echo '#define FLOAT' > fp-bit.c
  29.     echo '#ifdef __MIPSEL__' >> fp-bit.c
  30.     echo '#define FLOAT_BIT_ORDER_MISMATCH' >> fp-bit.c
  31.     echo '#endif' >> fp-bit.c
  32.     echo '#define US_SOFTWARE_GOFAST' >> fp-bit.c
  33.     cat $(srcdir)/config/fp-bit.c >> fp-bit.c
  34.  
  35. # Build the libraries for both hard and soft floating point
  36.  
  37. MULTILIB_OPTIONS = msoft-float EL/EB mips1/mips3
  38. MULTILIB_DIRNAMES = soft-float el eb mips1 mips3
  39. MULTILIB_MATCHES =
  40.  
  41. LIBGCC = stmp-multilib
  42. INSTALL_LIBGCC = install-multilib
  43.  
  44. # Add additional dependencies to recompile selected modules whenever the
  45. # tm.h file changes.  The files compiled are:
  46. #
  47. #    gcc.c        (*_SPEC changes)
  48. #    toplev.c    (new switches + assembly output changes)
  49. #    sdbout.c    (debug format changes)
  50. #    dbxout.c    (debug format changes)
  51. #    dwarfout.c    (debug format changes)
  52. #    final.c        (assembly output changes)
  53. #    varasm.c    (assembly output changes)
  54. #    cse.c        (cost functions)
  55. #    insn-output.c    (possible ifdef changes in tm.h)
  56. #    regclass.c    (fixed/call used register changes)
  57. #    cccp.c        (new preprocessor macros, -v version #)
  58. #    explow.c    (GO_IF_LEGITIMATE_ADDRESS)
  59. #    recog.c        (GO_IF_LEGITIMATE_ADDRESS)
  60. #    reload.c    (GO_IF_LEGITIMATE_ADDRESS)
  61.  
  62. gcc.o: $(CONFIG2_H)
  63. toplev.o: $(CONFIG2_H)
  64. sdbout.o: $(CONFIG2_H)
  65. dbxout.o: $(CONFIG2_H)
  66. dwarfout.o: $(CONFIG2_H)
  67. final.o: $(CONFIG2_H)
  68. varasm.o: $(CONFIG2_H)
  69. cse.o: $(CONFIG2_H)
  70. insn-output.o: $(CONFIG2_H)
  71. regclass.o: $(CONFIG2_H)
  72. cccp.o: $(CONFIG2_H)
  73. explow.o: $(CONFIG2_H)
  74. recog.o: $(CONFIG2_H)
  75. reload.o: $(CONFIG2_H)
  76.