home *** CD-ROM | disk | FTP | other *** search
/ pc.louisiana.edu/pub/unix/ / Louisiana_UNIX.tar / Louisiana_UNIX / pch618-619 / build.com next >
Text File  |  1991-09-30  |  1KB  |  40 lines

  1. $! VMS command file to build SC and PSC (requires bison) on VMS
  2. $! SC:
  3. $! $Revision: 6.19 $
  4. $! bison -d gram.y
  5. $! ren gram_tab.c gram.c
  6. $ cc'p1'  /define=("SIMPLE","SIGVOID") sc.c
  7. $ cc'p1'  /define=("SIMPLE","SIGVOID") gram.c
  8. $ cc'p1'  /define=("SIMPLE","SIGVOID") lex.c
  9. $ cc'p1'  /define=("SIMPLE","SIGVOID","RINT") interp
  10. $ cc'p1'  /define=("SIMPLE","SIGVOID") cmds
  11. $ cc'p1'  /define=("SIMPLE","SIGVOID") xmalloc
  12. $ cc'p1'  /define=("SIMPLE","SIGVOID") range
  13. $ cc'p1'  /define=("SIMPLE","SIGVOID") help
  14. $ cc'p1'  /define=("SIMPLE","SIGVOID") vmtbl
  15. $ cc'p1'  /define=("SIMPLE","SIGVOID") screen
  16. $ cc'p1'  /define=("SIMPLE","SIGVOID") vi
  17. $ cc'p1'  /define=("SIMPLE","SIGVOID") format
  18. $ link'p1' sc.obj,lex.obj,gram.obj,interp.obj,cmds.obj,xmalloc.obj,-    
  19.        range.obj,help.obj,vmtbl.obj,screen.obj,vi.obj,format.obj,-
  20.        sys$library:vaxccurse.olb/lib,-
  21.        sys$library:vaxcrtl/shar
  22. $ !
  23. $ ! Create VMS foreign command symbol to test SC
  24. $ !
  25. $ sc == "$" + f$logical("SYS$DISK") + f$directory() + "SC.EXE"
  26. $!
  27. $! Now PSC
  28. $!
  29. !$ cc'p1' psc.c
  30. !$ cc'p1' getopt.c
  31. $ link'p1' psc,getopt,vmtbl.obj,xmalloc.obj,screen.obj,vi.obj,format.obj,-    
  32.        sys$library:vaxccurse.olb/lib,-
  33.        sys$library:vaxcrtl/shar
  34. $ !
  35. $ ! Create VMS foreign command symbol to test PSC (Note that
  36. $ ! PSC reads SYS$INPUT and writes to SYS$OUTPUT, so use
  37. $ ! DEFINE/USER to redirect.)
  38. $ !
  39. $ psc == "$" + f$logical("SYS$DISK") + f$directory() + "PSC.EXE"
  40.