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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [libgloss/] [microblaze/] [Makefile.in] - Blame information for rev 853

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

Line No. Rev Author Line
1 207 jeremybenn
#  Copyright 2007, 2009 Xilinx, Inc.  All rights reserved.
2
#
3
#  Redistribution and use in source and binary forms, with or without
4
#  modification, are permitted provided that the following conditions are
5
#  met:
6
#
7
#  1.  Redistributions source code must retain the above copyright notice,
8
#  this list of conditions and the following disclaimer.
9
#
10
#  2.  Redistributions in binary form must reproduce the above copyright
11
#  notice, this list of conditions and the following disclaimer in the
12
#  documentation and/or other materials provided with the distribution.
13
#
14
#  3.  Neither the name of Xilinx nor the names of its contributors may be
15
#  used to endorse or promote products derived from this software without
16
#  specific prior written permission.
17
#
18
#  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
19
#  IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20
#  TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
21
#  PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
22
#  HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
23
#  SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
24
#  TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
25
#  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
26
#  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27
#  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28
#  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
 
30
# Makefile for libgloss/microblaze. This is the board support
31
# code for the various microblaze targets.
32
 
33
DESTDIR =
34
VPATH = @srcdir@
35
srcdir = @srcdir@
36
objdir = .
37
srcroot = $(srcdir)/../..
38
objroot = $(objdir)/../..
39
 
40
prefix = @prefix@
41
exec_prefix = @exec_prefix@
42
 
43
host_alias = @host_alias@
44
target_alias = @target_alias@
45
 
46
bindir = @bindir@
47
libdir = @libdir@
48
tooldir = $(exec_prefix)/$(target_alias)
49
 
50
# Multilib support variables.
51
# TOP is used instead of MULTI{BUILD,SRC}TOP.
52
MULTIDIRS =
53
MULTISUBDIR =
54
MULTIDO = true
55
MULTICLEAN = true
56
 
57
INSTALL = @INSTALL@
58
INSTALL_PROGRAM = @INSTALL_PROGRAM@
59
INSTALL_DATA = @INSTALL_DATA@
60
 
61
SHELL = /bin/sh
62
 
63
CC = @CC@
64
 
65
AS = @AS@
66
AR = @AR@
67
LD = @LD@
68
RANLIB = @RANLIB@
69
AR_FLAGS = qrv
70
 
71
OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
72
        then echo ${objroot}/../binutils/objdump ; \
73
        else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
74
OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
75
        then echo ${objroot}/../binutils/objcopy ; \
76
        else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
77
 
78
CRT = crt0.o crt1.o crt2.o crt3.o crt4.o crtinit.o pgcrtinit.o sim-crtinit.o sim-pgcrtinit.o
79
LIB = libgloss.a
80
OBJS = sbrk.o timer.o _exception_handler.o _hw_exception_handler.o _interrupt_handler.o _program_clean.o _program_init.o xil_malloc.o xil_sbrk.o
81
SCRIPTS = xilinx.ld
82
 
83
CPU = @CPU@
84
 
85
#### Host specific Makefile fragment comes in here.
86
@host_makefile_frag@
87
 
88
all: ${CRT} ${LIB}
89
 
90
install: ${CRT} ${LIB}
91
        @for crt in ${CRT}; do \
92
        $(INSTALL_PROGRAM) $${crt} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$${crt}; \
93
        done
94
        $(INSTALL_PROGRAM) ${LIB} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}
95
        $(INSTALL_PROGRAM) $(srcdir)/${SCRIPTS} $(DESTDIR)$(tooldir)/lib/
96
 
97
crt0.o: crt0.S
98
crt1.o: crt1.S
99
crt2.o: crt2.S
100
crt3.o: crt3.S
101
crt4.o: crt4.S
102
crtinit.o: crtinit.S
103
sim-crtinit.o: sim-crtinit.S
104
sim-pgcrtinit.o: sim-pgcrtinit.S
105
 
106
clean mostlyclean:
107
        rm -f *.o *.a *.map *.x
108
 
109
distclean maintainer-clean realclean: clean
110
        rm -f Makefile config.cache config.log config.status
111
 
112
${LIB}: ${OBJS}
113
        ${AR} ${ARFLAGS} $@ ${OBJS}
114
        ${RANLIB} $@
115
 
116
.PHONY: info dvi doc install-info clean-info
117
info doc dvi:
118
install-info:
119
clean-info:
120
 
121
Makefile: Makefile.in config.status @host_makefile_frag_path@ \
122
        $(SHELL) config.status
123
 
124
config.status: configure
125
        $(SHELL) config.status --recheck

powered by: WebSVN 2.1.0

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