home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD2.mdf / gnu / djgpp / diffs / binutils.2 / opcodes / configur.bat
Encoding:
DOS Batch File  |  1993-11-28  |  1.1 KB  |  33 lines

  1. *** orig/binutils.2/opcodes/configur.bat    Sun May 30 15:22:54 1993
  2. --- src/binutils.2/opcodes/configur.bat    Sun Nov 28 00:08:54 1993
  3. ***************
  4. *** 0 ****
  5. --- 1,27 ----
  6. + @echo off
  7. + echo Configuring opcodes for go32
  8. + rem This batch file assumes a unix-type "sed" program
  9. + echo # Makefile generated by "configure.bat"> Makefile
  10. + if exist config.sed del config.sed
  11. + echo "s/^    \$(srcdir)\/move-if-change/    update/    ">> config.sed
  12. + echo "/\.o[     ]*:/ s/config.status//            ">> config.sed
  13. + echo "/^target=/ c\                    ">> config.sed
  14. + echo "target=go32                    ">> config.sed
  15. + echo "s/CC = cc/CC = gcc/                ">> config.sed
  16. + echo "s/:\$/: \$/g                    ">> config.sed
  17. + echo "s/^    \ *\.\//    go32 /            ">> config.sed
  18. + echo "s/`echo \$(srcdir)\///g                ">> config.sed
  19. + echo "s/ | sed 's,\^\\\.\/,,'`//g            ">> config.sed
  20. + echo "s/^    cd \$(srcdir)[     ]*;//            ">> config.sed
  21. + echo "s/\/usr[^ ]*errno.h//g                ">> config.sed
  22. + echo "s/^[     ]*rm/    -rm/                ">> config.sed
  23. + sed -e "s/^\"//" -e "s/\"$//" -e "s/[     ]*$//" config.sed > config2.sed
  24. + sed -f config2.sed Makefile.in >> Makefile
  25. + del config.sed
  26. + del config2.sed
  27.