fixed more binutils issues (newer gcc/libc)
[zpugcc/jano.git] / toolchain / gcc / libgloss / arm / Makefile.in
blob97e3ad451acc5d38ef27b235497bc934e5eb56e7
3 VPATH = @srcdir@ @srcdir@/..
4 srcdir = @srcdir@
5 objdir = .
6 srcroot = $(srcdir)/../..
7 objroot = $(objdir)/../..
9 prefix = @prefix@
10 exec_prefix = @exec_prefix@
12 host_alias = @host_alias@
13 target_alias = @target_alias@
15 bindir = @bindir@
16 libdir = @libdir@
17 tooldir = $(exec_prefix)/$(target_alias)
19 objtype = @objtype@
21 INSTALL = @INSTALL@
22 INSTALL_PROGRAM = @INSTALL_PROGRAM@
23 INSTALL_DATA = @INSTALL_DATA@
25 # Multilib support variables.
26 # TOP is used instead of MULTI{BUILD,SRC}TOP.
27 MULTISRCTOP =
28 MULTIBUILDTOP =
29 MULTIDIRS =
30 MULTISUBDIR =
31 MULTIDO = true
32 MULTICLEAN = true
34 SHELL = /bin/sh
36 CC = @CC@
38 AS = @AS@
39 AR = @AR@
40 LD = @LD@
41 RANLIB = @RANLIB@
43 OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
44 then echo ${objroot}/../binutils/objdump ; \
45 else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
46 OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
47 then echo ${objroot}/../binutils/objcopy ; \
48 else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
50 REDBOOT_OBJS = redboot-crt0.o redboot-syscalls.o
51 REDBOOT_SCRIPTS = redboot.ld redboot.specs
52 REDBOOT_INSTALL = install-redboot
53 CFLAGS = -g
55 # Here is all of the eval board stuff
56 PID_SCRIPTS = pid.specs
57 PID_INSTALL = install-pid
59 IQ80310_SCRIPTS = iq80310.specs
60 IQ80310_INSTALL = install-iq80310
63 # Host specific makefile fragment comes in here.
64 @host_makefile_frag@
67 # build a test program for each target board. Just trying to get
68 # it to link is a good test, so we ignore all the errors for now.
70 all: ${REDBOOT_OBJS}
73 # here's where we build the test programs for each target
75 .PHONY: test
76 test:
79 redboot-crt0.o: redboot-crt0.S
80 redboot-syscalls.o: redboot-syscalls.c $(srcdir)/../syscall.h
82 clean mostlyclean:
83 rm -f a.out core *.i *.o *-test *.srec *.dis *.x $(SIM_BSP) $(IQ80310_BSP)
85 distclean maintainer-clean realclean: clean
86 rm -f Makefile config.status *~
88 .PHONY: install info install-info clean-info
89 install: ${REDBOOT_INSTALL} ${IQ80310_INSTALL} ${PID_INSTALL}
92 install-redboot:
93 set -e; for x in ${REDBOOT_OBJS}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done
94 set -e; for x in ${REDBOOT_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done
96 install-pid:
97 set -e; for x in ${PID_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done
99 install-iq80310:
100 set -e; for x in ${IQ80310_SCRIPTS}; do ${INSTALL_DATA} ${srcdir}/${objtype}$$x ${tooldir}/lib${MULTISUBDIR}/$$x; done
103 doc:
104 info:
105 install-info:
106 clean-info:
108 Makefile: Makefile.in config.status @host_makefile_frag_path@
109 $(SHELL) config.status
111 config.status: configure
112 $(SHELL) config.status --recheck