* Makefile.in, configure.in: converted to autoconf.
[deliverable/binutils-gdb.git] / sim / Makefile.in
CommitLineData
e856060f 1# Makefile template for Configure for the sim library.
1ffd292b 2# Copyright (C) 1993, 1995 Free Software Foundation, Inc.
e856060f
SC
3# Written by Cygnus Support.
4#
5# This file is part of BFD, the Binary File Descriptor library.
6#
7# This program is free software; you can redistribute it and/or modify
8# it under the terms of the GNU General Public License as published by
9# the Free Software Foundation; either version 2 of the License, or
10# (at your option) any later version.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program; if not, write to the Free Software
19# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20
1ffd292b
C
21VPATH = @srcdir@
22srcdir = @srcdir@
becbe1c3 23srcroot = $(srcdir)/..
e856060f 24
1ffd292b
C
25prefix = @prefix@
26exec_prefix = @exec_prefix@
27
28host_alias = @host_alias@
29target_alias = @target_alias@
30program_transform_name = @program_transform_name@
e856060f
SC
31bindir = $(exec_prefix)/bin
32libdir = $(exec_prefix)/lib
1ffd292b 33tooldir = $(libdir)/$(target_alias)
e856060f
SC
34
35datadir = $(prefix)/lib
36mandir = $(prefix)/man
37man1dir = $(mandir)/man1
38man2dir = $(mandir)/man2
39man3dir = $(mandir)/man3
40man4dir = $(mandir)/man4
41man5dir = $(mandir)/man5
42man6dir = $(mandir)/man6
43man7dir = $(mandir)/man7
44man8dir = $(mandir)/man8
45man9dir = $(mandir)/man9
46infodir = $(prefix)/info
47includedir = $(prefix)/include
1ffd292b 48docdir = $(datadir)/doc
e856060f
SC
49
50SHELL = /bin/sh
51
1ffd292b 52# FIXME: Use autoconf's AC_PROG_INSTALL
becbe1c3 53INSTALL = $${srcroot}/../install.sh -c
e856060f
SC
54INSTALL_PROGRAM = $(INSTALL)
55INSTALL_DATA = $(INSTALL)
becbe1c3
RP
56INSTALL_XFORM = $(INSTALL) -t='$(program_transform_name)'
57INSTALL_XFORM1 = $(INSTALL_XFORM) -b=.1
58
e856060f
SC
59AR = ar
60AR_FLAGS = rc
61CFLAGS = -g
62BISON = bison
63MAKEINFO = makeinfo
64RANLIB = ranlib
65
1ffd292b
C
66SUBDIRS = @subdirs@
67
68.NOEXPORT:
becbe1c3
RP
69MAKEOVERRIDES=
70
1ffd292b 71
e856060f
SC
72INCDIR = $(srcdir)/../include
73CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
74DEP = mkdep
75
47dba87a
SC
76ALL=all-nothing
77CLEAN=clean-nothing
a86ea03f 78DO_INSTALL=install-nothing
47dba87a 79
1ffd292b
C
80#### Makefile fragments come in here.
81# @target_makefile_frag@
e856060f
SC
82###
83
84FLAGS_TO_PASS = \
85 "prefix=$(prefix)" \
86 "exec_prefix=$(exec_prefix)" \
87 "against=$(against)" \
88 "AR=$(AR)" \
89 "AR_FLAGS=$(AR_FLAGS)" \
90 "CC=$(CC)" \
91 "CFLAGS=$(CFLAGS)" \
92 "RANLIB=$(RANLIB)" \
93 "MAKEINFO=$(MAKEINFO)" \
94 "INSTALL=$(INSTALL)" \
95 "INSTALL_DATA=$(INSTALL_DATA)" \
96 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
97 "BISON=$(BISON)"
98
b23eaace 99all: $(ALL)
1ffd292b 100
47dba87a 101clean: $(CLEAN)
e856060f 102
a86ea03f
SC
103install: $(DO_INSTALL)
104
68dd3014
JK
105mostlyclean: clean
106
107distclean realclean: clean
1ffd292b 108 rm -f Makefile config.cache config.log config.status
68dd3014 109
a86ea03f
SC
110info:
111install-info:
b23eaace 112dvi:
e856060f 113
68dd3014
JK
114###
115###
47dba87a 116
68dd3014
JK
117.PHONY: check installcheck
118check:
119installcheck:
ad5fcc62 120
47dba87a
SC
121### none
122
123all-nothing: force
124
125clean-nothing: force
126
127install-nothing: force
128
129
e856060f
SC
130### z8k
131
68dd3014 132all-z8k: force
becbe1c3 133 @if [ -f ./z8k/Makefile ] ; then \
e856060f
SC
134 rootme=`pwd` ; export rootme ; \
135 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
136 else \
137 true ; \
138 fi
139
140install-z8k: force
becbe1c3 141 @if [ -f ./z8k/Makefile ] ; then \
e856060f 142 rootme=`pwd` ; export rootme ; \
becbe1c3 143 srcroot=`cd $(srcdir); pwd`; export srcroot; \
e856060f
SC
144 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
145 else \
146 true ; \
147 fi
148
47dba87a 149clean-z8k: force
becbe1c3 150 @if [ -f ./z8k/Makefile ] ; then \
47dba87a
SC
151 rootme=`pwd` ; export rootme ; \
152 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
153 else \
154 true ; \
155 fi
156
e856060f
SC
157
158### h8300
159
68dd3014 160all-h8300: force
becbe1c3 161 @if [ -f ./h8300/Makefile ] ; then \
e856060f
SC
162 rootme=`pwd` ; export rootme ; \
163 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
164 else \
165 true ; \
166 fi
167
168install-h8300: force
becbe1c3 169 @if [ -f ./h8300/Makefile ] ; then \
e856060f 170 rootme=`pwd` ; export rootme ; \
becbe1c3 171 srcroot=`cd $(srcdir); pwd`; export srcroot; \
e856060f
SC
172 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
173 else \
174 true ; \
175 fi
176
47dba87a 177clean-h8300: force
becbe1c3 178 @if [ -f ./h8300/Makefile ] ; then \
47dba87a
SC
179 rootme=`pwd` ; export rootme ; \
180 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
181 else \
182 true ; \
183 fi
184
185###
186
187### h8500
188
becbe1c3
RP
189all-h8500: force
190 @if [ -f ./h8500/Makefile ] ; then \
47dba87a
SC
191 rootme=`pwd` ; export rootme ; \
192 ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
193 else \
194 true ; \
195 fi
196
197install-h8500: force
becbe1c3 198 @if [ -f ./h8500/Makefile ] ; then \
47dba87a 199 rootme=`pwd` ; export rootme ; \
becbe1c3 200 srcroot=`cd $(srcdir); pwd`; export srcroot; \
47dba87a
SC
201 ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
202 else \
203 true ; \
204 fi
205
206clean-h8500: force
becbe1c3 207 @if [ -f ./h8500/Makefile ] ; then \
47dba87a
SC
208 rootme=`pwd` ; export rootme ; \
209 ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
210 else \
211 true ; \
212 fi
213
e856060f
SC
214###
215
a86ea03f
SC
216### sh
217
68dd3014 218all-sh: force
becbe1c3 219 @if [ -f ./sh/Makefile ] ; then \
a86ea03f
SC
220 rootme=`pwd` ; export rootme ; \
221 ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
222 else \
223 true ; \
224 fi
225
226install-sh: force
becbe1c3 227 @if [ -f ./sh/Makefile ] ; then \
a86ea03f
SC
228 rootme=`pwd` ; export rootme ; \
229 ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
230 else \
231 true ; \
232 fi
233
234clean-sh: force
becbe1c3 235 @if [ -f ./sh/Makefile ] ; then \
a86ea03f
SC
236 rootme=`pwd` ; export rootme ; \
237 ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
238 else \
239 true ; \
240 fi
241
1ffd292b
C
242TAGS:
243
a86ea03f
SC
244###
245
1ffd292b
C
246### w65
247
248all-w65: force
249 @if [ -f ./w65/Makefile ] ; then \
250 rootme=`pwd` ; export rootme ; \
251 ( cd ./w65 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
252 else \
253 true ; \
254 fi
255
256install-w65: force
257 @if [ -f ./w65/Makefile ] ; then \
258 rootme=`pwd` ; export rootme ; \
259 srcroot=`cd $(srcdir); pwd`; export srcroot; \
260 ( cd ./w65 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
261 else \
262 true ; \
263 fi
264
265clean-w65: force
266 @if [ -f ./w65/Makefile ] ; then \
267 rootme=`pwd` ; export rootme ; \
268 ( cd ./w65 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
269 else \
270 true ; \
271 fi
272
273
274### arm
275
276all-arm: force
277 @if [ -f ./arm/Makefile ] ; then \
278 rootme=`pwd` ; export rootme ; \
279 ( cd ./arm ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
280 else \
281 true ; \
282 fi
283
284install-arm: force
285 @if [ -f ./arm/Makefile ] ; then \
286 rootme=`pwd` ; export rootme ; \
287 srcroot=`cd $(srcdir); pwd`; export srcroot; \
288 ( cd ./arm ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
289 else \
290 true ; \
291 fi
292
293clean-arm: force
294 @if [ -f ./arm/Makefile ] ; then \
295 rootme=`pwd` ; export rootme ; \
296 ( cd ./arm ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
297 else \
298 true ; \
299 fi
300
301
e856060f
SC
302force:
303
304
305# with the gnu make, this is done automatically.
306
1ffd292b 307Makefile: Makefile.in config.status @frags@
e856060f 308 $(SHELL) ./config.status
1ffd292b
C
309
310config.status: configure
311 $(SHELL) ./config.status --recheck
This page took 0.124351 seconds and 4 git commands to generate.