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