1 |
23 |
lampret |
# Makefile.in generated automatically by automake 1.4 from Makefile.am
|
2 |
|
|
|
3 |
|
|
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
|
4 |
|
|
# This Makefile.in is free software; the Free Software Foundation
|
5 |
|
|
# gives unlimited permission to copy and/or distribute it,
|
6 |
|
|
# with or without modifications, as long as this notice is preserved.
|
7 |
|
|
|
8 |
|
|
# This program is distributed in the hope that it will be useful,
|
9 |
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
10 |
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
11 |
|
|
# PARTICULAR PURPOSE.
|
12 |
|
|
|
13 |
|
|
# Makefile -- Makefile for OR1K architecture dependent simulation
|
14 |
|
|
# Copyright (C) 1999 Damjan Lampret, lampret@opencores.org
|
15 |
|
|
#
|
16 |
|
|
# This file is part of OpenRISC 1000 Architectural Simulator.
|
17 |
|
|
#
|
18 |
|
|
# This program is free software; you can redistribute it and/or modify
|
19 |
|
|
# it under the terms of the GNU General Public License as published by
|
20 |
|
|
# the Free Software Foundation; either version 2 of the License, or
|
21 |
|
|
# (at your option) any later version.
|
22 |
|
|
#
|
23 |
|
|
# This program is distributed in the hope that it will be useful,
|
24 |
|
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
25 |
|
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
26 |
|
|
# GNU General Public License for more details.
|
27 |
|
|
#
|
28 |
|
|
# You should have received a copy of the GNU General Public License
|
29 |
|
|
# along with this program; if not, write to the Free Software
|
30 |
|
|
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
31 |
|
|
#
|
32 |
|
|
|
33 |
|
|
|
34 |
|
|
SHELL = @SHELL@
|
35 |
|
|
|
36 |
|
|
srcdir = @srcdir@
|
37 |
|
|
top_srcdir = @top_srcdir@
|
38 |
|
|
VPATH = @srcdir@
|
39 |
|
|
prefix = @prefix@
|
40 |
|
|
exec_prefix = @exec_prefix@
|
41 |
|
|
|
42 |
|
|
bindir = @bindir@
|
43 |
|
|
sbindir = @sbindir@
|
44 |
|
|
libexecdir = @libexecdir@
|
45 |
|
|
datadir = @datadir@
|
46 |
|
|
sysconfdir = @sysconfdir@
|
47 |
|
|
sharedstatedir = @sharedstatedir@
|
48 |
|
|
localstatedir = @localstatedir@
|
49 |
|
|
libdir = @libdir@
|
50 |
|
|
infodir = @infodir@
|
51 |
|
|
mandir = @mandir@
|
52 |
|
|
includedir = @includedir@
|
53 |
|
|
oldincludedir = /usr/include
|
54 |
|
|
|
55 |
|
|
DESTDIR =
|
56 |
|
|
|
57 |
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
58 |
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
59 |
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
60 |
|
|
|
61 |
|
|
top_builddir = ../..
|
62 |
|
|
|
63 |
|
|
ACLOCAL = @ACLOCAL@
|
64 |
|
|
AUTOCONF = @AUTOCONF@
|
65 |
|
|
AUTOMAKE = @AUTOMAKE@
|
66 |
|
|
AUTOHEADER = @AUTOHEADER@
|
67 |
|
|
|
68 |
|
|
INSTALL = @INSTALL@
|
69 |
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@ $(AM_INSTALL_PROGRAM_FLAGS)
|
70 |
|
|
INSTALL_DATA = @INSTALL_DATA@
|
71 |
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
72 |
|
|
transform = @program_transform_name@
|
73 |
|
|
|
74 |
|
|
NORMAL_INSTALL = :
|
75 |
|
|
PRE_INSTALL = :
|
76 |
|
|
POST_INSTALL = :
|
77 |
|
|
NORMAL_UNINSTALL = :
|
78 |
|
|
PRE_UNINSTALL = :
|
79 |
|
|
POST_UNINSTALL = :
|
80 |
|
|
build_alias = @build_alias@
|
81 |
|
|
build_triplet = @build@
|
82 |
|
|
host_alias = @host_alias@
|
83 |
|
|
host_triplet = @host@
|
84 |
|
|
target_alias = @target_alias@
|
85 |
|
|
target_triplet = @target@
|
86 |
|
|
AR = @AR@
|
87 |
|
|
ARFLAGS = @ARFLAGS@
|
88 |
|
|
BUILD_DIR = @BUILD_DIR@
|
89 |
|
|
CC = @CC@
|
90 |
|
|
CFLAGS = @CFLAGS@
|
91 |
|
|
CPU_ARCH = @CPU_ARCH@
|
92 |
221 |
markom |
FPM = @FPM@
|
93 |
23 |
lampret |
INCLUDES = @INCLUDES@
|
94 |
|
|
LOCAL_CFLAGS = @LOCAL_CFLAGS@
|
95 |
|
|
LOCAL_DEFS = @LOCAL_DEFS@
|
96 |
|
|
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
|
97 |
|
|
MAKEINFO = @MAKEINFO@
|
98 |
|
|
MAKE_SHELL = @MAKE_SHELL@
|
99 |
|
|
PACKAGE = @PACKAGE@
|
100 |
|
|
RANLIB = @RANLIB@
|
101 |
|
|
SUMVERSION = @SUMVERSION@
|
102 |
|
|
TERMCAP_LIB = @TERMCAP_LIB@
|
103 |
|
|
VERSION = @VERSION@
|
104 |
|
|
host = @host@
|
105 |
|
|
host_cpu = @host_cpu@
|
106 |
|
|
host_os = @host_os@
|
107 |
|
|
|
108 |
|
|
noinst_LIBRARIES = libor1k.a
|
109 |
133 |
markom |
libor1k_a_SOURCES = sprs.c decode.c except.c
|
110 |
23 |
lampret |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
111 |
|
|
CONFIG_HEADER = ../../config.h
|
112 |
|
|
CONFIG_CLEAN_FILES =
|
113 |
|
|
LIBRARIES = $(noinst_LIBRARIES)
|
114 |
|
|
|
115 |
|
|
|
116 |
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I../..
|
117 |
|
|
CPPFLAGS = @CPPFLAGS@
|
118 |
|
|
LDFLAGS = @LDFLAGS@
|
119 |
|
|
LIBS = @LIBS@
|
120 |
|
|
libor1k_a_LIBADD =
|
121 |
133 |
markom |
libor1k_a_OBJECTS = sprs.o decode.o except.o
|
122 |
23 |
lampret |
COMPILE = $(CC) $(DEFS) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
123 |
|
|
CCLD = $(CC)
|
124 |
|
|
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
|
125 |
|
|
DIST_COMMON = Makefile.am Makefile.in
|
126 |
|
|
|
127 |
|
|
|
128 |
|
|
DISTFILES = $(DIST_COMMON) $(SOURCES) $(HEADERS) $(TEXINFOS) $(EXTRA_DIST)
|
129 |
|
|
|
130 |
54 |
lampret |
TAR = gtar
|
131 |
23 |
lampret |
GZIP_ENV = --best
|
132 |
133 |
markom |
DEP_FILES = .deps/decode.P .deps/except.P .deps/sprs.P
|
133 |
23 |
lampret |
SOURCES = $(libor1k_a_SOURCES)
|
134 |
|
|
OBJECTS = $(libor1k_a_OBJECTS)
|
135 |
|
|
|
136 |
|
|
all: all-redirect
|
137 |
|
|
.SUFFIXES:
|
138 |
|
|
.SUFFIXES: .S .c .o .s
|
139 |
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
140 |
|
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu cpu/or1k/Makefile
|
141 |
|
|
|
142 |
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
143 |
|
|
cd $(top_builddir) \
|
144 |
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
mostlyclean-noinstLIBRARIES:
|
148 |
|
|
|
149 |
|
|
clean-noinstLIBRARIES:
|
150 |
|
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
151 |
|
|
|
152 |
|
|
distclean-noinstLIBRARIES:
|
153 |
|
|
|
154 |
|
|
maintainer-clean-noinstLIBRARIES:
|
155 |
|
|
|
156 |
|
|
.s.o:
|
157 |
|
|
$(COMPILE) -c $<
|
158 |
|
|
|
159 |
|
|
.S.o:
|
160 |
|
|
$(COMPILE) -c $<
|
161 |
|
|
|
162 |
|
|
mostlyclean-compile:
|
163 |
|
|
-rm -f *.o core *.core
|
164 |
|
|
|
165 |
|
|
clean-compile:
|
166 |
|
|
|
167 |
|
|
distclean-compile:
|
168 |
|
|
-rm -f *.tab.c
|
169 |
|
|
|
170 |
|
|
maintainer-clean-compile:
|
171 |
|
|
|
172 |
|
|
libor1k.a: $(libor1k_a_OBJECTS) $(libor1k_a_DEPENDENCIES)
|
173 |
|
|
-rm -f libor1k.a
|
174 |
|
|
$(AR) cru libor1k.a $(libor1k_a_OBJECTS) $(libor1k_a_LIBADD)
|
175 |
|
|
$(RANLIB) libor1k.a
|
176 |
|
|
|
177 |
|
|
tags: TAGS
|
178 |
|
|
|
179 |
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
180 |
|
|
list='$(SOURCES) $(HEADERS)'; \
|
181 |
|
|
unique=`for i in $$list; do echo $$i; done | \
|
182 |
|
|
awk ' { files[$$0] = 1; } \
|
183 |
|
|
END { for (i in files) print i; }'`; \
|
184 |
|
|
here=`pwd` && cd $(srcdir) \
|
185 |
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
186 |
|
|
|
187 |
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
188 |
|
|
tags=; \
|
189 |
|
|
here=`pwd`; \
|
190 |
|
|
list='$(SOURCES) $(HEADERS)'; \
|
191 |
|
|
unique=`for i in $$list; do echo $$i; done | \
|
192 |
|
|
awk ' { files[$$0] = 1; } \
|
193 |
|
|
END { for (i in files) print i; }'`; \
|
194 |
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
195 |
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
196 |
|
|
|
197 |
|
|
mostlyclean-tags:
|
198 |
|
|
|
199 |
|
|
clean-tags:
|
200 |
|
|
|
201 |
|
|
distclean-tags:
|
202 |
|
|
-rm -f TAGS ID
|
203 |
|
|
|
204 |
|
|
maintainer-clean-tags:
|
205 |
|
|
|
206 |
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
207 |
|
|
|
208 |
|
|
subdir = cpu/or1k
|
209 |
|
|
|
210 |
|
|
distdir: $(DISTFILES)
|
211 |
|
|
here=`cd $(top_builddir) && pwd`; \
|
212 |
|
|
top_distdir=`cd $(top_distdir) && pwd`; \
|
213 |
|
|
distdir=`cd $(distdir) && pwd`; \
|
214 |
|
|
cd $(top_srcdir) \
|
215 |
|
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu cpu/or1k/Makefile
|
216 |
|
|
@for file in $(DISTFILES); do \
|
217 |
|
|
d=$(srcdir); \
|
218 |
|
|
if test -d $$d/$$file; then \
|
219 |
54 |
lampret |
cp -pr $$d/$$file $(distdir)/$$file; \
|
220 |
23 |
lampret |
else \
|
221 |
|
|
test -f $(distdir)/$$file \
|
222 |
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
223 |
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
224 |
|
|
fi; \
|
225 |
|
|
done
|
226 |
|
|
|
227 |
|
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
228 |
|
|
|
229 |
|
|
-include $(DEP_FILES)
|
230 |
|
|
|
231 |
|
|
mostlyclean-depend:
|
232 |
|
|
|
233 |
|
|
clean-depend:
|
234 |
|
|
|
235 |
|
|
distclean-depend:
|
236 |
|
|
-rm -rf .deps
|
237 |
|
|
|
238 |
|
|
maintainer-clean-depend:
|
239 |
|
|
|
240 |
|
|
%.o: %.c
|
241 |
|
|
@echo '$(COMPILE) -c $<'; \
|
242 |
|
|
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
243 |
|
|
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
244 |
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
245 |
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
246 |
|
|
>> .deps/$(*F).P; \
|
247 |
|
|
rm .deps/$(*F).pp
|
248 |
|
|
|
249 |
|
|
%.lo: %.c
|
250 |
|
|
@echo '$(LTCOMPILE) -c $<'; \
|
251 |
|
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
252 |
|
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
253 |
|
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
254 |
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
255 |
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
256 |
|
|
>> .deps/$(*F).P; \
|
257 |
|
|
rm -f .deps/$(*F).pp
|
258 |
|
|
info-am:
|
259 |
|
|
info: info-am
|
260 |
|
|
dvi-am:
|
261 |
|
|
dvi: dvi-am
|
262 |
|
|
check-am: all-am
|
263 |
|
|
check: check-am
|
264 |
|
|
installcheck-am:
|
265 |
|
|
installcheck: installcheck-am
|
266 |
|
|
install-exec-am:
|
267 |
|
|
install-exec: install-exec-am
|
268 |
|
|
|
269 |
|
|
install-data-am:
|
270 |
|
|
install-data: install-data-am
|
271 |
|
|
|
272 |
|
|
install-am: all-am
|
273 |
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
274 |
|
|
install: install-am
|
275 |
|
|
uninstall-am:
|
276 |
|
|
uninstall: uninstall-am
|
277 |
|
|
all-am: Makefile $(LIBRARIES)
|
278 |
|
|
all-redirect: all-am
|
279 |
|
|
install-strip:
|
280 |
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
281 |
|
|
installdirs:
|
282 |
|
|
|
283 |
|
|
|
284 |
|
|
mostlyclean-generic:
|
285 |
|
|
|
286 |
|
|
clean-generic:
|
287 |
|
|
|
288 |
|
|
distclean-generic:
|
289 |
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
290 |
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
291 |
|
|
|
292 |
|
|
maintainer-clean-generic:
|
293 |
|
|
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
294 |
|
|
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
295 |
|
|
|
296 |
|
|
mostlyclean: mostlyclean-am
|
297 |
|
|
|
298 |
|
|
clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
|
299 |
|
|
clean-generic mostlyclean-am
|
300 |
|
|
|
301 |
|
|
clean: clean-am
|
302 |
|
|
|
303 |
|
|
distclean-am: distclean-noinstLIBRARIES distclean-compile \
|
304 |
|
|
distclean-tags distclean-depend distclean-generic \
|
305 |
|
|
clean-am
|
306 |
|
|
|
307 |
|
|
distclean: distclean-am
|
308 |
|
|
|
309 |
|
|
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
|
310 |
|
|
maintainer-clean-compile maintainer-clean-tags \
|
311 |
|
|
maintainer-clean-depend maintainer-clean-generic \
|
312 |
|
|
distclean-am
|
313 |
|
|
@echo "This command is intended for maintainers to use;"
|
314 |
|
|
@echo "it deletes files that may require special tools to rebuild."
|
315 |
|
|
|
316 |
|
|
maintainer-clean: maintainer-clean-am
|
317 |
|
|
|
318 |
|
|
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
319 |
|
|
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
320 |
|
|
mostlyclean-compile distclean-compile clean-compile \
|
321 |
|
|
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
|
322 |
|
|
clean-tags maintainer-clean-tags distdir mostlyclean-depend \
|
323 |
|
|
distclean-depend clean-depend maintainer-clean-depend info-am info \
|
324 |
|
|
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
325 |
|
|
install-exec install-data-am install-data install-am install \
|
326 |
|
|
uninstall-am uninstall all-redirect all-am all installdirs \
|
327 |
|
|
mostlyclean-generic distclean-generic clean-generic \
|
328 |
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
329 |
|
|
|
330 |
|
|
|
331 |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
332 |
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
333 |
|
|
.NOEXPORT:
|