summaryrefslogtreecommitdiff
path: root/setup.com
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-12-23 14:38:46 +0000
committer <>2015-05-26 15:48:41 +0000
commit5500a97a2ad1735db5b35bc51cfb825c1f4c38df (patch)
treecc6e777c26142b88456ff03a672e1cb69215fc32 /setup.com
downloadbinutils-tarball-5500a97a2ad1735db5b35bc51cfb825c1f4c38df.tar.gz
Imported from /home/lorry/working-area/delta_binutils-tarball/binutils-2.25.tar.bz2.HEADbinutils-2.25master
Diffstat (limited to 'setup.com')
-rw-r--r--setup.com51
1 files changed, 51 insertions, 0 deletions
diff --git a/setup.com b/setup.com
new file mode 100644
index 0000000..b80fbe3
--- /dev/null
+++ b/setup.com
@@ -0,0 +1,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