1999-05-03 09:29:06 +02:00
|
|
|
$!
|
2009-09-01 15:38:26 +02:00
|
|
|
$! Build procedure
|
2009-05-25 15:31:05 +02:00
|
|
|
$!
|
2009-09-01 15:38:26 +02:00
|
|
|
$! Note: you need a DCL-compatible gnu make.
|
|
|
|
$ MAKE="make381"
|
|
|
|
$ OPT=""
|
2009-05-25 15:31:05 +02:00
|
|
|
$!
|
|
|
|
$ if (P1 .EQS. "CONFIGURE") .OR. (P1 .EQS. "ALL")
|
|
|
|
$ then
|
|
|
|
$ set def [.bfd]
|
|
|
|
$ @configure
|
2009-09-01 15:38:26 +02:00
|
|
|
$ set def [-.libiberty]
|
|
|
|
$ @configure
|
|
|
|
$ set def [-.opcodes]
|
|
|
|
$ @configure
|
2009-05-25 15:31:05 +02:00
|
|
|
$ set def [-.binutils]
|
|
|
|
$ @configure
|
|
|
|
$ set def [-.gas]
|
|
|
|
$ @configure
|
|
|
|
$ set def [-]
|
|
|
|
$ endif
|
2009-09-01 15:38:26 +02:00
|
|
|
$ 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"
|
2009-05-25 15:31:05 +02:00
|
|
|
$ then
|
2009-09-01 15:38:26 +02:00
|
|
|
$ ARCH=F$GETSYI("ARCH_NAME")
|
|
|
|
$ ARCH=F$EDIT(arch,"UPCASE")
|
2009-05-25 15:31:05 +02:00
|
|
|
$ set def [.bfd]
|
2009-09-01 15:38:26 +02:00
|
|
|
$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
|
2009-05-25 15:31:05 +02:00
|
|
|
$ set def [-.libiberty]
|
2009-09-01 15:38:26 +02:00
|
|
|
$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
|
2009-05-25 15:31:05 +02:00
|
|
|
$ set def [-.opcodes]
|
2009-09-01 15:38:26 +02:00
|
|
|
$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
|
2009-05-25 15:31:05 +02:00
|
|
|
$ set def [-.binutils]
|
2009-09-01 15:38:26 +02:00
|
|
|
$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
|
2009-05-25 15:31:05 +02:00
|
|
|
$ set def [-.gas]
|
2009-09-01 15:38:26 +02:00
|
|
|
$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
|
2009-05-25 15:31:05 +02:00
|
|
|
$ set def [-]
|
2009-09-01 15:38:26 +02:00
|
|
|
$ endif
|