Add m88k-coff target Makefile fragment.
[deliverable/binutils-gdb.git] / sim / Makefile.in
CommitLineData
e856060f
SC
1# Makefile template for Configure for the sim library.
2# Copyright (C) 1993 Free Software Foundation, Inc.
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
21srcdir = .
22
23prefix = /usr/local
24
25exec_prefix = $(prefix)
26bindir = $(exec_prefix)/bin
27libdir = $(exec_prefix)/lib
28
29datadir = $(prefix)/lib
30mandir = $(prefix)/man
31man1dir = $(mandir)/man1
32man2dir = $(mandir)/man2
33man3dir = $(mandir)/man3
34man4dir = $(mandir)/man4
35man5dir = $(mandir)/man5
36man6dir = $(mandir)/man6
37man7dir = $(mandir)/man7
38man8dir = $(mandir)/man8
39man9dir = $(mandir)/man9
40infodir = $(prefix)/info
41includedir = $(prefix)/include
42oldincludedir =
43docdir = doc
44
45SHELL = /bin/sh
46
47INSTALL = install -c
48INSTALL_PROGRAM = $(INSTALL)
49INSTALL_DATA = $(INSTALL)
50
51AR = ar
52AR_FLAGS = rc
53CFLAGS = -g
54BISON = bison
55MAKEINFO = makeinfo
56RANLIB = ranlib
57
58INCDIR = $(srcdir)/../include
59CSEARCH = -I. -I$(srcdir) -I$(INCDIR)
60DEP = mkdep
61
62SUBDIRS = " this is set by configire, don't change this "
63
47dba87a
SC
64ALL=all-nothing
65CLEAN=clean-nothing
a86ea03f 66DO_INSTALL=install-nothing
47dba87a 67
e856060f
SC
68#### host and target dependent Makefile fragments come in here.
69###
70
71FLAGS_TO_PASS = \
72 "prefix=$(prefix)" \
73 "exec_prefix=$(exec_prefix)" \
74 "against=$(against)" \
75 "AR=$(AR)" \
76 "AR_FLAGS=$(AR_FLAGS)" \
77 "CC=$(CC)" \
78 "CFLAGS=$(CFLAGS)" \
79 "RANLIB=$(RANLIB)" \
80 "MAKEINFO=$(MAKEINFO)" \
81 "INSTALL=$(INSTALL)" \
82 "INSTALL_DATA=$(INSTALL_DATA)" \
83 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
84 "BISON=$(BISON)"
85
86
87STAGESTUFF = $(TARGETLIB) $(OFILES)
88
89
b23eaace 90all: $(ALL)
e856060f 91
47dba87a 92clean: $(CLEAN)
e856060f 93
a86ea03f
SC
94install: $(DO_INSTALL)
95
68dd3014
JK
96mostlyclean: clean
97
98distclean realclean: clean
99 rm -f Makefile config.status
100
a86ea03f
SC
101info:
102install-info:
b23eaace 103dvi:
e856060f 104
68dd3014
JK
105###
106###
47dba87a 107
68dd3014
JK
108.PHONY: check installcheck
109check:
110installcheck:
ad5fcc62 111
47dba87a
SC
112### none
113
114all-nothing: force
115
116clean-nothing: force
117
118install-nothing: force
119
120
e856060f
SC
121### z8k
122
68dd3014 123all-z8k: force
e856060f
SC
124 if [ -f ./z8k/Makefile ] ; then \
125 rootme=`pwd` ; export rootme ; \
126 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
127 else \
128 true ; \
129 fi
130
131install-z8k: force
132 if [ -f ./z8k/Makefile ] ; then \
133 rootme=`pwd` ; export rootme ; \
134 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
135 else \
136 true ; \
137 fi
138
47dba87a
SC
139clean-z8k: force
140 if [ -f ./z8k/Makefile ] ; then \
141 rootme=`pwd` ; export rootme ; \
142 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
143 else \
144 true ; \
145 fi
146
e856060f
SC
147
148### h8300
149
68dd3014 150all-h8300: force
e856060f
SC
151 if [ -f ./h8300/Makefile ] ; then \
152 rootme=`pwd` ; export rootme ; \
153 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
154 else \
155 true ; \
156 fi
157
158install-h8300: force
159 if [ -f ./h8300/Makefile ] ; then \
160 rootme=`pwd` ; export rootme ; \
161 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
162 else \
163 true ; \
164 fi
165
47dba87a
SC
166clean-h8300: force
167 if [ -f ./h8300/Makefile ] ; then \
168 rootme=`pwd` ; export rootme ; \
169 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
170 else \
171 true ; \
172 fi
173
174###
175
176### h8500
177
b23eaace 178all-h8500: endian.h force
47dba87a
SC
179 if [ -f ./h8500/Makefile ] ; then \
180 rootme=`pwd` ; export rootme ; \
181 ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
182 else \
183 true ; \
184 fi
185
186install-h8500: force
187 if [ -f ./h8500/Makefile ] ; then \
188 rootme=`pwd` ; export rootme ; \
189 ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
190 else \
191 true ; \
192 fi
193
194clean-h8500: force
195 if [ -f ./h8500/Makefile ] ; then \
196 rootme=`pwd` ; export rootme ; \
197 ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
198 else \
199 true ; \
200 fi
201
e856060f
SC
202###
203
a86ea03f
SC
204### sh
205
68dd3014 206all-sh: force
a86ea03f
SC
207 if [ -f ./sh/Makefile ] ; then \
208 rootme=`pwd` ; export rootme ; \
209 ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
210 else \
211 true ; \
212 fi
213
214install-sh: force
215 if [ -f ./sh/Makefile ] ; then \
216 rootme=`pwd` ; export rootme ; \
217 ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
218 else \
219 true ; \
220 fi
221
222clean-sh: force
223 if [ -f ./sh/Makefile ] ; then \
224 rootme=`pwd` ; export rootme ; \
225 ( cd ./sh ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
226 else \
227 true ; \
228 fi
229
230###
231
e856060f
SC
232force:
233
234
235# with the gnu make, this is done automatically.
236
237Makefile: $(srcdir)/Makefile.in $(target_makefile_frag)
238 $(SHELL) ./config.status
This page took 0.046556 seconds and 4 git commands to generate.