aboutsummaryrefslogtreecommitdiff
path: root/setup.com
diff options
context:
space:
mode:
authorTristan Gingold <gingold@adacore.com>2009-09-01 13:38:26 +0000
committerTristan Gingold <gingold@adacore.com>2009-09-01 13:38:26 +0000
commitfb7924623ecb59dd6d2692e7afaf7d12ce1827d1 (patch)
tree1f0f3c29d3cc41830a486d28d13874c2de6d26e8 /setup.com
parente06ae0d430d9731f3ae19c0a08fc4d8549202eb1 (diff)
downloadgdb-fb7924623ecb59dd6d2692e7afaf7d12ce1827d1.zip
gdb-fb7924623ecb59dd6d2692e7afaf7d12ce1827d1.tar.gz
gdb-fb7924623ecb59dd6d2692e7afaf7d12ce1827d1.tar.bz2
2009-09-01 Tristan Gingold <gingold@adacore.com>
* makefile.vms: Adjust include pathes. Remove useless vaxctrl library. * configure.com: Ported to Itanium VMS. Create build.com DCL script. Make edit silent.
Diffstat (limited to 'setup.com')
-rw-r--r--setup.com49
1 files changed, 31 insertions, 18 deletions
diff --git a/setup.com b/setup.com
index 9067f36..b80fbe3 100644
--- a/setup.com
+++ b/setup.com
@@ -1,38 +1,51 @@
-$! setup files for openVMS/Alpha
$!
-$ define aout [-.INCLUDE.AOUT]
-$ define coff [-.INCLUDE.COFF]
-$ define elf [-.INCLUDE.ELF]
-$ define nlm [-.INCLUDE.NLM]
-$ define opcode [-.INCLUDE.OPCODE]
+$! Build procedure
$!
-$! Build procedures
-$!
-$! Note: you need make 3.76
-$ MAKE="gmake_3_76"
-$ OPT=
+$! 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. "MAKE") .OR. (P1 .EQS. "ALL")
+$ 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=ALPHA" "OPT=''OPT'"
+$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
$ set def [-.libiberty]
-$ 'MAKE "ARCH=ALPHA" "OPT=''OPT'"
+$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
$ set def [-.opcodes]
-$ 'MAKE "ARCH=ALPHA" "OPT=''OPT'"
+$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
$ set def [-.binutils]
-$ 'MAKE "ARCH=ALPHA" "OPT=''OPT'"
+$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
$ set def [-.gas]
-$ 'MAKE "ARCH=ALPHA" "OPT=''OPT'"
+$ 'MAKE "ARCH=''ARCH'" "OPT=''OPT'"
$ set def [-]
-$ endif \ No newline at end of file
+$ endif