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

Subversion Repositories or1k

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

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
# Makefile for libgloss/m32r
2 56 joel
# Copyright (c) 1996, 1998 Cygnus Support.
3 39 lampret
# All rights reserved.
4
#
5
# Redistribution and use in source and binary forms are permitted
6
# provided that the above copyright notice and this paragraph are
7
# duplicated in all such forms and that any documentation,
8
# advertising materials, and other materials related to such
9
# distribution and use acknowledge that the software was developed
10
# at Cygnus Support, Inc.  Cygnus Support, Inc. may not be used to
11
# endorse or promote products derived from this software without
12
# specific prior written permission.
13
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
14
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
15
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
16
 
17
VPATH = @srcdir@
18
srcdir = @srcdir@
19
objdir = .
20
srcroot = $(srcdir)/../..
21
objroot = $(objdir)/../..
22
 
23
host_alias = @host_alias@
24
target_alias = @target_alias@
25
prefix = @prefix@
26
exec_prefix = @exec_prefix@
27
bindir = @bindir@
28
libdir = @libdir@
29
tooldir = $(exec_prefix)/$(target_alias)
30
 
31
TOP = ../..
32
SRCTOP = ../..
33
 
34
# Multilib support variables.
35
# TOP is used instead of MULTI{BUILD,SRC}TOP.
36
MULTISRCTOP =
37
MULTIBUILDTOP =
38
MULTIDIRS =
39
MULTISUBDIR =
40
MULTIDO = true
41
MULTICLEAN = true
42
 
43
INSTALL = @INSTALL@
44
INSTALL_PROGRAM = @INSTALL_PROGRAM@
45
INSTALL_DATA = @INSTALL_DATA@
46
 
47
SHELL = /bin/sh
48
 
49
CC = @CC@
50
 
51
AS = @AS@
52
AR = @AR@
53
LD = @LD@
54
RANLIB = @RANLIB@
55
 
56
AR_FLAGS = qv
57
BISON = bison
58
MAKEINFO = makeinfo
59
 
60
.NOEXPORT:
61
MAKEOVERRIDES=
62
 
63
TARGETDOC = ../../targetdep.tex
64
 
65
CRT0 = crt0.o
66
GDBLIB = m32r-lib.o
67
GDBSTUB = m32r-stub.o
68
EVASCRIPT = eva.ld
69
STUBSCRIPT = eva-stub.ld
70
 
71 56 joel
GENERIC_LIBOBJS = \
72
        chmod.o close.o exit.o fstat.o getpid.o isatty.o kill.o lseek.o \
73
        open.o raise.o read.o sbrk.o stat.o unlink.o utime.o write.o
74
 
75
LIBOBJS = trap0.o $(GENERIC_LIBOBJS)
76
LIBGLOSS = libgloss.a
77
 
78
MONLIBOBJS = trapmon0.o $(GENERIC_LIBOBJS)
79
MONLIBGLOSS = libmon.a
80
MONSPECS = mon.specs
81
 
82 39 lampret
# Host specific makefile fragment comes in here.
83
@host_makefile_frag@
84
 
85 56 joel
all: $(CRT0) $(LIBGLOSS) $(MONLIBGLOSS) $(GDBLIB) $(GDBSTUB)
86 39 lampret
 
87
m32r-stub.o: $(srcdir)/$(MULTISRCTOP)../../gdb/m32r-stub.c
88
        $(CC) -c $(CFLAGS) -o $@ $(srcdir)/$(MULTISRCTOP)../../gdb/m32r-stub.c
89
 
90 56 joel
libgloss.a: $(LIBOBJS)
91
        $(AR) $(ARFLAGS) $@ $(LIBOBJS)
92
        $(RANLIB) $@
93
 
94
libmon.a: $(MONLIBOBJS)
95
        $(AR) $(ARFLAGS) $@ $(MONLIBOBJS)
96
        $(RANLIB) $@
97
 
98 39 lampret
install:
99
        $(INSTALL_DATA) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0)
100 56 joel
        $(INSTALL_DATA) $(LIBGLOSS) $(tooldir)/lib${MULTISUBDIR}/$(LIBGLOSS)
101
        $(INSTALL_DATA) $(MONLIBGLOSS) $(tooldir)/lib${MULTISUBDIR}/$(MONLIBGLOSS)
102 39 lampret
        $(INSTALL_DATA) $(GDBLIB) $(tooldir)/lib${MULTISUBDIR}/$(GDBLIB)
103
        $(INSTALL_DATA) $(GDBSTUB) $(tooldir)/lib${MULTISUBDIR}/$(GDBSTUB)
104
        $(INSTALL_DATA) $(srcdir)/$(EVASCRIPT) $(tooldir)/lib/$(EVASCRIPT)
105
        $(INSTALL_DATA) $(srcdir)/$(STUBSCRIPT) $(tooldir)/lib/$(STUBSCRIPT)
106 56 joel
        $(INSTALL_DATA) $(srcdir)/$(MONSPECS) $(tooldir)/lib/$(MONSPECS)
107 39 lampret
 
108
clean mostlyclean:
109
        rm -f *~ *.[oa]
110
 
111
distclean maintainer-clean realclean: clean
112
        rm -f Makefile config.status
113
 
114
info doc:
115
install-info:
116
clean-info:
117
 
118
Makefile: Makefile.in config.status @host_makefile_frag_path@
119
        $(SHELL) config.status
120
 
121
config.status: configure
122
        $(SHELL) config.status --recheck
123
 
124
# to support SunOS VPATH
125
crt0.o: crt0.S
126
m32r-lib.o: m32r-lib.c
127 56 joel
chmod.o: chmod.c
128
close.o: close.c
129
exit.o: exit.c
130
fstat.o: fstat.c
131
getpid.o: getpid.c
132
isatty.o: isatty.c
133
kill.o: kill.c
134
lseek.o: lseek.c
135
open.o: open.c
136
raise.o: raise.c
137
read.o: read.c
138
sbrk.o: sbrk.c
139
stat.o: stat.c
140
unlink.o: unlink.c
141
utime.o: utime.c
142
write.o: write.c
143
trap0.o: trap0.S
144
trapmon0.o: trapmon0.c

powered by: WebSVN 2.1.0

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