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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [makefile.vms] - Blame information for rev 304

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
#
2
# makefile for bfd, binutils and gas
3
#
4
# Created by Klaus K"ampf (kkaempf@rmi.de)
5
#
6
# You must use Version 3.76 of GNU Make
7
#
8
#
9
 
10
ifeq ($(ARCH),ALPHA)
11
CC = gcc
12
GASCC = $(CC)
13
else
14
CC = cc
15
GASCC = gcc
16
endif
17
 
18
ifeq ($(CC),cc)
19
  CHECK-COMPILER = check_compiler
20
else
21
  CHECK-COMPILER =
22
endif
23
 
24
all:    check_cc $(CHECK-COMPILER) [.binutils]makefile.vms
25
        $(CD) [.bfd]
26
        @gmake "CC=$(CC)"
27
        $(CD) [-.opcodes]
28
        @gmake "CC=$(CC)"
29
        $(CD) [-.libiberty]
30
        @gmake "CC=$(CC)"
31
        $(CD) [-.binutils]
32
        @gmake "CC=$(CC)"
33
        $(CD) [-.gas]
34
        @gmake "CC=$(GASCC)"
35
        $(CD) [-]
36
 
37
check_cc:
38
ifeq ($CC,)
39
        @$(ECHO) "Please edit MAKEFILE.VMS and select a C Compiler."
40
        stop
41
endif
42
 
43
check_compiler:
44
        @$(ECHO) "Perform a '$$ @setup' before starting make"
45
 
46
[.binutils]makefile.vms:
47
        $(CD) [.binutils]
48
        $$ @configure
49
        $(CD) [-]
50
 
51
install: all
52
        $(CD) [.binutils]
53
        @gmake "CC=$(CC)" install
54
        $(CD) [-]
55
        $(CD) [.gas]
56
        @gmake "CC=$(GASCC)" install
57
        $(CD) [-]
58
 
59
clean:
60
        $(CD) [.bfd]
61
        @gmake clean
62
        $(CD) [-.opcodes]
63
        @gmake clean
64
        $(CD) [-.libiberty]
65
        @gmake clean
66
        $(CD) [-.binutils]
67
        @gmake clean
68
        $(CD) [-.gas]
69
        @gmake clean
70
        $(CD) [-]
71
 

powered by: WebSVN 2.1.0

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