* findvar.c (read_var_value): If REG_STRUCT_HAS_ADDR, then set
[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
66INSTALL=install-nothing
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
90all: endian.h $(ALL)
91
47dba87a 92clean: $(CLEAN)
e856060f 93
47dba87a 94install: $(INSTALL)
e856060f
SC
95
96endian.h: endian
97 ./endian > endian.h
98
47dba87a
SC
99
100
101### none
102
103all-nothing: force
104
105clean-nothing: force
106
107install-nothing: force
108
109
e856060f
SC
110### z8k
111
112all-z8k: force
113 if [ -f ./z8k/Makefile ] ; then \
114 rootme=`pwd` ; export rootme ; \
115 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
116 else \
117 true ; \
118 fi
119
120install-z8k: force
121 if [ -f ./z8k/Makefile ] ; then \
122 rootme=`pwd` ; export rootme ; \
123 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
124 else \
125 true ; \
126 fi
127
47dba87a
SC
128clean-z8k: force
129 if [ -f ./z8k/Makefile ] ; then \
130 rootme=`pwd` ; export rootme ; \
131 ( cd ./z8k ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
132 else \
133 true ; \
134 fi
135
e856060f
SC
136
137### h8300
138
139all-h8300: force
140 if [ -f ./h8300/Makefile ] ; then \
141 rootme=`pwd` ; export rootme ; \
142 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
143 else \
144 true ; \
145 fi
146
147install-h8300: force
148 if [ -f ./h8300/Makefile ] ; then \
149 rootme=`pwd` ; export rootme ; \
150 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
151 else \
152 true ; \
153 fi
154
47dba87a
SC
155clean-h8300: force
156 if [ -f ./h8300/Makefile ] ; then \
157 rootme=`pwd` ; export rootme ; \
158 ( cd ./h8300 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
159 else \
160 true ; \
161 fi
162
163###
164
165### h8500
166
167all-h8500: force
168 if [ -f ./h8500/Makefile ] ; then \
169 rootme=`pwd` ; export rootme ; \
170 ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) all) ; \
171 else \
172 true ; \
173 fi
174
175install-h8500: force
176 if [ -f ./h8500/Makefile ] ; then \
177 rootme=`pwd` ; export rootme ; \
178 ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) install) ; \
179 else \
180 true ; \
181 fi
182
183clean-h8500: force
184 if [ -f ./h8500/Makefile ] ; then \
185 rootme=`pwd` ; export rootme ; \
186 ( cd ./h8500 ; $(MAKE) $(FLAGS_TO_PASS) clean) ; \
187 else \
188 true ; \
189 fi
190
e856060f
SC
191###
192
193force:
194
195
196# with the gnu make, this is done automatically.
197
198Makefile: $(srcdir)/Makefile.in $(target_makefile_frag)
199 $(SHELL) ./config.status
This page took 0.029899 seconds and 4 git commands to generate.