home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Source / GNU / emacs / src / compile.com < prev    next >
Text File  |  1992-02-10  |  2KB  |  92 lines

  1. $ set noverify
  2. $ ! VMS command file to recompile all .C files which need recompilation.
  3. $ ! These are all .C files that have no .OBJ files or that are newer
  4. $ ! than the corresponding .OBJ files.  This file is self contained
  5. $ ! and does not require you to do anything before running it.
  6. $ !***
  7. $ !***  Mukesh Prasad        compile.com    Nov. 18, 1985
  8. $ !***
  9. $ !***    Compile all .C files in the directory 'sourcedir'.
  10. $ !***  If an argument is present, compiles all files, otherwise
  11. $ !***  compiles only files modified since last compile.
  12. $ !***
  13. $
  14. $! First we try to sense which C compiler we have available.
  15. $!
  16. $set noon        !do not bomb if an error occurs.
  17. $assign nla0: sys$output
  18. $assign nla0: sys$error  !so we do not get an error message about this.
  19. $cc nla0:compiler_check.c
  20. $if $status.eq.%x38090 then goto try_gcc
  21. $goto have_compiler
  22. $!
  23. $try_gcc:
  24. $gcc nla0:compiler_check.c
  25. $if $status.eq.%x38090 then goto whoops
  26. $ CC :== GCC
  27. $goto have_compiler
  28. $!
  29. $whoops:
  30. $write sys$output "You must have a C compiler to build Emacs.  Sorry."
  31. $deassign sys$output
  32. $deassign sys$error
  33. $exit %x38090
  34. $!
  35. $!
  36. $have_compiler:
  37. $deassign sys$output
  38. $deassign sys$error
  39. $set on
  40. $if f$search("compiler_check.obj").nes."" then dele/nolog compiler_check.obj;
  41. $write sys$output "Building Emacs with the ''cc' compiler."
  42. $
  43. $    @precomp
  44. $    @recomp dispnew.c
  45. $    @recomp scroll.c
  46. $    @recomp xdisp.c
  47. $    @recomp window.c
  48. $    @recomp term.c
  49. $    @recomp cm.c
  50. $    @recomp emacs.c
  51. $    @recomp keyboard.c
  52. $    @recomp macros.c
  53. $    @recomp keymap.c
  54. $    @recomp sysdep.c
  55. $    @recomp buffer.c
  56. $    @recomp filelock.c
  57. $    @recomp insdel.c
  58. $    @recomp marker.c
  59. $    @recomp minibuf.c
  60. $    @recomp fileio.c
  61. $    @recomp dired.c
  62. $    @recomp filemode.c
  63. $    @recomp cmds.c
  64. $    @recomp casefiddle.c
  65. $    @recomp indent.c
  66. $    @recomp search.c
  67. $    @recomp regex.c
  68. $    @recomp undo.c
  69. $    @recomp alloc.c
  70. $    @recomp data.c
  71. $    @recomp doc.c
  72. $    @recomp editfns.c
  73. $    @recomp callint.c
  74. $    @recomp eval.c
  75. $    @recomp fns.c
  76. $    @recomp print.c
  77. $    @recomp lread.c
  78. $    @recomp abbrev.c
  79. $    @recomp syntax.c
  80. $    @recomp mocklisp.c
  81. $    @recomp bytecode.c
  82. $    @recomp process.c
  83. $    @recomp callproc.c
  84. $    @recomp vmsfns.c
  85. $    @recomp doprnt.c
  86. $    @recomp vmsmap.c
  87. $    @recomp termcap.c
  88. $    @recomp tparam.c
  89. $    @recomp lastfile.c
  90. $    @recomp malloc.c
  91. $    @recomp alloca.c
  92.