1 |
1026 |
ivang |
# Makefile.in generated by automake 1.6.2 from Makefile.am.
|
2 |
|
|
# @configure_input@
|
3 |
|
|
|
4 |
|
|
# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002
|
5 |
|
|
# Free Software Foundation, Inc.
|
6 |
|
|
# This Makefile.in is free software; the Free Software Foundation
|
7 |
|
|
# gives unlimited permission to copy and/or distribute it,
|
8 |
|
|
# with or without modifications, as long as this notice is preserved.
|
9 |
|
|
|
10 |
|
|
# This program is distributed in the hope that it will be useful,
|
11 |
|
|
# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
|
12 |
|
|
# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
13 |
|
|
# PARTICULAR PURPOSE.
|
14 |
|
|
|
15 |
|
|
@SET_MAKE@
|
16 |
|
|
SHELL = @SHELL@
|
17 |
|
|
|
18 |
|
|
srcdir = @srcdir@
|
19 |
|
|
top_srcdir = @top_srcdir@
|
20 |
|
|
VPATH = @srcdir@
|
21 |
|
|
prefix = @prefix@
|
22 |
|
|
exec_prefix = @exec_prefix@
|
23 |
|
|
|
24 |
|
|
bindir = @bindir@
|
25 |
|
|
sbindir = @sbindir@
|
26 |
|
|
libexecdir = @libexecdir@
|
27 |
|
|
datadir = @datadir@
|
28 |
|
|
sysconfdir = @sysconfdir@
|
29 |
|
|
sharedstatedir = @sharedstatedir@
|
30 |
|
|
localstatedir = @localstatedir@
|
31 |
|
|
libdir = @libdir@
|
32 |
|
|
infodir = @infodir@
|
33 |
|
|
mandir = @mandir@
|
34 |
|
|
includedir = @includedir@
|
35 |
|
|
oldincludedir = /usr/include
|
36 |
|
|
pkgdatadir = $(datadir)/@PACKAGE@
|
37 |
|
|
pkglibdir = $(libdir)/@PACKAGE@
|
38 |
|
|
pkgincludedir = $(includedir)/@PACKAGE@
|
39 |
|
|
top_builddir = ..
|
40 |
|
|
|
41 |
|
|
ACLOCAL = @ACLOCAL@
|
42 |
|
|
AUTOCONF = @AUTOCONF@
|
43 |
|
|
AUTOMAKE = @AUTOMAKE@
|
44 |
|
|
AUTOHEADER = @AUTOHEADER@
|
45 |
|
|
|
46 |
|
|
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
|
47 |
|
|
INSTALL = @INSTALL@
|
48 |
|
|
INSTALL_PROGRAM = @INSTALL_PROGRAM@
|
49 |
|
|
INSTALL_DATA = @INSTALL_DATA@
|
50 |
|
|
install_sh_DATA = $(install_sh) -c -m 644
|
51 |
|
|
install_sh_PROGRAM = $(install_sh) -c
|
52 |
|
|
install_sh_SCRIPT = $(install_sh) -c
|
53 |
|
|
INSTALL_SCRIPT = @INSTALL_SCRIPT@
|
54 |
|
|
INSTALL_HEADER = $(INSTALL_DATA)
|
55 |
|
|
transform = @program_transform_name@
|
56 |
|
|
NORMAL_INSTALL = :
|
57 |
|
|
PRE_INSTALL = :
|
58 |
|
|
POST_INSTALL = :
|
59 |
|
|
NORMAL_UNINSTALL = :
|
60 |
|
|
PRE_UNINSTALL = :
|
61 |
|
|
POST_UNINSTALL = :
|
62 |
|
|
host_alias = @host_alias@
|
63 |
|
|
host_triplet = @host@
|
64 |
|
|
|
65 |
|
|
EXEEXT = @EXEEXT@
|
66 |
|
|
OBJEXT = @OBJEXT@
|
67 |
|
|
PATH_SEPARATOR = @PATH_SEPARATOR@
|
68 |
|
|
AMTAR = @AMTAR@
|
69 |
|
|
AWK = @AWK@
|
70 |
|
|
BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@
|
71 |
|
|
BARE_CPU_MODEL = @BARE_CPU_MODEL@
|
72 |
|
|
|
73 |
|
|
CC = @CC@ $(GCCSPECS)
|
74 |
|
|
CPP = @CPP@ $(GCCSPECS)
|
75 |
|
|
DEPDIR = @DEPDIR@
|
76 |
|
|
ENDIF = @ENDIF@
|
77 |
|
|
GCCSED = @GCCSED@
|
78 |
|
|
GCC_SPECS = @GCC_SPECS@
|
79 |
|
|
HAS_ITRON_API = @HAS_ITRON_API@
|
80 |
|
|
HAS_NETWORKING = @HAS_NETWORKING@
|
81 |
|
|
HAS_POSIX_API = @HAS_POSIX_API@
|
82 |
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
83 |
|
|
MAINT = @MAINT@
|
84 |
|
|
MAKE = @MAKE@
|
85 |
|
|
MULTIBUILDTOP = @MULTIBUILDTOP@
|
86 |
|
|
MULTISUBDIR = @MULTISUBDIR@
|
87 |
|
|
PACKAGE = @PACKAGE@
|
88 |
|
|
PROJECT_INCLUDE = @PROJECT_INCLUDE@
|
89 |
|
|
PROJECT_ROOT = @PROJECT_ROOT@
|
90 |
|
|
PROJECT_TOPdir = @PROJECT_TOPdir@
|
91 |
|
|
RANLIB = @RANLIB@
|
92 |
|
|
RTEMS_BSP = @RTEMS_BSP@
|
93 |
|
|
RTEMS_CPU = @RTEMS_CPU@
|
94 |
|
|
RTEMS_HAS_ITRON_API = @RTEMS_HAS_ITRON_API@
|
95 |
|
|
RTEMS_HAS_NETWORKING = @RTEMS_HAS_NETWORKING@
|
96 |
|
|
RTEMS_HAS_POSIX_API = @RTEMS_HAS_POSIX_API@
|
97 |
|
|
RTEMS_HOST = @RTEMS_HOST@
|
98 |
|
|
RTEMS_ROOT = @RTEMS_ROOT@
|
99 |
|
|
RTEMS_TOPdir = @RTEMS_TOPdir@
|
100 |
|
|
RTEMS_USE_MACROS = @RTEMS_USE_MACROS@
|
101 |
|
|
RTEMS_USE_NEWLIB = @RTEMS_USE_NEWLIB@
|
102 |
|
|
RTEMS_VERSION = @RTEMS_VERSION@
|
103 |
|
|
STRIP = @STRIP@
|
104 |
|
|
VERSION = @VERSION@
|
105 |
|
|
am__include = @am__include@
|
106 |
|
|
am__quote = @am__quote@
|
107 |
|
|
install_sh = @install_sh@
|
108 |
|
|
multilib_basedir = @multilib_basedir@
|
109 |
|
|
project_libdir = @project_libdir@
|
110 |
|
|
|
111 |
|
|
LIB = $(project_libdir)$(MULTISUBDIR)/librtemscpu$(LIB_VARIANT).a
|
112 |
|
|
|
113 |
|
|
@MULTILIB_TRUE@MULTISRCTOP =
|
114 |
|
|
@MULTILIB_TRUE@MULTIDIRS =
|
115 |
|
|
@MULTILIB_TRUE@MULTIDO = true
|
116 |
|
|
@MULTILIB_TRUE@MULTICLEAN = true
|
117 |
|
|
|
118 |
|
|
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
|
119 |
|
|
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS)
|
120 |
|
|
|
121 |
|
|
DEFS = @DEFS@
|
122 |
|
|
|
123 |
|
|
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
|
124 |
|
|
$(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
|
125 |
|
|
|
126 |
|
|
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
|
127 |
|
|
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
|
128 |
|
|
|
129 |
|
|
# when debugging, optimize flag: typically empty
|
130 |
|
|
# some compilers do allow optimization with their "-g"
|
131 |
|
|
CFLAGS_DEBUG_OPTIMIZE_V = -g
|
132 |
|
|
|
133 |
|
|
# profile flag; use gprof(1)
|
134 |
|
|
CFLAGS_PROFILE_V = -pg
|
135 |
|
|
|
136 |
|
|
|
137 |
|
|
#
|
138 |
|
|
# How to compile stuff into ${ARCH} subdirectory
|
139 |
|
|
#
|
140 |
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
141 |
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
142 |
|
|
|
143 |
|
|
CCLD = $(CC)
|
144 |
|
|
|
145 |
|
|
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
146 |
|
|
|
147 |
|
|
|
148 |
|
|
# Dependency files for use by gmake
|
149 |
|
|
# NOTE: we don't put them into $(ARCH)
|
150 |
|
|
# so that 'make clean' doesn't blow it away
|
151 |
|
|
DEPEND = Depends-${ARCH}
|
152 |
|
|
|
153 |
|
|
CLEAN_DEPEND = $(DEPEND).tmp
|
154 |
|
|
CLOBBER_DEPEND = $(DEPEND)
|
155 |
|
|
|
156 |
|
|
VARIANT = OPTIMIZE
|
157 |
|
|
|
158 |
|
|
VARIANT_OPTIMIZE_V = OPTIMIZE
|
159 |
|
|
VARIANT_DEBUG_V = DEBUG
|
160 |
|
|
VARIANT_PROFILE_V = PROFILE
|
161 |
|
|
VARIANT_optimize_V = OPTIMIZE
|
162 |
|
|
VARIANT_debug_V = DEBUG
|
163 |
|
|
VARIANT_profile_V = PROFILE
|
164 |
|
|
|
165 |
|
|
VARIANT_V = $(VARIANT_$(VARIANT)_V)
|
166 |
|
|
|
167 |
|
|
ARCH_OPTIMIZE_V = o-optimize
|
168 |
|
|
ARCH_DEBUG_V = o-debug
|
169 |
|
|
ARCH_PROFILE_V = o-profile
|
170 |
|
|
|
171 |
|
|
ARCH__V = $(ARCH_OPTIMIZE_V)
|
172 |
|
|
ARCH = $(ARCH_$(VARIANT_V)_V)
|
173 |
|
|
|
174 |
|
|
LIBSUFFIX_OPTIMIZE_V =
|
175 |
|
|
LIBSUFFIX_DEBUG_V = _g
|
176 |
|
|
LIBSUFFIX_PROFILE_V = _p
|
177 |
|
|
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
|
178 |
|
|
|
179 |
|
|
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
|
180 |
|
|
LIBSUFFIX_VA = $(LIB_VARIANT).a
|
181 |
|
|
|
182 |
|
|
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
|
183 |
|
|
|
184 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
|
185 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -Wno-unused
|
186 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
|
187 |
|
|
|
188 |
|
|
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
|
189 |
|
|
|
190 |
|
|
AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
|
191 |
|
|
|
192 |
|
|
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
|
193 |
|
|
|
194 |
|
|
# AM_CFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CFLAGS)
|
195 |
|
|
AM_CCASFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CPPFLAGS) $(RTEMS_ASFLAGS)
|
196 |
|
|
|
197 |
|
|
AR = @AR@
|
198 |
|
|
|
199 |
|
|
ARFLAGS = ruv
|
200 |
|
|
|
201 |
|
|
TMPINSTALL_FILES = $(project_libdir)$(MULTISUBDIR) $(project_libdir)$(MULTISUBDIR)/librtemscpu$(LIB_VARIANT).a
|
202 |
|
|
|
203 |
|
|
@LIBSCORECPU_TRUE@CPU_OBJS = ../score/cpu/$(RTEMS_CPU)/$(ARCH)/libscorecpu.a
|
204 |
|
|
CORE_OBJS = ../score/src/$(ARCH)/libscore.a
|
205 |
|
|
SAPI_OBJS = ../sapi/src/$(ARCH)/libsapi.a
|
206 |
|
|
RTEMS_OBJS = ../rtems/src/$(ARCH)/librtems.a
|
207 |
|
|
|
208 |
|
|
@HAS_POSIX_TRUE@POSIX_OBJS = ../posix/src/$(ARCH)/libposix.a
|
209 |
|
|
|
210 |
|
|
@HAS_ITRON_TRUE@ITRON_OBJS = ../itron/src/$(ARCH)/libitron.a
|
211 |
|
|
|
212 |
|
|
LIBCSUPPORT_OBJS = ../libcsupport/$(ARCH)/libcsupport.a
|
213 |
|
|
|
214 |
|
|
LIBBLOCK_OBJS = ../libblock/$(ARCH)/libblock.a
|
215 |
|
|
@UNIX_FALSE@LIBDOSFS_OBJS = ../libfs/src/dosfs/$(ARCH)/libdosfs.a
|
216 |
|
|
LIBIMFS_OBJS = ../libfs/src/imfs/$(ARCH)/libimfs.a
|
217 |
|
|
|
218 |
|
|
@HAS_NETWORKING_TRUE@NETWORKING_OBJS = \
|
219 |
|
|
@HAS_NETWORKING_TRUE@ ../libnetworking/wrapup/$(ARCH)/libnetworking.a
|
220 |
|
|
|
221 |
|
|
|
222 |
|
|
@LIBRPC_TRUE@LIBRPC_OBJS = \
|
223 |
|
|
@LIBRPC_TRUE@ ../librpc/src/rpc/$(ARCH)/librpc.a \
|
224 |
|
|
@LIBRPC_TRUE@ ../librpc/src/xdr/$(ARCH)/libxdr.a
|
225 |
|
|
|
226 |
|
|
|
227 |
|
|
OBJS = $(CPU_OBJS) $(CORE_OBJS) $(RTEMS_OBJS) $(SAPI_OBJS) \
|
228 |
|
|
$(POSIX_OBJS) $(ITRON_OBJS) $(LIBCSUPPORT_OBJS) \
|
229 |
|
|
$(LIBBLOCK_OBJS) $(LIBDOSFS_OBJS) $(LIBIMFS_OBJS) \
|
230 |
|
|
$(NETWORKING_OBJS) $(LIBRPC_OBJS)
|
231 |
|
|
|
232 |
|
|
|
233 |
|
|
cpulibdir = $(libdir)
|
234 |
|
|
cpulib_DATA = $(LIB)
|
235 |
|
|
|
236 |
|
|
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
|
237 |
|
|
subdir = wrapup
|
238 |
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
239 |
|
|
CONFIG_HEADER = $(top_builddir)/score/include/rtems/score/cpuopts-tmp.h
|
240 |
|
|
CONFIG_CLEAN_FILES =
|
241 |
|
|
DIST_SOURCES =
|
242 |
|
|
DATA = $(cpulib_DATA)
|
243 |
|
|
|
244 |
|
|
DIST_COMMON = Makefile.am Makefile.in
|
245 |
|
|
all: all-am
|
246 |
|
|
|
247 |
|
|
.SUFFIXES:
|
248 |
|
|
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/automake/multilib.am $(top_srcdir)/automake/compile.am $(top_srcdir)/automake/lib.am $(top_srcdir)/automake/local.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
|
249 |
|
|
cd $(top_srcdir) && \
|
250 |
|
|
$(AUTOMAKE) --foreign wrapup/Makefile
|
251 |
|
|
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
|
252 |
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
253 |
|
|
uninstall-info-am:
|
254 |
|
|
cpulibDATA_INSTALL = $(INSTALL_DATA)
|
255 |
|
|
install-cpulibDATA: $(cpulib_DATA)
|
256 |
|
|
@$(NORMAL_INSTALL)
|
257 |
|
|
$(mkinstalldirs) $(DESTDIR)$(cpulibdir)
|
258 |
|
|
@list='$(cpulib_DATA)'; for p in $$list; do \
|
259 |
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
260 |
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
261 |
|
|
echo " $(cpulibDATA_INSTALL) $$d$$p $(DESTDIR)$(cpulibdir)/$$f"; \
|
262 |
|
|
$(cpulibDATA_INSTALL) $$d$$p $(DESTDIR)$(cpulibdir)/$$f; \
|
263 |
|
|
done
|
264 |
|
|
|
265 |
|
|
uninstall-cpulibDATA:
|
266 |
|
|
@$(NORMAL_UNINSTALL)
|
267 |
|
|
@list='$(cpulib_DATA)'; for p in $$list; do \
|
268 |
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
269 |
|
|
echo " rm -f $(DESTDIR)$(cpulibdir)/$$f"; \
|
270 |
|
|
rm -f $(DESTDIR)$(cpulibdir)/$$f; \
|
271 |
|
|
done
|
272 |
|
|
tags: TAGS
|
273 |
|
|
TAGS:
|
274 |
|
|
|
275 |
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
276 |
|
|
|
277 |
|
|
top_distdir = ..
|
278 |
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
279 |
|
|
|
280 |
|
|
distdir: $(DISTFILES)
|
281 |
|
|
@list='$(DISTFILES)'; for file in $$list; do \
|
282 |
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
283 |
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
284 |
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
285 |
|
|
dir="/$$dir"; \
|
286 |
|
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
287 |
|
|
else \
|
288 |
|
|
dir=''; \
|
289 |
|
|
fi; \
|
290 |
|
|
if test -d $$d/$$file; then \
|
291 |
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
292 |
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
293 |
|
|
fi; \
|
294 |
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
295 |
|
|
else \
|
296 |
|
|
test -f $(distdir)/$$file \
|
297 |
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
298 |
|
|
|| exit 1; \
|
299 |
|
|
fi; \
|
300 |
|
|
done
|
301 |
|
|
check-am: all-am
|
302 |
|
|
check: check-am
|
303 |
|
|
all-am: Makefile $(DATA) all-local
|
304 |
|
|
|
305 |
|
|
installdirs:
|
306 |
|
|
$(mkinstalldirs) $(DESTDIR)$(cpulibdir)
|
307 |
|
|
|
308 |
|
|
install: install-am
|
309 |
|
|
install-exec: install-exec-am
|
310 |
|
|
install-data: install-data-am
|
311 |
|
|
uninstall: uninstall-am
|
312 |
|
|
|
313 |
|
|
install-am: all-am
|
314 |
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
315 |
|
|
|
316 |
|
|
installcheck: installcheck-am
|
317 |
|
|
install-strip:
|
318 |
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
319 |
|
|
INSTALL_STRIP_FLAG=-s \
|
320 |
|
|
`test -z '$(STRIP)' || \
|
321 |
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
322 |
|
|
mostlyclean-generic:
|
323 |
|
|
|
324 |
|
|
clean-generic:
|
325 |
|
|
|
326 |
|
|
distclean-generic:
|
327 |
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
328 |
|
|
|
329 |
|
|
maintainer-clean-generic:
|
330 |
|
|
@echo "This command is intended for maintainers to use"
|
331 |
|
|
@echo "it deletes files that may require special tools to rebuild."
|
332 |
|
|
clean: clean-am
|
333 |
|
|
|
334 |
|
|
clean-am: clean-generic clean-local mostlyclean-am
|
335 |
|
|
|
336 |
|
|
distclean: distclean-am
|
337 |
|
|
|
338 |
|
|
distclean-am: clean-am distclean-generic distclean-local
|
339 |
|
|
|
340 |
|
|
dvi: dvi-am
|
341 |
|
|
|
342 |
|
|
dvi-am:
|
343 |
|
|
|
344 |
|
|
info: info-am
|
345 |
|
|
|
346 |
|
|
info-am:
|
347 |
|
|
|
348 |
|
|
install-data-am: install-cpulibDATA
|
349 |
|
|
|
350 |
|
|
install-exec-am:
|
351 |
|
|
|
352 |
|
|
install-info: install-info-am
|
353 |
|
|
|
354 |
|
|
install-man:
|
355 |
|
|
|
356 |
|
|
installcheck-am:
|
357 |
|
|
|
358 |
|
|
maintainer-clean: maintainer-clean-am
|
359 |
|
|
|
360 |
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
361 |
|
|
|
362 |
|
|
mostlyclean: mostlyclean-am
|
363 |
|
|
|
364 |
|
|
mostlyclean-am: mostlyclean-generic
|
365 |
|
|
|
366 |
|
|
uninstall-am: uninstall-cpulibDATA uninstall-info-am
|
367 |
|
|
|
368 |
|
|
.PHONY: all all-am all-local check check-am clean clean-generic \
|
369 |
|
|
clean-local distclean distclean-generic distclean-local distdir \
|
370 |
|
|
dvi dvi-am info info-am install install-am install-cpulibDATA \
|
371 |
|
|
install-data install-data-am install-exec install-exec-am \
|
372 |
|
|
install-info install-info-am install-man install-strip \
|
373 |
|
|
installcheck installcheck-am installdirs maintainer-clean \
|
374 |
|
|
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
375 |
|
|
uninstall uninstall-am uninstall-cpulibDATA uninstall-info-am
|
376 |
|
|
|
377 |
|
|
|
378 |
|
|
# Multilib support rules
|
379 |
|
|
.PHONY: all-multi install-multi mostlyclean-multi clean-multi distclean-multi \
|
380 |
|
|
maintainer-clean-multi
|
381 |
|
|
|
382 |
|
|
@MULTILIB_TRUE@all-recursive: all-multi
|
383 |
|
|
@MULTILIB_TRUE@install-recursive: install-multi
|
384 |
|
|
|
385 |
|
|
@MULTILIB_TRUE@mostlyclean-recursive: mostlyclean-multi
|
386 |
|
|
@MULTILIB_TRUE@clean-recursive: clean-multi
|
387 |
|
|
@MULTILIB_TRUE@distclean-recursive: distclean-multi
|
388 |
|
|
@MULTILIB_TRUE@maintainer-clean-recursive: maintainer-clean-multi
|
389 |
|
|
|
390 |
|
|
@MULTILIB_TRUE@all-multi:
|
391 |
|
|
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
|
392 |
|
|
@MULTILIB_TRUE@install-multi:
|
393 |
|
|
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
|
394 |
|
|
|
395 |
|
|
@MULTILIB_TRUE@mostlyclean-multi:
|
396 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
|
397 |
|
|
@MULTILIB_TRUE@clean-multi:
|
398 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
|
399 |
|
|
@MULTILIB_TRUE@distclean-multi:
|
400 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
|
401 |
|
|
@MULTILIB_TRUE@maintainer-clean-multi:
|
402 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
|
403 |
|
|
@MULTILIB_FALSE@include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
404 |
|
|
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
|
405 |
|
|
|
406 |
|
|
${ARCH}/%.$(OBJEXT): %.c
|
407 |
|
|
${COMPILE} -o $@ -c $<
|
408 |
|
|
|
409 |
|
|
${ARCH}/%.$(OBJEXT): %.S
|
410 |
|
|
${CCASCOMPILE} -o $@ -c $<
|
411 |
|
|
|
412 |
|
|
# Make foo.rel from foo.$(OBJEXT)
|
413 |
|
|
${ARCH}/%.rel: ${ARCH}/%.$(OBJEXT)
|
414 |
|
|
${make-rel}
|
415 |
|
|
|
416 |
|
|
# We deliberately don't have anything depend on the
|
417 |
|
|
# $(DEPEND) file; otherwise it will get rebuilt even
|
418 |
|
|
# on 'make clean'
|
419 |
|
|
#
|
420 |
|
|
|
421 |
|
|
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
|
422 |
|
|
$(COMPILE) -M $^ | \
|
423 |
|
|
sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
|
424 |
|
|
-e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp
|
425 |
|
|
mv $(DEPEND).tmp $(DEPEND)
|
426 |
|
|
depend: depend-am
|
427 |
|
|
|
428 |
|
|
# pull in dependencies if they exist
|
429 |
|
|
ifeq (${DEPEND},$(wildcard ${DEPEND}))
|
430 |
|
|
include ${DEPEND}
|
431 |
|
|
@ENDIF@
|
432 |
|
|
|
433 |
|
|
define make-library
|
434 |
|
|
$(RM) $@
|
435 |
|
|
$(AR) $(ARFLAGS) $@ $^
|
436 |
|
|
$(RANLIB) $@
|
437 |
|
|
endef
|
438 |
|
|
|
439 |
|
|
$(project_libdir)$(MULTISUBDIR):
|
440 |
|
|
@$(mkinstalldirs) $@
|
441 |
|
|
|
442 |
|
|
.PRECIOUS: $(LIB)
|
443 |
|
|
|
444 |
|
|
$(LIB): ${OBJS}
|
445 |
|
|
rm -f $@
|
446 |
|
|
test -d $(ARCH) || mkdir $(ARCH)
|
447 |
|
|
rm -rf $(ARCH)/*
|
448 |
|
|
for f in $(OBJS); do \
|
449 |
|
|
case $$f in \
|
450 |
|
|
*.$(OBJEXT) | *.rel) \
|
451 |
|
|
if test -f $(ARCH)/`basename $$f`; then \
|
452 |
|
|
if cmp $$f $(ARCH)/`basename $$f`; then \
|
453 |
|
|
true; \
|
454 |
|
|
else \
|
455 |
|
|
echo 1>&2 "ERROR -- `basename $$f` in multiple files"; \
|
456 |
|
|
exit 1; \
|
457 |
|
|
fi; \
|
458 |
|
|
else \
|
459 |
|
|
cp $$f $(ARCH)/; \
|
460 |
|
|
chmod a-w $(ARCH)/`basename $$f`; \
|
461 |
|
|
fi; \
|
462 |
|
|
;; \
|
463 |
|
|
*.a) \
|
464 |
|
|
cd $(ARCH); \
|
465 |
|
|
$(AR) xv ../$$f || exit 1; \
|
466 |
|
|
chmod a-w * ; \
|
467 |
|
|
cd ..; \
|
468 |
|
|
;; \
|
469 |
|
|
esac; \
|
470 |
|
|
done
|
471 |
|
|
test -d $(project_libdir)$(MULTISUBDIR) || $(mkinstalldirs) $(project_libdir)$(MULTISUBDIR)
|
472 |
|
|
$(AR) rc $@ $(ARCH)/*
|
473 |
|
|
rm -f $(ARCH)/*.$(OBJEXT)
|
474 |
|
|
$(RANLIB) $@
|
475 |
|
|
|
476 |
|
|
all-local: ${ARCH} $(TMPINSTALL_FILES)
|
477 |
|
|
|
478 |
|
|
debug:
|
479 |
|
|
@echo
|
480 |
|
|
@echo "\"make debug\" is obsolete, instead use:"
|
481 |
|
|
@echo " make VARIANT=DEBUG"
|
482 |
|
|
@echo
|
483 |
|
|
|
484 |
|
|
.PHONY: debug
|
485 |
|
|
|
486 |
|
|
profile:
|
487 |
|
|
@echo
|
488 |
|
|
@echo "\"make profile\" is obsolete, instead use:"
|
489 |
|
|
@echo " make VARIANT=PROFILE"
|
490 |
|
|
@echo
|
491 |
|
|
|
492 |
|
|
.PHONY: profile
|
493 |
|
|
|
494 |
|
|
preinstall-am: $(PREINSTALL_FILES)
|
495 |
|
|
preinstall: preinstall-am
|
496 |
|
|
.PHONY: preinstall preinstall-am
|
497 |
|
|
|
498 |
|
|
depend-am:
|
499 |
|
|
depend: depend-am
|
500 |
|
|
.PHONY: depend depend-am
|
501 |
|
|
|
502 |
|
|
${ARCH}:
|
503 |
|
|
mkdir ${ARCH}
|
504 |
|
|
|
505 |
|
|
clean-local:
|
506 |
|
|
$(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
|
507 |
|
|
$(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
|
508 |
|
|
|
509 |
|
|
distclean-local:
|
510 |
|
|
$(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
|
511 |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
512 |
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
513 |
|
|
.NOEXPORT:
|