OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [makefile.vms] - Diff between revs 156 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
#
#
# makefile for bfd, binutils and gas
# makefile for bfd, binutils and gas
#
#
# Created by Klaus K"ampf (kkaempf@rmi.de)
# Created by Klaus K"ampf (kkaempf@rmi.de)
#
#
# You must use Version 3.76 of GNU Make
# You must use Version 3.76 of GNU Make
#
#
#
#
ifeq ($(ARCH),ALPHA)
ifeq ($(ARCH),ALPHA)
CC = gcc
CC = gcc
GASCC = $(CC)
GASCC = $(CC)
else
else
CC = cc
CC = cc
GASCC = gcc
GASCC = gcc
endif
endif
ifeq ($(CC),cc)
ifeq ($(CC),cc)
  CHECK-COMPILER = check_compiler
  CHECK-COMPILER = check_compiler
else
else
  CHECK-COMPILER =
  CHECK-COMPILER =
endif
endif
all:    check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
all:    check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
        $(CD) [.bfd]
        $(CD) [.bfd]
        @gmake "CC=$(CC)"
        @gmake "CC=$(CC)"
        $(CD) [-.opcodes]
        $(CD) [-.opcodes]
        @gmake "CC=$(CC)"
        @gmake "CC=$(CC)"
        $(CD) [-.libiberty]
        $(CD) [-.libiberty]
        @gmake "CC=$(CC)"
        @gmake "CC=$(CC)"
        $(CD) [-.binutils]
        $(CD) [-.binutils]
        @gmake "CC=$(CC)"
        @gmake "CC=$(CC)"
        $(CD) [-.gas]
        $(CD) [-.gas]
        @gmake "CC=$(GASCC)"
        @gmake "CC=$(GASCC)"
        $(CD) [-]
        $(CD) [-]
check_cc:
check_cc:
ifeq ($CC,)
ifeq ($CC,)
        @$(ECHO) "Please edit MAKEFILE.VMS and select a C Compiler."
        @$(ECHO) "Please edit MAKEFILE.VMS and select a C Compiler."
        stop
        stop
endif
endif
check_compiler:
check_compiler:
        @$(ECHO) "Perform a '$$ @setup' before starting make"
        @$(ECHO) "Perform a '$$ @setup' before starting make"
[.binutils]makefile.vms:
[.binutils]makefile.vms:
        $(CD) [.binutils]
        $(CD) [.binutils]
        $$ @configure
        $$ @configure
        $(CD) [-]
        $(CD) [-]
install: all
install: all
        $(CD) [.binutils]
        $(CD) [.binutils]
        @gmake "CC=$(CC)" install
        @gmake "CC=$(CC)" install
        $(CD) [-]
        $(CD) [-]
        $(CD) [.gas]
        $(CD) [.gas]
        @gmake "CC=$(GASCC)" install
        @gmake "CC=$(GASCC)" install
        $(CD) [-]
        $(CD) [-]
clean:
clean:
        $(CD) [.bfd]
        $(CD) [.bfd]
        @gmake clean
        @gmake clean
        $(CD) [-.opcodes]
        $(CD) [-.opcodes]
        @gmake clean
        @gmake clean
        $(CD) [-.libiberty]
        $(CD) [-.libiberty]
        @gmake clean
        @gmake clean
        $(CD) [-.binutils]
        $(CD) [-.binutils]
        @gmake clean
        @gmake clean
        $(CD) [-.gas]
        $(CD) [-.gas]
        @gmake clean
        @gmake clean
        $(CD) [-]
        $(CD) [-]
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.