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