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

Subversion Repositories openrisc

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

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

Line No. Rev Author Line
1 148 jeremybenn
# 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
DESTDIR =
19
VPATH = @srcdir@ @srcdir@/..
20
srcdir = @srcdir@
21
objdir = .
22
srcroot = $(srcdir)/../..
23
objroot = $(objdir)/../..
24
 
25
prefix = @prefix@
26
exec_prefix = @exec_prefix@
27
 
28
host_alias = @host_alias@
29
target_alias = @target_alias@
30
 
31
bindir = @bindir@
32
libdir = @libdir@
33
tooldir = $(exec_prefix)/$(target_alias)
34
 
35
# Multilib support variables.
36
# TOP is used instead of MULTI{BUILD,SRC}TOP.
37
MULTIDIRS =
38
MULTISUBDIR =
39
MULTIDO = true
40
MULTICLEAN = true
41
 
42
INSTALL = @INSTALL@
43
INSTALL_PROGRAM = @INSTALL_PROGRAM@
44
INSTALL_DATA = @INSTALL_DATA@
45
 
46
SHELL = /bin/sh
47
 
48
CC = @CC@
49
 
50
AS = @AS@
51
AR = @AR@
52
LD = @LD@
53
RANLIB = @RANLIB@
54
 
55
OBJDUMP = `if [ -f ${objroot}/../binutils/objdump ] ; \
56
        then echo ${objroot}/../binutils/objdump ; \
57
        else t='$(program_transform_name)'; echo objdump | sed -e $$t ; fi`
58
OBJCOPY = `if [ -f ${objroot}/../binutils/objcopy ] ; \
59
        then echo ${objroot}/../binutils/objcopy ; \
60
        else t='$(program_transform_name)'; echo objcopy | sed -e $$t ; fi`
61
 
62
OBJS            = isatty.o print.o putnum.o sbrk.o
63
CFLAGS          = -g
64
SCRIPTS         = ${SIM_SCRIPTS}
65
 
66
# Here is all of the simulator stuff
67
SIM_SCRIPTS     =
68
SIM_LDFLAGS     =
69
SIM_BSP         = libsim.a
70
SIM_CRT0        = crt0.o
71
SIM_OBJS        = syscalls.o outbyte.o inbyte.o
72
SIM_TEST        =
73
SIM_INSTALL     = install-sim
74
 
75
# Host specific makefile fragment comes in here.
76
@host_makefile_frag@
77
 
78
#
79
# build a test program for each target board. Just trying to get
80
# it to link is a good test, so we ignore all the errors for now.
81
#
82
all:    ${SIM_CRT0} ${SIM_BSP}
83
 
84
#
85
# here's where we build the board support packages for each target
86
#
87
 
88
${SIM_BSP}: ${OBJS} ${SIM_OBJS}
89
        ${AR} ${ARFLAGS} $@ ${SIM_OBJS} ${OBJS}
90
        ${RANLIB} $@
91
 
92
#
93
# here's where we build the test programs for each target
94
#
95
.PHONY: test
96
test:   ${SIM_TEST}
97
 
98
crt0.o: crt0.S
99
syscalls.o: syscalls.c $(srcdir)/../syscall.h
100
outbyte.o: outbyte.c
101
inbyte.o: inbyte.c
102
 
103
isatty.o: $(srcdir)/../isatty.c
104
print.o: $(srcdir)/../print.c
105
putnum.o: $(srcdir)/../putnum.c
106
sbrk.o: $(srcdir)/../sbrk.c
107
 
108
clean mostlyclean:
109
        rm -f a.out core *.[oais] *-test *.srec *.dis *.x syscall.h
110
 
111
distclean maintainer-clean realclean: clean
112
        rm -f Makefile config.status *~
113
 
114
.PHONY: install info install-info clean-info
115
install: ${SIM_INSTALL}
116
 
117
install-sim:
118
        set -e; for x in ${SIM_CRT0} ${SIM_BSP} ${SIM_SCRIPTS}; do ${INSTALL_DATA} $$x $(DESTDIR)${tooldir}/lib${MULTISUBDIR}/$$x; done
119
 
120
doc:
121
info:
122
install-info:
123
clean-info:
124
 
125
Makefile: Makefile.in config.status @host_makefile_frag_path@
126
        $(SHELL) config.status
127
 
128
config.status: configure
129
        $(SHELL) config.status --recheck

powered by: WebSVN 2.1.0

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