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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 148 jeremybenn
#
2
#
3
DESTDIR =
4
VPATH = @srcdir@ @srcdir@/..
5
srcdir = @srcdir@
6
objdir = .
7
srcroot = $(srcdir)/../..
8
objroot = $(objdir)/../..
9
 
10
prefix = @prefix@
11
exec_prefix = @exec_prefix@
12
 
13
host_alias = @host_alias@
14
target_alias = @target_alias@
15
 
16
bindir = @bindir@
17
libdir = @libdir@
18
tooldir = $(exec_prefix)/$(target_alias)
19
 
20
objtype = @objtype@
21
 
22
INSTALL = @INSTALL@
23
INSTALL_PROGRAM = @INSTALL_PROGRAM@
24
INSTALL_DATA = @INSTALL_DATA@
25
 
26
# Multilib support variables.
27
# TOP is used instead of MULTI{BUILD,SRC}TOP.
28
MULTISRCTOP =
29
MULTIBUILDTOP =
30
MULTIDIRS =
31
MULTISUBDIR =
32
MULTIDO = true
33
MULTICLEAN = true
34
 
35
SHELL = /bin/sh
36
 
37
CC = @CC@
38
 
39
AS = @AS@
40
AR = @AR@
41
LD = @LD@
42
RANLIB = @RANLIB@
43
 
44
OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
45
        then echo ${objroot}/../binutils/objdump ; \
46
        else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
47
OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
48
        then echo ${objroot}/../binutils/objcopy ; \
49
        else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
50
 
51
@BUILD_CRT0_TRUE@CRT0           = crt0.o
52
@BUILD_CRT0_TRUE@CRT0_INSTALL   = install-crt0
53
@BUILD_CRT0_FALSE@CRT0          =
54
@BUILD_CRT0_FALSE@CRT0_INSTALL  =
55
 
56
LINUX_CRT0    = linux-crt0.o
57
LINUX_BSP     = libgloss-linux.a
58
LINUX_OBJS    = linux-syscalls0.o linux-syscalls1.o
59
LINUX_SCRIPTS = linux.specs
60
LINUX_INSTALL = install-linux
61
 
62
REDBOOT_CRT0    = redboot-crt0.o
63
REDBOOT_OBJS    = redboot-syscalls.o
64
REDBOOT_SCRIPTS = redboot.ld redboot.specs
65
REDBOOT_INSTALL = install-redboot
66
 
67
RDPMON_CRT0     = rdpmon-crt0.o
68
RDPMON_BSP      = librdpmon.a
69
RDPMON_OBJS     = syscalls.o libcfunc.o trap.o _exit.o _kill.o
70
RDPMON_SCRIPTS  = rdpmon.specs
71
RDPMON_INSTALL  = install-rdpmon
72
 
73
RDIMON_CRT0     = rdimon-crt0.o
74
RDIMON_BSP      = librdimon.a
75
RDIMON_OBJS     = $(patsubst %,rdimon-%,$(RDPMON_OBJS))
76
RDIMON_SCRIPTS  = rdimon.specs
77
RDIMON_INSTALL  = install-rdimon
78
 
79
CFLAGS          = -g
80
 
81
# Here is all of the eval board stuff
82
PID_SCRIPTS     = pid.specs
83
PID_INSTALL     = install-pid
84
 
85
IQ80310_SCRIPTS = iq80310.specs
86
IQ80310_INSTALL = install-iq80310
87
 
88
 
89
# Host specific makefile fragment comes in here.
90
@host_makefile_frag@
91
 
92
#
93
# build a test program for each target board. Just trying to get
94
# it to link is a good test, so we ignore all the errors for now.
95
#
96
all: ${CRT0} ${LINUX_CRT0} ${LINUX_BSP} ${REDBOOT_CRT0} ${REDBOOT_OBJS} ${RDPMON_CRT0} ${RDPMON_BSP} ${RDIMON_CRT0} ${RDIMON_BSP}
97
 
98
#
99
# here's where we build the test programs for each target
100
#
101
.PHONY: test
102
test:
103
 
104
#
105
crt0.o: crt0.S
106
redboot-crt0.o: redboot-crt0.S
107
redboot-syscalls.o: redboot-syscalls.c $(srcdir)/../syscall.h
108
 
109
rdpmon-crt0.o: crt0.S
110
        $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDP_MONITOR -o $@ -c $<
111
 
112
rdimon-crt0.o: crt0.S
113
        $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
114
 
115
rdimon-trap.o: trap.S
116
        $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
117
 
118
rdimon-_exit.o: _exit.c
119
        $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
120
 
121
rdimon-_kill.o: _kill.c
122
        $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
123
 
124
rdimon-syscalls.o: syscalls.c
125
        $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
126
 
127
rdimon-libcfunc.o: libcfunc.c
128
        $(CC) $(CFLAGS_FOR_TARGET) $(INCLUDES) -DARM_RDI_MONITOR -o $@ -c $<
129
 
130
$(LINUX_BSP): $(LINUX_OBJS)
131
        ${AR} ${ARFLAGS} $@ $^
132
        ${RANLIB} $@
133
 
134
$(RDPMON_BSP): $(RDPMON_OBJS)
135
        ${AR} ${ARFLAGS} $@ $^
136
        ${RANLIB} $@
137
 
138
$(RDIMON_BSP): $(RDIMON_OBJS)
139
        ${AR} ${ARFLAGS} $@ $^
140
        ${RANLIB} $@
141
 
142
clean mostlyclean:
143
        rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(IQ80310_BSP)
144
 
145
distclean maintainer-clean realclean: clean
146
        rm -f Makefile config.status *~
147
 
148
.PHONY: install info install-info clean-info
149
install: ${CRT0_INSTALL} ${LINUX_INSTALL} ${REDBOOT_INSTALL} ${RDPMON_INSTALL} ${RDIMON_INSTALL} ${IQ80310_INSTALL}  ${PID_INSTALL}
150
 
151
install-crt0:
152
        ${INSTALL_DATA} ${CRT0} $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x
153
 
154
install-linux:
155
        set -e; for x in ${LINUX_CRT0} ${LINUX_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
156
        set -e; for x in ${LINUX_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
157
 
158
install-redboot:
159
        set -e; for x in ${REDBOOT_CRT0} ${REDBOOT_OBJS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
160
        set -e; for x in ${REDBOOT_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
161
 
162
install-rdpmon:
163
        set -e; for x in ${RDPMON_CRT0} ${RDPMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
164
        set -e; for x in ${RDPMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
165
 
166
install-rdimon:
167
        set -e; for x in ${RDIMON_CRT0} ${RDIMON_BSP}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
168
        set -e; for x in ${RDIMON_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
169
 
170
 
171
install-pid:
172
        set -e; for x in ${PID_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
173
 
174
install-iq80310:
175
        set -e; for x in ${IQ80310_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
176
 
177
 
178
doc:
179
info:
180
install-info:
181
clean-info:
182
 
183
Makefile: Makefile.in config.status @host_makefile_frag_path@
184
        $(SHELL) config.status
185
 
186
config.status: configure
187
        $(SHELL) config.status --recheck

powered by: WebSVN 2.1.0

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