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 |
|
|
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
|
80 |
|
|
MAINT = @MAINT@
|
81 |
|
|
MAKE = @MAKE@
|
82 |
|
|
MULTIBUILDTOP = @MULTIBUILDTOP@
|
83 |
|
|
MULTISUBDIR = @MULTISUBDIR@
|
84 |
|
|
PACKAGE = @PACKAGE@
|
85 |
|
|
PROJECT_INCLUDE = @PROJECT_INCLUDE@
|
86 |
|
|
PROJECT_ROOT = @PROJECT_ROOT@
|
87 |
|
|
PROJECT_TOPdir = @PROJECT_TOPdir@
|
88 |
|
|
RANLIB = @RANLIB@
|
89 |
|
|
RTEMS_BSP = @RTEMS_BSP@
|
90 |
|
|
RTEMS_CPU = @RTEMS_CPU@
|
91 |
|
|
RTEMS_HOST = @RTEMS_HOST@
|
92 |
|
|
RTEMS_ROOT = @RTEMS_ROOT@
|
93 |
|
|
RTEMS_TOPdir = @RTEMS_TOPdir@
|
94 |
|
|
STRIP = @STRIP@
|
95 |
|
|
VERSION = @VERSION@
|
96 |
|
|
am__include = @am__include@
|
97 |
|
|
am__quote = @am__quote@
|
98 |
|
|
install_sh = @install_sh@
|
99 |
|
|
multilib_basedir = @multilib_basedir@
|
100 |
|
|
project_libdir = @project_libdir@
|
101 |
|
|
|
102 |
|
|
LIB = ${ARCH}/libimfs.a
|
103 |
|
|
|
104 |
|
|
IMFS_C_FILES = imfs_chown.c imfs_config.c imfs_creat.c imfs_directory.c \
|
105 |
|
|
imfs_eval.c imfs_free.c imfs_fsunmount.c imfs_gtkn.c imfs_init.c \
|
106 |
|
|
imfs_initsupp.c imfs_link.c imfs_mknod.c imfs_mount.c imfs_fchmod.c \
|
107 |
|
|
imfs_unlink.c imfs_unmount.c imfs_utime.c imfs_ntype.c imfs_stat.c \
|
108 |
|
|
imfs_getchild.c memfile.c linearfile.c deviceio.c imfs_handlers_device.c \
|
109 |
|
|
imfs_handlers_directory.c imfs_handlers_link.c imfs_handlers_memfile.c \
|
110 |
|
|
imfs_debug.c imfs_rmnod.c imfs_symlink.c imfs_readlink.c imfs_fdatasync.c \
|
111 |
|
|
imfs_fcntl.c ioman.c miniimfs_init.c imfs_load_tar.c
|
112 |
|
|
|
113 |
|
|
|
114 |
|
|
UNIX_C_FILES = imfs_unixstub.c
|
115 |
|
|
|
116 |
|
|
EMBEDDED_C_FILES = $(IMFS_C_FILES)
|
117 |
|
|
|
118 |
|
|
COMMON_C_FILES =
|
119 |
|
|
|
120 |
|
|
@UNIX_TRUE@C_FILES = $(COMMON_C_FILES) $(UNIX_C_FILES)
|
121 |
|
|
@UNIX_FALSE@C_FILES = $(COMMON_C_FILES) $(EMBEDDED_C_FILES)
|
122 |
|
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
123 |
|
|
|
124 |
|
|
include_HEADERS = imfs.h
|
125 |
|
|
|
126 |
|
|
@MULTILIB_TRUE@MULTISRCTOP =
|
127 |
|
|
@MULTILIB_TRUE@MULTIDIRS =
|
128 |
|
|
@MULTILIB_TRUE@MULTIDO = true
|
129 |
|
|
@MULTILIB_TRUE@MULTICLEAN = true
|
130 |
|
|
|
131 |
|
|
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
|
132 |
|
|
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS)
|
133 |
|
|
|
134 |
|
|
DEFS = @DEFS@
|
135 |
|
|
|
136 |
|
|
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
|
137 |
|
|
$(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
|
138 |
|
|
|
139 |
|
|
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
|
140 |
|
|
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
|
141 |
|
|
|
142 |
|
|
# when debugging, optimize flag: typically empty
|
143 |
|
|
# some compilers do allow optimization with their "-g"
|
144 |
|
|
CFLAGS_DEBUG_OPTIMIZE_V = -g
|
145 |
|
|
|
146 |
|
|
# profile flag; use gprof(1)
|
147 |
|
|
CFLAGS_PROFILE_V = -pg
|
148 |
|
|
|
149 |
|
|
|
150 |
|
|
#
|
151 |
|
|
# How to compile stuff into ${ARCH} subdirectory
|
152 |
|
|
#
|
153 |
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
154 |
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
155 |
|
|
|
156 |
|
|
CCLD = $(CC)
|
157 |
|
|
|
158 |
|
|
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
159 |
|
|
|
160 |
|
|
|
161 |
|
|
# Dependency files for use by gmake
|
162 |
|
|
# NOTE: we don't put them into $(ARCH)
|
163 |
|
|
# so that 'make clean' doesn't blow it away
|
164 |
|
|
DEPEND = Depends-${ARCH}
|
165 |
|
|
|
166 |
|
|
CLEAN_DEPEND = $(DEPEND).tmp
|
167 |
|
|
CLOBBER_DEPEND = $(DEPEND)
|
168 |
|
|
|
169 |
|
|
VARIANT = OPTIMIZE
|
170 |
|
|
|
171 |
|
|
VARIANT_OPTIMIZE_V = OPTIMIZE
|
172 |
|
|
VARIANT_DEBUG_V = DEBUG
|
173 |
|
|
VARIANT_PROFILE_V = PROFILE
|
174 |
|
|
VARIANT_optimize_V = OPTIMIZE
|
175 |
|
|
VARIANT_debug_V = DEBUG
|
176 |
|
|
VARIANT_profile_V = PROFILE
|
177 |
|
|
|
178 |
|
|
VARIANT_V = $(VARIANT_$(VARIANT)_V)
|
179 |
|
|
|
180 |
|
|
ARCH_OPTIMIZE_V = o-optimize
|
181 |
|
|
ARCH_DEBUG_V = o-debug
|
182 |
|
|
ARCH_PROFILE_V = o-profile
|
183 |
|
|
|
184 |
|
|
ARCH__V = $(ARCH_OPTIMIZE_V)
|
185 |
|
|
ARCH = $(ARCH_$(VARIANT_V)_V)
|
186 |
|
|
|
187 |
|
|
LIBSUFFIX_OPTIMIZE_V =
|
188 |
|
|
LIBSUFFIX_DEBUG_V = _g
|
189 |
|
|
LIBSUFFIX_PROFILE_V = _p
|
190 |
|
|
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
|
191 |
|
|
|
192 |
|
|
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
|
193 |
|
|
LIBSUFFIX_VA = $(LIB_VARIANT).a
|
194 |
|
|
|
195 |
|
|
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
|
196 |
|
|
|
197 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
|
198 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -Wno-unused
|
199 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
|
200 |
|
|
|
201 |
|
|
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
|
202 |
|
|
|
203 |
|
|
AM_CPPFLAGS = $(RTEMS_CPPFLAGS) -I../.. $(LIBC_DEFINES)
|
204 |
|
|
|
205 |
|
|
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
|
206 |
|
|
|
207 |
|
|
# AM_CFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CFLAGS)
|
208 |
|
|
AM_CCASFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CPPFLAGS) $(RTEMS_ASFLAGS)
|
209 |
|
|
|
210 |
|
|
AR = @AR@
|
211 |
|
|
|
212 |
|
|
ARFLAGS = ruv
|
213 |
|
|
|
214 |
|
|
TMPINSTALL_FILES = $(project_libdir)$(MULTISUBDIR)
|
215 |
|
|
|
216 |
|
|
PREINSTALL_FILES = $(PROJECT_INCLUDE) \
|
217 |
|
|
$(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
|
218 |
|
|
|
219 |
|
|
|
220 |
|
|
OBJS = $(C_O_FILES)
|
221 |
|
|
|
222 |
|
|
DOC_FILES = TODO CASES
|
223 |
|
|
|
224 |
|
|
EXTRA_DIST = $(DOC_FILES) $(COMMON_C_FILES) $(EMBEDDED_C_FILES) \
|
225 |
|
|
$(UNIX_C_FILES)
|
226 |
|
|
|
227 |
|
|
|
228 |
|
|
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
|
229 |
|
|
subdir = src/imfs
|
230 |
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
|
231 |
|
|
CONFIG_HEADER = $(top_builddir)/config.h
|
232 |
|
|
CONFIG_CLEAN_FILES =
|
233 |
|
|
DIST_SOURCES =
|
234 |
|
|
HEADERS = $(include_HEADERS)
|
235 |
|
|
|
236 |
|
|
DIST_COMMON = $(include_HEADERS) Makefile.am Makefile.in
|
237 |
|
|
all: all-am
|
238 |
|
|
|
239 |
|
|
.SUFFIXES:
|
240 |
|
|
$(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)
|
241 |
|
|
cd $(top_srcdir) && \
|
242 |
|
|
$(AUTOMAKE) --foreign src/imfs/Makefile
|
243 |
|
|
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
|
244 |
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
245 |
|
|
uninstall-info-am:
|
246 |
|
|
includeHEADERS_INSTALL = $(INSTALL_HEADER)
|
247 |
|
|
install-includeHEADERS: $(include_HEADERS)
|
248 |
|
|
@$(NORMAL_INSTALL)
|
249 |
|
|
$(mkinstalldirs) $(DESTDIR)$(includedir)
|
250 |
|
|
@list='$(include_HEADERS)'; for p in $$list; do \
|
251 |
|
|
if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
|
252 |
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
253 |
|
|
echo " $(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f"; \
|
254 |
|
|
$(includeHEADERS_INSTALL) $$d$$p $(DESTDIR)$(includedir)/$$f; \
|
255 |
|
|
done
|
256 |
|
|
|
257 |
|
|
uninstall-includeHEADERS:
|
258 |
|
|
@$(NORMAL_UNINSTALL)
|
259 |
|
|
@list='$(include_HEADERS)'; for p in $$list; do \
|
260 |
|
|
f="`echo $$p | sed -e 's|^.*/||'`"; \
|
261 |
|
|
echo " rm -f $(DESTDIR)$(includedir)/$$f"; \
|
262 |
|
|
rm -f $(DESTDIR)$(includedir)/$$f; \
|
263 |
|
|
done
|
264 |
|
|
|
265 |
|
|
ETAGS = etags
|
266 |
|
|
ETAGSFLAGS =
|
267 |
|
|
|
268 |
|
|
tags: TAGS
|
269 |
|
|
|
270 |
|
|
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
|
271 |
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
272 |
|
|
unique=`for i in $$list; do \
|
273 |
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
274 |
|
|
done | \
|
275 |
|
|
$(AWK) ' { files[$$0] = 1; } \
|
276 |
|
|
END { for (i in files) print i; }'`; \
|
277 |
|
|
mkid -fID $$unique
|
278 |
|
|
|
279 |
|
|
TAGS: $(HEADERS) $(SOURCES) $(TAGS_DEPENDENCIES) \
|
280 |
|
|
$(TAGS_FILES) $(LISP)
|
281 |
|
|
tags=; \
|
282 |
|
|
here=`pwd`; \
|
283 |
|
|
list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
|
284 |
|
|
unique=`for i in $$list; do \
|
285 |
|
|
if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
|
286 |
|
|
done | \
|
287 |
|
|
$(AWK) ' { files[$$0] = 1; } \
|
288 |
|
|
END { for (i in files) print i; }'`; \
|
289 |
|
|
test -z "$(ETAGS_ARGS)$$tags$$unique" \
|
290 |
|
|
|| $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
|
291 |
|
|
$$tags $$unique
|
292 |
|
|
|
293 |
|
|
GTAGS:
|
294 |
|
|
here=`$(am__cd) $(top_builddir) && pwd` \
|
295 |
|
|
&& cd $(top_srcdir) \
|
296 |
|
|
&& gtags -i $(GTAGS_ARGS) $$here
|
297 |
|
|
|
298 |
|
|
distclean-tags:
|
299 |
|
|
-rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
|
300 |
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
301 |
|
|
|
302 |
|
|
top_distdir = ../..
|
303 |
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
304 |
|
|
|
305 |
|
|
distdir: $(DISTFILES)
|
306 |
|
|
@list='$(DISTFILES)'; for file in $$list; do \
|
307 |
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
308 |
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
309 |
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
310 |
|
|
dir="/$$dir"; \
|
311 |
|
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
312 |
|
|
else \
|
313 |
|
|
dir=''; \
|
314 |
|
|
fi; \
|
315 |
|
|
if test -d $$d/$$file; then \
|
316 |
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
317 |
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
318 |
|
|
fi; \
|
319 |
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
320 |
|
|
else \
|
321 |
|
|
test -f $(distdir)/$$file \
|
322 |
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
323 |
|
|
|| exit 1; \
|
324 |
|
|
fi; \
|
325 |
|
|
done
|
326 |
|
|
check-am: all-am
|
327 |
|
|
check: check-am
|
328 |
|
|
all-am: Makefile $(HEADERS) all-local
|
329 |
|
|
|
330 |
|
|
installdirs:
|
331 |
|
|
$(mkinstalldirs) $(DESTDIR)$(includedir)
|
332 |
|
|
|
333 |
|
|
install: install-am
|
334 |
|
|
install-exec: install-exec-am
|
335 |
|
|
install-data: install-data-am
|
336 |
|
|
uninstall: uninstall-am
|
337 |
|
|
|
338 |
|
|
install-am: all-am
|
339 |
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
340 |
|
|
|
341 |
|
|
installcheck: installcheck-am
|
342 |
|
|
install-strip:
|
343 |
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
344 |
|
|
INSTALL_STRIP_FLAG=-s \
|
345 |
|
|
`test -z '$(STRIP)' || \
|
346 |
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
347 |
|
|
mostlyclean-generic:
|
348 |
|
|
|
349 |
|
|
clean-generic:
|
350 |
|
|
|
351 |
|
|
distclean-generic:
|
352 |
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
353 |
|
|
|
354 |
|
|
maintainer-clean-generic:
|
355 |
|
|
@echo "This command is intended for maintainers to use"
|
356 |
|
|
@echo "it deletes files that may require special tools to rebuild."
|
357 |
|
|
clean: clean-am
|
358 |
|
|
|
359 |
|
|
clean-am: clean-generic clean-local mostlyclean-am
|
360 |
|
|
|
361 |
|
|
distclean: distclean-am
|
362 |
|
|
|
363 |
|
|
distclean-am: clean-am distclean-generic distclean-local distclean-tags
|
364 |
|
|
|
365 |
|
|
dvi: dvi-am
|
366 |
|
|
|
367 |
|
|
dvi-am:
|
368 |
|
|
|
369 |
|
|
info: info-am
|
370 |
|
|
|
371 |
|
|
info-am:
|
372 |
|
|
|
373 |
|
|
install-data-am: install-includeHEADERS
|
374 |
|
|
|
375 |
|
|
install-exec-am:
|
376 |
|
|
|
377 |
|
|
install-info: install-info-am
|
378 |
|
|
|
379 |
|
|
install-man:
|
380 |
|
|
|
381 |
|
|
installcheck-am:
|
382 |
|
|
|
383 |
|
|
maintainer-clean: maintainer-clean-am
|
384 |
|
|
|
385 |
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
386 |
|
|
|
387 |
|
|
mostlyclean: mostlyclean-am
|
388 |
|
|
|
389 |
|
|
mostlyclean-am: mostlyclean-generic
|
390 |
|
|
|
391 |
|
|
uninstall-am: uninstall-includeHEADERS uninstall-info-am
|
392 |
|
|
|
393 |
|
|
.PHONY: GTAGS all all-am all-local check check-am clean clean-generic \
|
394 |
|
|
clean-local distclean distclean-generic distclean-local \
|
395 |
|
|
distclean-tags distdir dvi dvi-am info info-am install \
|
396 |
|
|
install-am install-data install-data-am install-exec \
|
397 |
|
|
install-exec-am install-includeHEADERS install-info \
|
398 |
|
|
install-info-am install-man install-strip installcheck \
|
399 |
|
|
installcheck-am installdirs maintainer-clean \
|
400 |
|
|
maintainer-clean-generic mostlyclean mostlyclean-generic tags \
|
401 |
|
|
uninstall uninstall-am uninstall-includeHEADERS \
|
402 |
|
|
uninstall-info-am
|
403 |
|
|
|
404 |
|
|
|
405 |
|
|
# Multilib support rules
|
406 |
|
|
.PHONY: all-multi install-multi mostlyclean-multi clean-multi distclean-multi \
|
407 |
|
|
maintainer-clean-multi
|
408 |
|
|
|
409 |
|
|
@MULTILIB_TRUE@all-recursive: all-multi
|
410 |
|
|
@MULTILIB_TRUE@install-recursive: install-multi
|
411 |
|
|
|
412 |
|
|
@MULTILIB_TRUE@mostlyclean-recursive: mostlyclean-multi
|
413 |
|
|
@MULTILIB_TRUE@clean-recursive: clean-multi
|
414 |
|
|
@MULTILIB_TRUE@distclean-recursive: distclean-multi
|
415 |
|
|
@MULTILIB_TRUE@maintainer-clean-recursive: maintainer-clean-multi
|
416 |
|
|
|
417 |
|
|
@MULTILIB_TRUE@all-multi:
|
418 |
|
|
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
|
419 |
|
|
@MULTILIB_TRUE@install-multi:
|
420 |
|
|
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
|
421 |
|
|
|
422 |
|
|
@MULTILIB_TRUE@mostlyclean-multi:
|
423 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
|
424 |
|
|
@MULTILIB_TRUE@clean-multi:
|
425 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
|
426 |
|
|
@MULTILIB_TRUE@distclean-multi:
|
427 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
|
428 |
|
|
@MULTILIB_TRUE@maintainer-clean-multi:
|
429 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
|
430 |
|
|
@MULTILIB_FALSE@include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
431 |
|
|
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
|
432 |
|
|
|
433 |
|
|
${ARCH}/%.$(OBJEXT): %.c
|
434 |
|
|
${COMPILE} -o $@ -c $<
|
435 |
|
|
|
436 |
|
|
${ARCH}/%.$(OBJEXT): %.S
|
437 |
|
|
${CCASCOMPILE} -o $@ -c $<
|
438 |
|
|
|
439 |
|
|
# Make foo.rel from foo.$(OBJEXT)
|
440 |
|
|
${ARCH}/%.rel: ${ARCH}/%.$(OBJEXT)
|
441 |
|
|
${make-rel}
|
442 |
|
|
|
443 |
|
|
# We deliberately don't have anything depend on the
|
444 |
|
|
# $(DEPEND) file; otherwise it will get rebuilt even
|
445 |
|
|
# on 'make clean'
|
446 |
|
|
#
|
447 |
|
|
|
448 |
|
|
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
|
449 |
|
|
$(COMPILE) -M $^ | \
|
450 |
|
|
sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
|
451 |
|
|
-e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp
|
452 |
|
|
mv $(DEPEND).tmp $(DEPEND)
|
453 |
|
|
depend: depend-am
|
454 |
|
|
|
455 |
|
|
# pull in dependencies if they exist
|
456 |
|
|
ifeq (${DEPEND},$(wildcard ${DEPEND}))
|
457 |
|
|
include ${DEPEND}
|
458 |
|
|
@ENDIF@
|
459 |
|
|
|
460 |
|
|
define make-library
|
461 |
|
|
$(RM) $@
|
462 |
|
|
$(AR) $(ARFLAGS) $@ $^
|
463 |
|
|
$(RANLIB) $@
|
464 |
|
|
endef
|
465 |
|
|
|
466 |
|
|
$(project_libdir)$(MULTISUBDIR):
|
467 |
|
|
@$(mkinstalldirs) $@
|
468 |
|
|
|
469 |
|
|
.PRECIOUS: $(LIB)
|
470 |
|
|
|
471 |
|
|
$(PROJECT_INCLUDE):
|
472 |
|
|
@$(mkinstalldirs) $@
|
473 |
|
|
|
474 |
|
|
$(PROJECT_INCLUDE)/%.h: %.h
|
475 |
|
|
$(INSTALL_DATA) $< $@
|
476 |
|
|
|
477 |
|
|
#
|
478 |
|
|
# Add local stuff here using +=
|
479 |
|
|
#
|
480 |
|
|
|
481 |
|
|
all-local: ${ARCH} $(LIB)
|
482 |
|
|
|
483 |
|
|
$(LIB): ${OBJS}
|
484 |
|
|
$(make-library)
|
485 |
|
|
|
486 |
|
|
debug:
|
487 |
|
|
@echo
|
488 |
|
|
@echo "\"make debug\" is obsolete, instead use:"
|
489 |
|
|
@echo " make VARIANT=DEBUG"
|
490 |
|
|
@echo
|
491 |
|
|
|
492 |
|
|
.PHONY: debug
|
493 |
|
|
|
494 |
|
|
profile:
|
495 |
|
|
@echo
|
496 |
|
|
@echo "\"make profile\" is obsolete, instead use:"
|
497 |
|
|
@echo " make VARIANT=PROFILE"
|
498 |
|
|
@echo
|
499 |
|
|
|
500 |
|
|
.PHONY: profile
|
501 |
|
|
|
502 |
|
|
preinstall-am: $(PREINSTALL_FILES)
|
503 |
|
|
preinstall: preinstall-am
|
504 |
|
|
.PHONY: preinstall preinstall-am
|
505 |
|
|
|
506 |
|
|
depend-am:
|
507 |
|
|
depend: depend-am
|
508 |
|
|
.PHONY: depend depend-am
|
509 |
|
|
|
510 |
|
|
${ARCH}:
|
511 |
|
|
mkdir ${ARCH}
|
512 |
|
|
|
513 |
|
|
clean-local:
|
514 |
|
|
$(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
|
515 |
|
|
$(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
|
516 |
|
|
|
517 |
|
|
distclean-local:
|
518 |
|
|
$(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
|
519 |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
520 |
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
521 |
|
|
.NOEXPORT:
|