File: build.com

package info (click to toggle)
sc 6.21-10
  • links: PTS
  • area: main
  • in suites: potato
  • size: 496 kB
  • ctags: 670
  • sloc: ansic: 8,962; yacc: 440; makefile: 214; lisp: 98; sed: 4
file content (39 lines) | stat: -rw-r--r-- 1,437 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
$! VMS command file to build SC and PSC (requires bison) on VMS
$! SC:
$! $Revision: 6.21 $
$! bison -d gram.y
$! ren gram_tab.c gram.c
$ cc'p1'  /define=("SIMPLE","SIGVOID") sc.c
$ cc'p1'  /define=("SIMPLE","SIGVOID") gram.c
$ cc'p1'  /define=("SIMPLE","SIGVOID") lex.c
$ cc'p1'  /define=("SIMPLE","SIGVOID","RINT") interp
$ cc'p1'  /define=("SIMPLE","SIGVOID") cmds
$ cc'p1'  /define=("SIMPLE","SIGVOID") xmalloc
$ cc'p1'  /define=("SIMPLE","SIGVOID") range
$ cc'p1'  /define=("SIMPLE","SIGVOID") help
$ cc'p1'  /define=("SIMPLE","SIGVOID") vmtbl
$ cc'p1'  /define=("SIMPLE","SIGVOID") screen
$ cc'p1'  /define=("SIMPLE","SIGVOID") vi
$ cc'p1'  /define=("SIMPLE","SIGVOID") format
$ link'p1' sc.obj,lex.obj,gram.obj,interp.obj,cmds.obj,xmalloc.obj,-    
       range.obj,help.obj,vmtbl.obj,screen.obj,vi.obj,format.obj,-
       sys$library:vaxccurse.olb/lib,-
       sys$library:vaxcrtl/shar
$ !
$ ! Create VMS foreign command symbol to test SC
$ !
$ sc == "$" + f$logical("SYS$DISK") + f$directory() + "SC.EXE"
$!
$! Now PSC
$!
!$ cc'p1' psc.c
!$ cc'p1' getopt.c
$ link'p1' psc,getopt,vmtbl.obj,xmalloc.obj,screen.obj,vi.obj,format.obj,-    
       sys$library:vaxccurse.olb/lib,-
       sys$library:vaxcrtl/shar
$ !
$ ! Create VMS foreign command symbol to test PSC (Note that
$ ! PSC reads SYS$INPUT and writes to SYS$OUTPUT, so use
$ ! DEFINE/USER to redirect.)
$ !
$ psc == "$" + f$logical("SYS$DISK") + f$directory() + "PSC.EXE"