Commit | Line | Data |
---|---|---|
252b5132 | 1 | $! |
fb792462 | 2 | $! Build procedure |
8a7a39ab | 3 | $! |
fb792462 TG |
4 | $! Note: you need a DCL-compatible gnu make. |
5 | $ MAKE="make381" | |
6 | $ OPT="" | |
8a7a39ab TG |
7 | $! |
8 | $ if (P1 .EQS. "CONFIGURE") .OR. (P1 .EQS. "ALL") | |
9 | $ then | |
10 | $ set def [.bfd] | |
11 | $ @configure | |
fb792462 TG |
12 | $ set def [-.libiberty] |
13 | $ @configure | |
14 | $ set def [-.opcodes] | |
15 | $ @configure | |
8a7a39ab TG |
16 | $ set def [-.binutils] |
17 | $ @configure | |
18 | $ set def [-.gas] | |
19 | $ @configure | |
20 | $ set def [-] | |
21 | $ endif | |
fb792462 TG |
22 | $ if (P1 .EQS. "BUILD") .OR. (P1 .EQS. "ALL") |
23 | $ then | |
24 | $ set def [.bfd] | |
25 | $ @build | |
26 | $ set def [-.libiberty] | |
27 | $ @build | |
28 | $ set def [-.opcodes] | |
29 | $ @build | |
30 | $ set def [-.binutils] | |
31 | $ @build | |
32 | $ set def [-.gas] | |
33 | $ @build | |
34 | $ set def [-] | |
35 | $ endif | |
36 | $ if P1 .EQS. "MAKE" | |
8a7a39ab | 37 | $ then |
fb792462 TG |
38 | $ ARCH=F$GETSYI("ARCH_NAME") |
39 | $ ARCH=F$EDIT(arch,"UPCASE") | |
8a7a39ab | 40 | $ set def [.bfd] |
fb792462 | 41 | $ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'" |
8a7a39ab | 42 | $ set def [-.libiberty] |
fb792462 | 43 | $ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'" |
8a7a39ab | 44 | $ set def [-.opcodes] |
fb792462 | 45 | $ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'" |
8a7a39ab | 46 | $ set def [-.binutils] |
fb792462 | 47 | $ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'" |
8a7a39ab | 48 | $ set def [-.gas] |
fb792462 | 49 | $ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'" |
8a7a39ab | 50 | $ set def [-] |
fb792462 | 51 | $ endif |