source: trunk/libs/newlib/src/setup.com @ 591

Last change on this file since 591 was 444, checked in by satin@…, 7 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 1.0 KB
RevLine 
[444]1$!
2$! Build procedure
3$!
4$! Note: you need a DCL-compatible gnu make.
5$ MAKE="make381"
6$ OPT=""
7$!
8$ if (P1 .EQS. "CONFIGURE") .OR. (P1 .EQS. "ALL")
9$ then
10$    set def [.bfd]
11$    @configure
12$    set def [-.libiberty]
13$    @configure
14$    set def [-.opcodes]
15$    @configure
16$    set def [-.binutils]
17$    @configure
18$    set def [-.gas]
19$    @configure
20$    set def [-]
21$ endif
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"
37$ then
38$   ARCH=F$GETSYI("ARCH_NAME")
39$   ARCH=F$EDIT(arch,"UPCASE")
40$   set def [.bfd]
41$   'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
42$   set def [-.libiberty]
43$   'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
44$   set def [-.opcodes]
45$   'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
46$   set def [-.binutils]
47$   'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
48$   set def [-.gas]
49$   'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
50$   set def [-]
51$ endif
Note: See TracBrowser for help on using the repository browser.