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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [libgloss/] [or32/] [Makefile.in] - Blame information for rev 148

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

Line No. Rev Author Line
1 148 jeremybenn
#
2
#
3
 
4
DESTDIR =
5
VPATH = @srcdir@ @srcdir@/..
6
srcdir = @srcdir@
7
objdir = .
8
srcroot = $(srcdir)/../..
9
objroot = $(objdir)/../..
10
 
11
prefix = @prefix@
12
exec_prefix = @exec_prefix@
13
 
14
host_alias = @host_alias@
15
target_alias = @target_alias@
16
 
17
bindir = @bindir@
18
libdir = @libdir@
19
tooldir = $(exec_prefix)/$(target_alias)
20
 
21
INSTALL = @INSTALL@
22
INSTALL_PROGRAM = @INSTALL_PROGRAM@
23
INSTALL_DATA = @INSTALL_DATA@
24
 
25
# Multilib support variables.
26
# TOP is used instead of MULTI{BUILD,SRC}TOP.
27
MULTIDIRS =
28
MULTISUBDIR =
29
 
30
SHELL = /bin/sh
31
 
32
CC = @CC@
33
 
34
AS = @AS@
35
AR = @AR@
36
LD = @LD@
37
RANLIB = @RANLIB@
38
 
39
OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
40
        then echo ${objroot}/../binutils/objdump ; \
41
        else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
42
OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
43
        then echo ${objroot}/../binutils/objcopy ; \
44
        else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
45
 
46
OBJS            = putnum.o unlink.o
47
CFLAGS          = -g
48
 
49
# As in LD scripts...
50
SCRIPTS = or32
51
BSP = libor32.a
52
 
53
CRT0 = crt0.o
54
OR32_OBJS = uart.o io.o sbrk.o exceptions.o proc.o
55
 
56
# Host specific makefile fragment comes in here.
57
@host_makefile_frag@
58
 
59
#
60
# build a test program for each target board. Just trying to get
61
# it to link is a good test, so we ignore all the errors for now.
62
#
63
all: ${CRT0} ${BSP}
64
 
65
#
66
# here's where we build the board support packages for each target
67
#
68
libor32.a: $(OR32_OBJS)
69
        ${AR} ${ARFLAGS} $@ $(OR32_OBJS)
70
        ${RANLIB} $@
71
 
72
crt0.o: crt0.S
73
        $(CC) -c $(CFLAGS)  $(<) -o $@
74
 
75
 
76
clean mostlyclean:
77
        rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(MON_BSP)
78
 
79
distclean maintainer-clean realclean: clean
80
        rm -f Makefile config.status *~
81
 
82
.PHONY: install info install-info clean-info
83
install:
84
        $(INSTALL_PROGRAM) $(CRT0) $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/$(CRT0)
85
        @for bsp in ${BSP}; do\
86
         $(INSTALL_PROGRAM) $${bsp} $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}; \
87
        done
88
        @for script in ${SCRIPTS}; do\
89
         $(INSTALL_DATA) ${srcdir}/$${script}.ld $(DESTDIR)$(tooldir)/lib${MULTISUBDIR}/ldscripts/$${script}.ld; \
90
        done
91
 
92
info:
93
install-info:
94
clean-info:
95
 
96
 
97
Makefile: Makefile.in config.status @host_makefile_frag_path@
98
        $(SHELL) config.status
99
 
100
config.status: configure
101
        $(SHELL) config.status --recheck

powered by: WebSVN 2.1.0

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