]> sourceware.org Git - newlib-cygwin.git/blame - libgloss/m32r/Makefile.in
2003-04-17 Inaoka Kazuhiro <inaoka.kazuhiro@renesas.com>
[newlib-cygwin.git] / libgloss / m32r / Makefile.in
CommitLineData
03261851
RK
1# Makefile for libgloss/m32r
2# Copyright (c) 1996, 1998 Cygnus Support.
3# 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
17VPATH = @srcdir@
18srcdir = @srcdir@
19objdir = .
20srcroot = $(srcdir)/../..
21objroot = $(objdir)/../..
22
23host_alias = @host_alias@
24target_alias = @target_alias@
25prefix = @prefix@
26exec_prefix = @exec_prefix@
27bindir = @bindir@
28libdir = @libdir@
29tooldir = $(exec_prefix)/$(target_alias)
30
31TOP = ../..
32SRCTOP = ../..
33
34# Multilib support variables.
35# TOP is used instead of MULTI{BUILD,SRC}TOP.
36MULTISRCTOP =
37MULTIBUILDTOP =
38MULTIDIRS =
39MULTISUBDIR =
40MULTIDO = true
41MULTICLEAN = true
42
43INSTALL = @INSTALL@
44INSTALL_PROGRAM = @INSTALL_PROGRAM@
45INSTALL_DATA = @INSTALL_DATA@
46
47SHELL = /bin/sh
48
49CC = @CC@
50
51AS = @AS@
52AR = @AR@
53LD = @LD@
54RANLIB = @RANLIB@
55
56AR_FLAGS = qv
57BISON = bison
58MAKEINFO = makeinfo
59
60.NOEXPORT:
61MAKEOVERRIDES=
62
63TARGETDOC = ../../targetdep.tex
64
65CRT0 = crt0.o
66GDBLIB = m32r-lib.o
c27382bd 67GDBSTUB = m32r-stub.o
03261851
RK
68EVASCRIPT = eva.ld
69STUBSCRIPT = eva-stub.ld
70
71GENERIC_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
75LIBOBJS = trap0.o $(GENERIC_LIBOBJS)
76LIBGLOSS = libgloss.a
77
78MONLIBOBJS = trapmon0.o $(GENERIC_LIBOBJS)
79MONLIBGLOSS = libmon.a
80MONSPECS = mon.specs
81
82# Host specific makefile fragment comes in here.
83@host_makefile_frag@
84
85all: $(CRT0) $(LIBGLOSS) $(MONLIBGLOSS) $(GDBLIB) $(GDBSTUB)
86
87m32r-stub.o: $(srcdir)/$(MULTISRCTOP)../../gdb/m32r-stub.c
88 $(CC) -c $(CFLAGS) -o $@ $(srcdir)/$(MULTISRCTOP)../../gdb/m32r-stub.c
89
90libgloss.a: $(LIBOBJS)
91 $(AR) $(ARFLAGS) $@ $(LIBOBJS)
92 $(RANLIB) $@
93
94libmon.a: $(MONLIBOBJS)
95 $(AR) $(ARFLAGS) $@ $(MONLIBOBJS)
96 $(RANLIB) $@
97
98install:
62b01426 99 mkdir -p $(tooldir)/lib${MULTISUBDIR}
03261851
RK
100 $(INSTALL_DATA) $(CRT0) $(tooldir)/lib${MULTISUBDIR}/$(CRT0)
101 $(INSTALL_DATA) $(LIBGLOSS) $(tooldir)/lib${MULTISUBDIR}/$(LIBGLOSS)
102 $(INSTALL_DATA) $(MONLIBGLOSS) $(tooldir)/lib${MULTISUBDIR}/$(MONLIBGLOSS)
103 $(INSTALL_DATA) $(GDBLIB) $(tooldir)/lib${MULTISUBDIR}/$(GDBLIB)
104 $(INSTALL_DATA) $(GDBSTUB) $(tooldir)/lib${MULTISUBDIR}/$(GDBSTUB)
105 $(INSTALL_DATA) $(srcdir)/$(EVASCRIPT) $(tooldir)/lib/$(EVASCRIPT)
106 $(INSTALL_DATA) $(srcdir)/$(STUBSCRIPT) $(tooldir)/lib/$(STUBSCRIPT)
107 $(INSTALL_DATA) $(srcdir)/$(MONSPECS) $(tooldir)/lib/$(MONSPECS)
108
109clean mostlyclean:
110 rm -f *~ *.[oa]
111
112distclean maintainer-clean realclean: clean
113 rm -f Makefile config.status
114
115info doc:
116install-info:
117clean-info:
118
119Makefile: Makefile.in config.status @host_makefile_frag_path@
120 $(SHELL) config.status
121
122config.status: configure
123 $(SHELL) config.status --recheck
124
125# to support SunOS VPATH
126crt0.o: crt0.S
127m32r-lib.o: m32r-lib.c
128chmod.o: chmod.c
129close.o: close.c
130exit.o: exit.c
131fstat.o: fstat.c
132getpid.o: getpid.c
133isatty.o: isatty.c
134kill.o: kill.c
135lseek.o: lseek.c
136open.o: open.c
137raise.o: raise.c
138read.o: read.c
139sbrk.o: sbrk.c
140stat.o: stat.c
141unlink.o: unlink.c
142utime.o: utime.c
143write.o: write.c
144trap0.o: trap0.S
145trapmon0.o: trapmon0.c
This page took 0.075266 seconds and 5 git commands to generate.