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