forked from projectgus/newlib-xtensa
-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.com
51 lines (51 loc) · 1.02 KB
/
setup.com
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
40
41
42
43
44
45
46
47
48
49
50
51
$!
$! Build procedure
$!
$! Note: you need a DCL-compatible gnu make.
$ MAKE="make381"
$ OPT=""
$!
$ if (P1 .EQS. "CONFIGURE") .OR. (P1 .EQS. "ALL")
$ then
$ set def [.bfd]
$ @configure
$ set def [-.libiberty]
$ @configure
$ set def [-.opcodes]
$ @configure
$ set def [-.binutils]
$ @configure
$ set def [-.gas]
$ @configure
$ set def [-]
$ endif
$ if (P1 .EQS. "BUILD") .OR. (P1 .EQS. "ALL")
$ then
$ set def [.bfd]
$ @build
$ set def [-.libiberty]
$ @build
$ set def [-.opcodes]
$ @build
$ set def [-.binutils]
$ @build
$ set def [-.gas]
$ @build
$ set def [-]
$ endif
$ if P1 .EQS. "MAKE"
$ then
$ ARCH=F$GETSYI("ARCH_NAME")
$ ARCH=F$EDIT(arch,"UPCASE")
$ set def [.bfd]
$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
$ set def [-.libiberty]
$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
$ set def [-.opcodes]
$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
$ set def [-.binutils]
$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
$ set def [-.gas]
$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
$ set def [-]
$ endif