0
|
1 $ ! Compile and link those programs in [etc] that are usable on VMS.
|
|
2 $
|
|
3 $ old = f$environment("default")
|
|
4 $ set default emacs_library:[etc]
|
|
5 $ if f$search("test-distrib.c") .nes. "" then goto version44
|
|
6 $
|
|
7 $ cc test_distrib.c
|
|
8 $ link test_distrib.obj,vmslink.opt/opt
|
|
9 $ run test_distrib.exe
|
|
10 $ cc /debug make_docfile.c
|
|
11 $ link make_docfile.obj,vmslink.opt/opt
|
|
12 $ cc /debug digest_doc.c
|
|
13 $ link digest_doc.obj,vmslink.opt/opt
|
|
14 $ cc /debug sorted_doc.c
|
|
15 $ cc /debug qsort.c
|
|
16 $ link sorted_doc.obj,qsort.obj,vmslink.opt/opt
|
|
17 $ cc /debug etags_vmslib.c
|
|
18 $ cc /debug etags.c
|
|
19 $ link etags.obj,etags_vmslib.obj,vmslink.opt/opt
|
|
20 $ goto finish
|
|
21 $
|
|
22 $version44:
|
|
23 $ cc test-distrib.c
|
|
24 $ link test-distrib.obj,vmslink.opt/opt
|
|
25 $ run test-distrib.exe
|
|
26 $ cc /debug make-docfile.c
|
|
27 $ link make-docfile.obj,vmslink.opt/opt
|
|
28 $ cc /debug digest-doc.c
|
|
29 $ link digest-doc.obj,vmslink.opt/opt
|
|
30 $ cc /debug sorted-doc.c
|
|
31 $ cc /debug qsort.c
|
|
32 $ link sorted-doc.obj,qsort.obj,vmslink.opt/opt
|
|
33 $ cc /debug etags-vmslib.c
|
|
34 $ cc /debug etags.c
|
|
35 $ link etags.obj,etags-vmslib.obj,vmslink.opt/opt
|
|
36 $
|
|
37 $finish:
|
|
38 $ cc /debug yow.c
|
|
39 $ link yow.obj,vmslink.opt/opt
|
|
40 $
|
|
41 $ set default 'old'
|