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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [libgloss/] [d30v/] [Makefile.in] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1005 ivang
# Copyright (c) 1997 Cygnus Support
2
#
3
# The authors hereby grant permission to use, copy, modify, distribute,
4
# and license this software and its documentation for any purpose, provided
5
# that existing copyright notices are retained in all copies and that this
6
# notice is included verbatim in any distributions. No written agreement,
7
# license, or royalty fee is required for any of the authorized uses.
8
# Modifications to this software may be copyrighted by their authors
9
# and need not follow the licensing terms described here, provided that
10
# the new terms are clearly indicated on the first page of each file where
11
# they apply.
12
#
13
 
14
#
15
# This currently works with the D30V simulator.
16
#
17
 
18
VPATH = @srcdir@ @srcdir@/..
19
srcdir = @srcdir@
20
objdir = .
21
srcroot = $(srcdir)/../..
22
objroot = $(objdir)/../..
23
 
24
prefix = @prefix@
25
exec_prefix = @exec_prefix@
26
 
27
host_alias = @host_alias@
28
target_alias = @target_alias@
29
 
30
bindir = @bindir@
31
libdir = @libdir@
32
tooldir = $(exec_prefix)/$(target_alias)
33
 
34
# Multilib support variables.
35
# TOP is used instead of MULTI{BUILD,SRC}TOP.
36
MULTIDIRS =
37
MULTISUBDIR =
38
MULTIDO = true
39
MULTICLEAN = true
40
 
41
INSTALL = @INSTALL@
42
INSTALL_PROGRAM = @INSTALL_PROGRAM@
43
INSTALL_DATA = @INSTALL_DATA@
44
 
45
SHELL = /bin/sh
46
 
47
CC = @CC@
48
 
49
AS = @AS@
50
AR = @AR@
51
LD = @LD@
52
RANLIB = @RANLIB@
53
 
54
OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
55
        then echo ${objroot}/../binutils/objdump ; \
56
        else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
57
OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
58
        then echo ${objroot}/../binutils/objcopy ; \
59
        else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
60
 
61
OBJS            = isatty.o print.o putnum.o sbrk.o
62
CFLAGS          = -g
63
SCRIPTS         = ${SIM_SCRIPTS}
64
 
65
# Here is all of the simulator stuff
66
SIM_SCRIPTS     =
67
SIM_LDFLAGS     =
68
SIM_BSP         = libsim.a
69
SIM_CRT0        = crt0.o
70
SIM_OBJS        = syscalls.o outbyte.o inbyte.o
71
SIM_TEST        =
72
SIM_INSTALL     = install-sim
73
 
74
# Host specific makefile fragment comes in here.
75
@host_makefile_frag@
76
 
77
#
78
# build a test program for each target board. Just trying to get
79
# it to link is a good test, so we ignore all the errors for now.
80
#
81
all:    ${SIM_CRT0} ${SIM_BSP}
82
 
83
#
84
# here's where we build the board support packages for each target
85
#
86
 
87
${SIM_BSP}: ${OBJS} ${SIM_OBJS}
88
        ${AR} ${ARFLAGS} $@ ${SIM_OBJS} ${OBJS}
89
        ${RANLIB} $@
90
 
91
#
92
# here's where we build the test programs for each target
93
#
94
.PHONY: test
95
test:   ${SIM_TEST}
96
 
97
crt0.o: crt0.S
98
syscalls.o: syscalls.c $(srcdir)/../syscall.h
99
outbyte.o: outbyte.c
100
inbyte.o: inbyte.c
101
 
102
isatty.o: $(srcdir)/../isatty.c
103
print.o: $(srcdir)/../print.c
104
putnum.o: $(srcdir)/../putnum.c
105
sbrk.o: $(srcdir)/../sbrk.c
106
 
107
clean mostlyclean:
108
        rm -f a.out core *.[oais] *-test *.srec *.dis *.x syscall.h
109
 
110
distclean maintainer-clean realclean: clean
111
        rm -f Makefile config.status *~
112
 
113
.PHONY: install info install-info clean-info
114
install: ${SIM_INSTALL}
115
 
116
install-sim:
117
        set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x ${tooldir}/lib${MULTISUBDIR}/$$x; done
118
 
119
doc:
120
info:
121
install-info:
122
clean-info:
123
 
124
Makefile: Makefile.in config.status @host_makefile_frag_path@
125
        $(SHELL) config.status
126
 
127
config.status: configure
128
        $(SHELL) config.status --recheck

powered by: WebSVN 2.1.0

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