1 | $ ! Copyright 2002-2003 Rene Rivera, Johan Nilsson. |
---|
2 | $ ! Distributed under the Boost Software License, Version 1.0. |
---|
3 | $ ! (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt) |
---|
4 | $ ! |
---|
5 | $ ! bootstrap build script for Jam |
---|
6 | $ ! |
---|
7 | $ SAY :== WRITE SYS$OUTPUT |
---|
8 | $ ! |
---|
9 | $ ON WARNING THEN CONTINUE |
---|
10 | $ ! |
---|
11 | $ IF "" .NES. F$SEARCH("[.bootstrap_vms]*.*") |
---|
12 | $ THEN |
---|
13 | $ SAY "Cleaning previous boostrap files..." |
---|
14 | $ ! |
---|
15 | $ SET FILE/PROTECTION=(S:RWED) [.bootstrap_vms]*.*;* |
---|
16 | $ DELETE [.bootstrap_vms]*.*;* |
---|
17 | $ ENDIF |
---|
18 | $ ! |
---|
19 | $ IF "" .NES. F$SEARCH("bootstrap_vms.dir") |
---|
20 | $ THEN |
---|
21 | $ SAY "Removing previous boostrap directory..." |
---|
22 | $ ! |
---|
23 | $ SET FILE/PROT=(S:RWED) bootstrap_vms.dir |
---|
24 | $ DELETE bootstrap_vms.dir; |
---|
25 | $ ENDIF |
---|
26 | $ ! |
---|
27 | $ SAY "Creating boostrap directory..." |
---|
28 | $ ! |
---|
29 | $ CREATE/DIR [.bootstrap_vms] |
---|
30 | $ ! |
---|
31 | $ SAY "Building bootstrap jam..." |
---|
32 | $ ! |
---|
33 | $ CC_FLAGS = "/DEFINE=VMS /STANDARD=VAXC /PREFIX_LIBRARY_ENTRIES=ALL_ENTRIES " |
---|
34 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]builtins.obj builtins.c |
---|
35 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]command.obj command.c |
---|
36 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]compile.obj compile.c |
---|
37 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]execvms.obj execvms.c |
---|
38 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]expand.obj expand.c |
---|
39 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]filesys.obj filesys.c |
---|
40 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]filevms.obj filevms.c |
---|
41 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]glob.obj glob.c |
---|
42 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]hash.obj hash.c |
---|
43 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]hdrmacro.obj hdrmacro.c |
---|
44 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]headers.obj headers.c |
---|
45 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]jam.obj jam.c |
---|
46 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]jambase.obj jambase.c |
---|
47 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]jamgram.obj jamgram.c |
---|
48 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]lists.obj lists.c |
---|
49 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]make.obj make.c |
---|
50 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]make1.obj make1.c |
---|
51 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]modules.obj modules.c |
---|
52 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]newstr.obj newstr.c |
---|
53 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]option.obj option.c |
---|
54 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]parse.obj parse.c |
---|
55 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]pathvms.obj pathvms.c |
---|
56 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]pwd.obj pwd.c |
---|
57 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]regexp.obj regexp.c |
---|
58 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]rules.obj rules.c |
---|
59 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]scan.obj scan.c |
---|
60 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]search.obj search.c |
---|
61 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]strings.obj strings.c |
---|
62 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]subst.obj subst.c |
---|
63 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]timestamp.obj timestamp.c |
---|
64 | $ cc 'CC_FLAGS /OBJECT=[.bootstrap_vms]variable.obj variable.c |
---|
65 | $ link - |
---|
66 | /EXECUTABLE=[.bootstrap_vms]jam0.exe - |
---|
67 | [.bootstrap_vms]builtins.obj, - |
---|
68 | [.bootstrap_vms]command.obj, - |
---|
69 | [.bootstrap_vms]compile.obj, - |
---|
70 | [.bootstrap_vms]execvms.obj, - |
---|
71 | [.bootstrap_vms]expand.obj, - |
---|
72 | [.bootstrap_vms]filesys.obj, - |
---|
73 | [.bootstrap_vms]filevms.obj, - |
---|
74 | [.bootstrap_vms]glob.obj, - |
---|
75 | [.bootstrap_vms]hash.obj, - |
---|
76 | [.bootstrap_vms]hdrmacro.obj, - |
---|
77 | [.bootstrap_vms]headers.obj, - |
---|
78 | [.bootstrap_vms]jam.obj, - |
---|
79 | [.bootstrap_vms]jambase.obj, - |
---|
80 | [.bootstrap_vms]jamgram.obj, - |
---|
81 | [.bootstrap_vms]lists.obj, - |
---|
82 | [.bootstrap_vms]make.obj, - |
---|
83 | [.bootstrap_vms]make1.obj, - |
---|
84 | [.bootstrap_vms]modules.obj, - |
---|
85 | [.bootstrap_vms]newstr.obj, - |
---|
86 | [.bootstrap_vms]option.obj, - |
---|
87 | [.bootstrap_vms]parse.obj, - |
---|
88 | [.bootstrap_vms]pathvms.obj, - |
---|
89 | [.bootstrap_vms]pwd.obj, - |
---|
90 | [.bootstrap_vms]regexp.obj, - |
---|
91 | [.bootstrap_vms]rules.obj, - |
---|
92 | [.bootstrap_vms]scan.obj, - |
---|
93 | [.bootstrap_vms]search.obj, - |
---|
94 | [.bootstrap_vms]strings.obj, - |
---|
95 | [.bootstrap_vms]subst.obj, - |
---|
96 | [.bootstrap_vms]timestamp.obj, - |
---|
97 | [.bootstrap_vms]variable.obj |
---|
98 | $ ! |
---|
99 | $ SAY "Cleaning any previous build..." |
---|
100 | $ ! |
---|
101 | $ MCR [.bootstrap_vms]jam0.exe -f build.jam --toolset=vmsdecc clean |
---|
102 | $ ! |
---|
103 | $ SAY "Building Boost.Jam..." |
---|
104 | $ ! |
---|
105 | $ MCR [.bootstrap_vms]jam0.exe -f build.jam --toolset=vmsdecc |
---|