1 |
31 |
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 peripherals 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 |
|
|
INCLUDES = @INCLUDES@
|
93 |
|
|
LOCAL_CFLAGS = @LOCAL_CFLAGS@
|
94 |
|
|
LOCAL_DEFS = @LOCAL_DEFS@
|
95 |
|
|
LOCAL_LDFLAGS = @LOCAL_LDFLAGS@
|
96 |
|
|
MAKEINFO = @MAKEINFO@
|
97 |
|
|
MAKE_SHELL = @MAKE_SHELL@
|
98 |
|
|
PACKAGE = @PACKAGE@
|
99 |
|
|
RANLIB = @RANLIB@
|
100 |
|
|
SUMVERSION = @SUMVERSION@
|
101 |
|
|
TERMCAP_LIB = @TERMCAP_LIB@
|
102 |
|
|
VERSION = @VERSION@
|
103 |
|
|
host = @host@
|
104 |
|
|
host_cpu = @host_cpu@
|
105 |
|
|
host_os = @host_os@
|
106 |
|
|
|
107 |
|
|
noinst_LIBRARIES = libperipheral.a
|
108 |
702 |
ivang |
libperipheral_a_SOURCES = 16450.c dma.c mc.c eth.c crc32.c gpio.c vga.c fb.c ps2kbd.c
|
109 |
31 |
lampret |
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
|
110 |
|
|
CONFIG_HEADER = ../config.h
|
111 |
|
|
CONFIG_CLEAN_FILES =
|
112 |
|
|
LIBRARIES = $(noinst_LIBRARIES)
|
113 |
|
|
|
114 |
|
|
|
115 |
|
|
DEFS = @DEFS@ -I. -I$(srcdir) -I..
|
116 |
|
|
CPPFLAGS = @CPPFLAGS@
|
117 |
|
|
LDFLAGS = @LDFLAGS@
|
118 |
|
|
LIBS = @LIBS@
|
119 |
|
|
libperipheral_a_LIBADD =
|
120 |
702 |
ivang |
libperipheral_a_OBJECTS = 16450.o dma.o mc.o eth.o crc32.o gpio.o vga.o \
|
121 |
|
|
fb.o ps2kbd.o
|
122 |
31 |
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 |
102 |
lampret |
TAR = gtar
|
131 |
31 |
lampret |
GZIP_ENV = --best
|
132 |
702 |
ivang |
DEP_FILES = .deps/16450.P .deps/crc32.P .deps/dma.P .deps/eth.P \
|
133 |
664 |
markom |
.deps/fb.P .deps/gpio.P .deps/mc.P .deps/ps2kbd.P .deps/vga.P
|
134 |
31 |
lampret |
SOURCES = $(libperipheral_a_SOURCES)
|
135 |
|
|
OBJECTS = $(libperipheral_a_OBJECTS)
|
136 |
|
|
|
137 |
|
|
all: all-redirect
|
138 |
|
|
.SUFFIXES:
|
139 |
|
|
.SUFFIXES: .S .c .o .s
|
140 |
|
|
$(srcdir)/Makefile.in: Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
|
141 |
|
|
cd $(top_srcdir) && $(AUTOMAKE) --gnu peripheral/Makefile
|
142 |
|
|
|
143 |
|
|
Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status $(BUILT_SOURCES)
|
144 |
|
|
cd $(top_builddir) \
|
145 |
|
|
&& CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
mostlyclean-noinstLIBRARIES:
|
149 |
|
|
|
150 |
|
|
clean-noinstLIBRARIES:
|
151 |
|
|
-test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
|
152 |
|
|
|
153 |
|
|
distclean-noinstLIBRARIES:
|
154 |
|
|
|
155 |
|
|
maintainer-clean-noinstLIBRARIES:
|
156 |
|
|
|
157 |
|
|
.s.o:
|
158 |
|
|
$(COMPILE) -c $<
|
159 |
|
|
|
160 |
|
|
.S.o:
|
161 |
|
|
$(COMPILE) -c $<
|
162 |
|
|
|
163 |
|
|
mostlyclean-compile:
|
164 |
|
|
-rm -f *.o core *.core
|
165 |
|
|
|
166 |
|
|
clean-compile:
|
167 |
|
|
|
168 |
|
|
distclean-compile:
|
169 |
|
|
-rm -f *.tab.c
|
170 |
|
|
|
171 |
|
|
maintainer-clean-compile:
|
172 |
|
|
|
173 |
|
|
libperipheral.a: $(libperipheral_a_OBJECTS) $(libperipheral_a_DEPENDENCIES)
|
174 |
|
|
-rm -f libperipheral.a
|
175 |
|
|
$(AR) cru libperipheral.a $(libperipheral_a_OBJECTS) $(libperipheral_a_LIBADD)
|
176 |
|
|
$(RANLIB) libperipheral.a
|
177 |
|
|
|
178 |
|
|
tags: TAGS
|
179 |
|
|
|
180 |
|
|
ID: $(HEADERS) $(SOURCES) $(LISP)
|
181 |
|
|
list='$(SOURCES) $(HEADERS)'; \
|
182 |
|
|
unique=`for i in $$list; do echo $$i; done | \
|
183 |
|
|
awk ' { files[$$0] = 1; } \
|
184 |
|
|
END { for (i in files) print i; }'`; \
|
185 |
|
|
here=`pwd` && cd $(srcdir) \
|
186 |
|
|
&& mkid -f$$here/ID $$unique $(LISP)
|
187 |
|
|
|
188 |
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) $(LISP)
|
189 |
|
|
tags=; \
|
190 |
|
|
here=`pwd`; \
|
191 |
|
|
list='$(SOURCES) $(HEADERS)'; \
|
192 |
|
|
unique=`for i in $$list; do echo $$i; done | \
|
193 |
|
|
awk ' { files[$$0] = 1; } \
|
194 |
|
|
END { for (i in files) print i; }'`; \
|
195 |
|
|
test -z "$(ETAGS_ARGS)$$unique$(LISP)$$tags" \
|
196 |
|
|
|| (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags $$unique $(LISP) -o $$here/TAGS)
|
197 |
|
|
|
198 |
|
|
mostlyclean-tags:
|
199 |
|
|
|
200 |
|
|
clean-tags:
|
201 |
|
|
|
202 |
|
|
distclean-tags:
|
203 |
|
|
-rm -f TAGS ID
|
204 |
|
|
|
205 |
|
|
maintainer-clean-tags:
|
206 |
|
|
|
207 |
|
|
distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
|
208 |
|
|
|
209 |
|
|
subdir = peripheral
|
210 |
|
|
|
211 |
|
|
distdir: $(DISTFILES)
|
212 |
|
|
here=`cd $(top_builddir) && pwd`; \
|
213 |
|
|
top_distdir=`cd $(top_distdir) && pwd`; \
|
214 |
|
|
distdir=`cd $(distdir) && pwd`; \
|
215 |
|
|
cd $(top_srcdir) \
|
216 |
|
|
&& $(AUTOMAKE) --include-deps --build-dir=$$here --srcdir-name=$(top_srcdir) --output-dir=$$top_distdir --gnu peripheral/Makefile
|
217 |
|
|
@for file in $(DISTFILES); do \
|
218 |
|
|
d=$(srcdir); \
|
219 |
|
|
if test -d $$d/$$file; then \
|
220 |
493 |
markom |
cp -pr $$d/$$file $(distdir)/$$file; \
|
221 |
31 |
lampret |
else \
|
222 |
|
|
test -f $(distdir)/$$file \
|
223 |
|
|
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \
|
224 |
|
|
|| cp -p $$d/$$file $(distdir)/$$file || :; \
|
225 |
|
|
fi; \
|
226 |
|
|
done
|
227 |
|
|
|
228 |
|
|
DEPS_MAGIC := $(shell mkdir .deps > /dev/null 2>&1 || :)
|
229 |
|
|
|
230 |
|
|
-include $(DEP_FILES)
|
231 |
|
|
|
232 |
|
|
mostlyclean-depend:
|
233 |
|
|
|
234 |
|
|
clean-depend:
|
235 |
|
|
|
236 |
|
|
distclean-depend:
|
237 |
|
|
-rm -rf .deps
|
238 |
|
|
|
239 |
|
|
maintainer-clean-depend:
|
240 |
|
|
|
241 |
|
|
%.o: %.c
|
242 |
|
|
@echo '$(COMPILE) -c $<'; \
|
243 |
|
|
$(COMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
244 |
|
|
@-cp .deps/$(*F).pp .deps/$(*F).P; \
|
245 |
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
246 |
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
247 |
|
|
>> .deps/$(*F).P; \
|
248 |
|
|
rm .deps/$(*F).pp
|
249 |
|
|
|
250 |
|
|
%.lo: %.c
|
251 |
|
|
@echo '$(LTCOMPILE) -c $<'; \
|
252 |
|
|
$(LTCOMPILE) -Wp,-MD,.deps/$(*F).pp -c $<
|
253 |
|
|
@-sed -e 's/^\([^:]*\)\.o[ ]*:/\1.lo \1.o :/' \
|
254 |
|
|
< .deps/$(*F).pp > .deps/$(*F).P; \
|
255 |
|
|
tr ' ' '\012' < .deps/$(*F).pp \
|
256 |
|
|
| sed -e 's/^\\$$//' -e '/^$$/ d' -e '/:$$/ d' -e 's/$$/ :/' \
|
257 |
|
|
>> .deps/$(*F).P; \
|
258 |
|
|
rm -f .deps/$(*F).pp
|
259 |
|
|
info-am:
|
260 |
|
|
info: info-am
|
261 |
|
|
dvi-am:
|
262 |
|
|
dvi: dvi-am
|
263 |
|
|
check-am: all-am
|
264 |
|
|
check: check-am
|
265 |
|
|
installcheck-am:
|
266 |
|
|
installcheck: installcheck-am
|
267 |
|
|
install-exec-am:
|
268 |
|
|
install-exec: install-exec-am
|
269 |
|
|
|
270 |
|
|
install-data-am:
|
271 |
|
|
install-data: install-data-am
|
272 |
|
|
|
273 |
|
|
install-am: all-am
|
274 |
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
275 |
|
|
install: install-am
|
276 |
|
|
uninstall-am:
|
277 |
|
|
uninstall: uninstall-am
|
278 |
|
|
all-am: Makefile $(LIBRARIES)
|
279 |
|
|
all-redirect: all-am
|
280 |
|
|
install-strip:
|
281 |
|
|
$(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
|
282 |
|
|
installdirs:
|
283 |
|
|
|
284 |
|
|
|
285 |
|
|
mostlyclean-generic:
|
286 |
|
|
|
287 |
|
|
clean-generic:
|
288 |
|
|
|
289 |
|
|
distclean-generic:
|
290 |
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
291 |
|
|
-rm -f config.cache config.log stamp-h stamp-h[0-9]*
|
292 |
|
|
|
293 |
|
|
maintainer-clean-generic:
|
294 |
|
|
mostlyclean-am: mostlyclean-noinstLIBRARIES mostlyclean-compile \
|
295 |
|
|
mostlyclean-tags mostlyclean-depend mostlyclean-generic
|
296 |
|
|
|
297 |
|
|
mostlyclean: mostlyclean-am
|
298 |
|
|
|
299 |
|
|
clean-am: clean-noinstLIBRARIES clean-compile clean-tags clean-depend \
|
300 |
|
|
clean-generic mostlyclean-am
|
301 |
|
|
|
302 |
|
|
clean: clean-am
|
303 |
|
|
|
304 |
|
|
distclean-am: distclean-noinstLIBRARIES distclean-compile \
|
305 |
|
|
distclean-tags distclean-depend distclean-generic \
|
306 |
|
|
clean-am
|
307 |
|
|
|
308 |
|
|
distclean: distclean-am
|
309 |
|
|
|
310 |
|
|
maintainer-clean-am: maintainer-clean-noinstLIBRARIES \
|
311 |
|
|
maintainer-clean-compile maintainer-clean-tags \
|
312 |
|
|
maintainer-clean-depend maintainer-clean-generic \
|
313 |
|
|
distclean-am
|
314 |
|
|
@echo "This command is intended for maintainers to use;"
|
315 |
|
|
@echo "it deletes files that may require special tools to rebuild."
|
316 |
|
|
|
317 |
|
|
maintainer-clean: maintainer-clean-am
|
318 |
|
|
|
319 |
|
|
.PHONY: mostlyclean-noinstLIBRARIES distclean-noinstLIBRARIES \
|
320 |
|
|
clean-noinstLIBRARIES maintainer-clean-noinstLIBRARIES \
|
321 |
|
|
mostlyclean-compile distclean-compile clean-compile \
|
322 |
|
|
maintainer-clean-compile tags mostlyclean-tags distclean-tags \
|
323 |
|
|
clean-tags maintainer-clean-tags distdir mostlyclean-depend \
|
324 |
|
|
distclean-depend clean-depend maintainer-clean-depend info-am info \
|
325 |
|
|
dvi-am dvi check check-am installcheck-am installcheck install-exec-am \
|
326 |
|
|
install-exec install-data-am install-data install-am install \
|
327 |
|
|
uninstall-am uninstall all-redirect all-am all installdirs \
|
328 |
|
|
mostlyclean-generic distclean-generic clean-generic \
|
329 |
|
|
maintainer-clean-generic clean mostlyclean distclean maintainer-clean
|
330 |
|
|
|
331 |
|
|
|
332 |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
333 |
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
334 |
|
|
.NOEXPORT:
|