OSDN Git Service

Support for Toshiba MeP.
[pf3gnuchains/pf3gnuchains3x.git] / utils / Makefile.in
1
2 #
3 # Makefile.tpl, Makefile.in, Makefile
4 #   Copyright 2002 Free Software Foundation
5 #
6 # This file is part of GDB.
7 #
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
12
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 # GNU General Public License for more details.
17
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21
22 SHELL = /bin/sh
23
24 prefix = @prefix@
25 exec_prefix = @exec_prefix@
26 bindir = @bindir@
27 libdir = @libdir@
28 datadir = @datadir@
29 mandir = @mandir@
30 infodir = @infodir@
31 includedir = @includedir@
32 srcdir = @srcdir@
33 this_srcdir = @this_srcdir@
34
35 man1dir = $(mandir)/man1
36 man2dir = $(mandir)/man2
37 man3dir = $(mandir)/man3
38 man4dir = $(mandir)/man4
39 man5dir = $(mandir)/man5
40 man6dir = $(mandir)/man6
41 man7dir = $(mandir)/man7
42 man8dir = $(mandir)/man8
43 man9dir = $(mandir)/man9
44 tooldir = $(exec_prefix)
45
46 subconfigure_args = @subconfigure_args@
47
48 # Should it be INSTALL = @INSTALL@ -c ?
49 # The old makefile passed the -c argument.
50 INSTALL = @INSTALL@
51 INSTALL_PROGRAM = $(INSTALL)
52 INSTALL_DATA = $(INSTALL)
53
54 # public targets
55 all: @all_subdirs@
56 install: @install_subdirs@
57
58 mostlyclean: @mostlyclean_subdirs@
59 clean: @clean_subdirs@
60
61 # These should always clean all sudirectories...
62 distclean: distclean-mep distclean-spu distclean-wince 
63 maintainer-clean: maintainer-clean-mep maintainer-clean-spu maintainer-clean-wince 
64 clean mostlyclean:
65         -rm -f *~ core *.o a.out 
66 maintainer-clean distclean:
67         -rm -f Makefile config.status config.log config.cache *~ core *.o a.out 
68
69 info:
70 install-info:
71 clean-info:
72 dvi:
73
74 .PHONY: all install clean mostlyclean distclean maintainer-clean
75 .PHONY: info install-info clean-info dvi
76 .NOEXPORT:
77
78 # Rules for regenerating this Makefile
79 Makefile: $(srcdir)/Makefile.in config.status
80         ./config.status
81
82 $(srcdir)/Makefile.in: $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
83         cd $(srcdir) && autogen Makefile.def
84
85 config.status: $(srcdir)/configure
86         ./config.status --recheck
87
88 # Miscellaneous variable setting
89 AR_FLAGS = qv
90 FLAGS_TO_PASS = \
91         "CC=$(CC)" \
92         "CFLAGS=$(CFLAGS)" \
93         "AR=$(AR)" \
94         "AR_FLAGS=$(AR_FLAGS)" \
95         "AS=$(AS)" \
96         "CROSS_CFLAGS=$(CROSS_CFLAGS)" \
97         "TARGET_CFLAGS=$(TARGET_CFLAGS)" \
98         "INCLUDES=$(INCLUDES)"
99
100 # Everything from here on down is generated by FOR loops in autogen.
101
102 # Glue for all.
103
104 all-mep: configure-mep
105         cd mep && $(MAKE) $(FLAGS_TO_PASS) all
106 .PHONY: all-mep
107
108 all-spu: configure-spu
109         cd spu && $(MAKE) $(FLAGS_TO_PASS) all
110 .PHONY: all-spu
111
112 all-wince: configure-wince
113         cd wince && $(MAKE) $(FLAGS_TO_PASS) all
114 .PHONY: all-wince
115
116 # Glue for install.
117
118 install-mep: configure-mep
119         cd mep && $(MAKE)  install
120 .PHONY: install-mep
121
122 install-spu: configure-spu
123         cd spu && $(MAKE)  install
124 .PHONY: install-spu
125
126 install-wince: configure-wince
127         cd wince && $(MAKE)  install
128 .PHONY: install-wince
129
130 # Glue for mostlyclean.
131
132 mostlyclean-mep: configure-mep
133         cd mep && $(MAKE)  mostlyclean
134 .PHONY: mostlyclean-mep
135
136 mostlyclean-spu: configure-spu
137         cd spu && $(MAKE)  mostlyclean
138 .PHONY: mostlyclean-spu
139
140 mostlyclean-wince: configure-wince
141         cd wince && $(MAKE)  mostlyclean
142 .PHONY: mostlyclean-wince
143
144 # Glue for clean.
145
146 clean-mep: configure-mep
147         cd mep && $(MAKE)  clean
148 .PHONY: clean-mep
149
150 clean-spu: configure-spu
151         cd spu && $(MAKE)  clean
152 .PHONY: clean-spu
153
154 clean-wince: configure-wince
155         cd wince && $(MAKE)  clean
156 .PHONY: clean-wince
157
158 # Glue for distclean.
159
160 distclean-mep: configure-mep
161         -cd mep && $(MAKE)  distclean
162 .PHONY: distclean-mep
163
164 distclean-spu: configure-spu
165         -cd spu && $(MAKE)  distclean
166 .PHONY: distclean-spu
167
168 distclean-wince: configure-wince
169         -cd wince && $(MAKE)  distclean
170 .PHONY: distclean-wince
171
172 # Glue for maintainer-clean.
173
174 maintainer-clean-mep: configure-mep
175         -cd mep && $(MAKE)  maintainer-clean
176 .PHONY: maintainer-clean-mep
177
178 maintainer-clean-spu: configure-spu
179         -cd spu && $(MAKE)  maintainer-clean
180 .PHONY: maintainer-clean-spu
181
182 maintainer-clean-wince: configure-wince
183         -cd wince && $(MAKE)  maintainer-clean
184 .PHONY: maintainer-clean-wince
185
186 # Glue for configure.
187
188 configure-mep: mep/Makefile
189 mep/Makefile: config.status
190         test -d mep || mkdir mep ; \
191         cd mep && $(this_srcdir)/mep/configure $(subconfigure_args)/mep
192 .PHONY: configure-mep
193
194 configure-spu: spu/Makefile
195 spu/Makefile: config.status
196         test -d spu || mkdir spu ; \
197         cd spu && $(this_srcdir)/spu/configure $(subconfigure_args)/spu
198 .PHONY: configure-spu
199
200 configure-wince: wince/Makefile
201 wince/Makefile: config.status
202         test -d wince || mkdir wince ; \
203         cd wince && $(this_srcdir)/wince/configure $(subconfigure_args)/wince
204 .PHONY: configure-wince
205