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