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 = $(ARCH)/libsapi.a
|
112 |
|
|
|
113 |
|
|
EXTENSION_FILES = extension.c extensioncreate.c extensiondelete.c \
|
114 |
|
|
extensionident.c
|
115 |
|
|
|
116 |
|
|
C_FILES = debug.c $(EXTENSION_FILES) fatal.c exinit.c io.c \
|
117 |
|
|
itronapi.c posixapi.c rtemsapi.c
|
118 |
|
|
|
119 |
|
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
|
120 |
|
|
|
121 |
|
|
OBJS = $(C_O_FILES)
|
122 |
|
|
|
123 |
|
|
@MULTILIB_TRUE@MULTISRCTOP =
|
124 |
|
|
@MULTILIB_TRUE@MULTIDIRS =
|
125 |
|
|
@MULTILIB_TRUE@MULTIDO = true
|
126 |
|
|
@MULTILIB_TRUE@MULTICLEAN = true
|
127 |
|
|
|
128 |
|
|
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
|
129 |
|
|
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS)
|
130 |
|
|
|
131 |
|
|
DEFS = @DEFS@
|
132 |
|
|
|
133 |
|
|
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
|
134 |
|
|
$(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
|
135 |
|
|
|
136 |
|
|
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
|
137 |
|
|
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
|
138 |
|
|
|
139 |
|
|
# when debugging, optimize flag: typically empty
|
140 |
|
|
# some compilers do allow optimization with their "-g"
|
141 |
|
|
CFLAGS_DEBUG_OPTIMIZE_V = -g
|
142 |
|
|
|
143 |
|
|
# profile flag; use gprof(1)
|
144 |
|
|
CFLAGS_PROFILE_V = -pg
|
145 |
|
|
|
146 |
|
|
|
147 |
|
|
#
|
148 |
|
|
# How to compile stuff into ${ARCH} subdirectory
|
149 |
|
|
#
|
150 |
|
|
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
|
151 |
|
|
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
|
152 |
|
|
|
153 |
|
|
CCLD = $(CC)
|
154 |
|
|
|
155 |
|
|
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
|
156 |
|
|
|
157 |
|
|
|
158 |
|
|
# Dependency files for use by gmake
|
159 |
|
|
# NOTE: we don't put them into $(ARCH)
|
160 |
|
|
# so that 'make clean' doesn't blow it away
|
161 |
|
|
DEPEND = Depends-${ARCH}
|
162 |
|
|
|
163 |
|
|
CLEAN_DEPEND = $(DEPEND).tmp
|
164 |
|
|
CLOBBER_DEPEND = $(DEPEND)
|
165 |
|
|
|
166 |
|
|
VARIANT = OPTIMIZE
|
167 |
|
|
|
168 |
|
|
VARIANT_OPTIMIZE_V = OPTIMIZE
|
169 |
|
|
VARIANT_DEBUG_V = DEBUG
|
170 |
|
|
VARIANT_PROFILE_V = PROFILE
|
171 |
|
|
VARIANT_optimize_V = OPTIMIZE
|
172 |
|
|
VARIANT_debug_V = DEBUG
|
173 |
|
|
VARIANT_profile_V = PROFILE
|
174 |
|
|
|
175 |
|
|
VARIANT_V = $(VARIANT_$(VARIANT)_V)
|
176 |
|
|
|
177 |
|
|
ARCH_OPTIMIZE_V = o-optimize
|
178 |
|
|
ARCH_DEBUG_V = o-debug
|
179 |
|
|
ARCH_PROFILE_V = o-profile
|
180 |
|
|
|
181 |
|
|
ARCH__V = $(ARCH_OPTIMIZE_V)
|
182 |
|
|
ARCH = $(ARCH_$(VARIANT_V)_V)
|
183 |
|
|
|
184 |
|
|
LIBSUFFIX_OPTIMIZE_V =
|
185 |
|
|
LIBSUFFIX_DEBUG_V = _g
|
186 |
|
|
LIBSUFFIX_PROFILE_V = _p
|
187 |
|
|
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
|
188 |
|
|
|
189 |
|
|
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
|
190 |
|
|
LIBSUFFIX_VA = $(LIB_VARIANT).a
|
191 |
|
|
|
192 |
|
|
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
|
193 |
|
|
|
194 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
|
195 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -Wno-unused
|
196 |
|
|
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
|
197 |
|
|
|
198 |
|
|
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
|
199 |
|
|
|
200 |
|
|
|
201 |
|
|
#
|
202 |
|
|
# Add local stuff here using +=
|
203 |
|
|
#
|
204 |
|
|
AM_CPPFLAGS = $(RTEMS_CPPFLAGS) -D__RTEMS_INSIDE__
|
205 |
|
|
|
206 |
|
|
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
|
207 |
|
|
|
208 |
|
|
# AM_CFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CFLAGS)
|
209 |
|
|
AM_CCASFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CPPFLAGS) $(RTEMS_ASFLAGS)
|
210 |
|
|
|
211 |
|
|
AR = @AR@
|
212 |
|
|
|
213 |
|
|
ARFLAGS = ruv
|
214 |
|
|
|
215 |
|
|
TMPINSTALL_FILES = $(project_libdir)$(MULTISUBDIR)
|
216 |
|
|
|
217 |
|
|
EXTRA_DIST = $(C_FILES)
|
218 |
|
|
|
219 |
|
|
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
|
220 |
|
|
subdir = sapi/src
|
221 |
|
|
mkinstalldirs = $(SHELL) $(top_srcdir)/../mkinstalldirs
|
222 |
|
|
CONFIG_HEADER = $(top_builddir)/score/include/rtems/score/cpuopts-tmp.h
|
223 |
|
|
CONFIG_CLEAN_FILES =
|
224 |
|
|
DIST_SOURCES =
|
225 |
|
|
DIST_COMMON = Makefile.am Makefile.in
|
226 |
|
|
all: all-am
|
227 |
|
|
|
228 |
|
|
.SUFFIXES:
|
229 |
|
|
$(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)
|
230 |
|
|
cd $(top_srcdir) && \
|
231 |
|
|
$(AUTOMAKE) --foreign sapi/src/Makefile
|
232 |
|
|
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in $(top_builddir)/config.status
|
233 |
|
|
cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
|
234 |
|
|
uninstall-info-am:
|
235 |
|
|
tags: TAGS
|
236 |
|
|
TAGS:
|
237 |
|
|
|
238 |
|
|
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
|
239 |
|
|
|
240 |
|
|
top_distdir = ../..
|
241 |
|
|
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
|
242 |
|
|
|
243 |
|
|
distdir: $(DISTFILES)
|
244 |
|
|
@list='$(DISTFILES)'; for file in $$list; do \
|
245 |
|
|
if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
|
246 |
|
|
dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
|
247 |
|
|
if test "$$dir" != "$$file" && test "$$dir" != "."; then \
|
248 |
|
|
dir="/$$dir"; \
|
249 |
|
|
$(mkinstalldirs) "$(distdir)$$dir"; \
|
250 |
|
|
else \
|
251 |
|
|
dir=''; \
|
252 |
|
|
fi; \
|
253 |
|
|
if test -d $$d/$$file; then \
|
254 |
|
|
if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
|
255 |
|
|
cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
|
256 |
|
|
fi; \
|
257 |
|
|
cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
|
258 |
|
|
else \
|
259 |
|
|
test -f $(distdir)/$$file \
|
260 |
|
|
|| cp -p $$d/$$file $(distdir)/$$file \
|
261 |
|
|
|| exit 1; \
|
262 |
|
|
fi; \
|
263 |
|
|
done
|
264 |
|
|
check-am: all-am
|
265 |
|
|
check: check-am
|
266 |
|
|
all-am: Makefile all-local
|
267 |
|
|
|
268 |
|
|
installdirs:
|
269 |
|
|
|
270 |
|
|
install: install-am
|
271 |
|
|
install-exec: install-exec-am
|
272 |
|
|
install-data: install-data-am
|
273 |
|
|
uninstall: uninstall-am
|
274 |
|
|
|
275 |
|
|
install-am: all-am
|
276 |
|
|
@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
|
277 |
|
|
|
278 |
|
|
installcheck: installcheck-am
|
279 |
|
|
install-strip:
|
280 |
|
|
$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
|
281 |
|
|
INSTALL_STRIP_FLAG=-s \
|
282 |
|
|
`test -z '$(STRIP)' || \
|
283 |
|
|
echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
|
284 |
|
|
mostlyclean-generic:
|
285 |
|
|
|
286 |
|
|
clean-generic:
|
287 |
|
|
|
288 |
|
|
distclean-generic:
|
289 |
|
|
-rm -f Makefile $(CONFIG_CLEAN_FILES)
|
290 |
|
|
|
291 |
|
|
maintainer-clean-generic:
|
292 |
|
|
@echo "This command is intended for maintainers to use"
|
293 |
|
|
@echo "it deletes files that may require special tools to rebuild."
|
294 |
|
|
clean: clean-am
|
295 |
|
|
|
296 |
|
|
clean-am: clean-generic clean-local mostlyclean-am
|
297 |
|
|
|
298 |
|
|
distclean: distclean-am
|
299 |
|
|
|
300 |
|
|
distclean-am: clean-am distclean-generic distclean-local
|
301 |
|
|
|
302 |
|
|
dvi: dvi-am
|
303 |
|
|
|
304 |
|
|
dvi-am:
|
305 |
|
|
|
306 |
|
|
info: info-am
|
307 |
|
|
|
308 |
|
|
info-am:
|
309 |
|
|
|
310 |
|
|
install-data-am:
|
311 |
|
|
|
312 |
|
|
install-exec-am:
|
313 |
|
|
|
314 |
|
|
install-info: install-info-am
|
315 |
|
|
|
316 |
|
|
install-man:
|
317 |
|
|
|
318 |
|
|
installcheck-am:
|
319 |
|
|
|
320 |
|
|
maintainer-clean: maintainer-clean-am
|
321 |
|
|
|
322 |
|
|
maintainer-clean-am: distclean-am maintainer-clean-generic
|
323 |
|
|
|
324 |
|
|
mostlyclean: mostlyclean-am
|
325 |
|
|
|
326 |
|
|
mostlyclean-am: mostlyclean-generic
|
327 |
|
|
|
328 |
|
|
uninstall-am: uninstall-info-am
|
329 |
|
|
|
330 |
|
|
.PHONY: all all-am all-local check check-am clean clean-generic \
|
331 |
|
|
clean-local distclean distclean-generic distclean-local distdir \
|
332 |
|
|
dvi dvi-am info info-am install install-am install-data \
|
333 |
|
|
install-data-am install-exec install-exec-am install-info \
|
334 |
|
|
install-info-am install-man install-strip installcheck \
|
335 |
|
|
installcheck-am installdirs maintainer-clean \
|
336 |
|
|
maintainer-clean-generic mostlyclean mostlyclean-generic \
|
337 |
|
|
uninstall uninstall-am uninstall-info-am
|
338 |
|
|
|
339 |
|
|
|
340 |
|
|
# Multilib support rules
|
341 |
|
|
.PHONY: all-multi install-multi mostlyclean-multi clean-multi distclean-multi \
|
342 |
|
|
maintainer-clean-multi
|
343 |
|
|
|
344 |
|
|
@MULTILIB_TRUE@all-recursive: all-multi
|
345 |
|
|
@MULTILIB_TRUE@install-recursive: install-multi
|
346 |
|
|
|
347 |
|
|
@MULTILIB_TRUE@mostlyclean-recursive: mostlyclean-multi
|
348 |
|
|
@MULTILIB_TRUE@clean-recursive: clean-multi
|
349 |
|
|
@MULTILIB_TRUE@distclean-recursive: distclean-multi
|
350 |
|
|
@MULTILIB_TRUE@maintainer-clean-recursive: maintainer-clean-multi
|
351 |
|
|
|
352 |
|
|
@MULTILIB_TRUE@all-multi:
|
353 |
|
|
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
|
354 |
|
|
@MULTILIB_TRUE@install-multi:
|
355 |
|
|
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
|
356 |
|
|
|
357 |
|
|
@MULTILIB_TRUE@mostlyclean-multi:
|
358 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
|
359 |
|
|
@MULTILIB_TRUE@clean-multi:
|
360 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
|
361 |
|
|
@MULTILIB_TRUE@distclean-multi:
|
362 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
|
363 |
|
|
@MULTILIB_TRUE@maintainer-clean-multi:
|
364 |
|
|
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
|
365 |
|
|
@MULTILIB_FALSE@include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
366 |
|
|
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
|
367 |
|
|
|
368 |
|
|
${ARCH}/%.$(OBJEXT): %.c
|
369 |
|
|
${COMPILE} -o $@ -c $<
|
370 |
|
|
|
371 |
|
|
${ARCH}/%.$(OBJEXT): %.S
|
372 |
|
|
${CCASCOMPILE} -o $@ -c $<
|
373 |
|
|
|
374 |
|
|
# Make foo.rel from foo.$(OBJEXT)
|
375 |
|
|
${ARCH}/%.rel: ${ARCH}/%.$(OBJEXT)
|
376 |
|
|
${make-rel}
|
377 |
|
|
|
378 |
|
|
# We deliberately don't have anything depend on the
|
379 |
|
|
# $(DEPEND) file; otherwise it will get rebuilt even
|
380 |
|
|
# on 'make clean'
|
381 |
|
|
#
|
382 |
|
|
|
383 |
|
|
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
|
384 |
|
|
$(COMPILE) -M $^ | \
|
385 |
|
|
sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
|
386 |
|
|
-e 's?$(ARCH)/?$$(ARCH)/?' >$(DEPEND).tmp
|
387 |
|
|
mv $(DEPEND).tmp $(DEPEND)
|
388 |
|
|
depend: depend-am
|
389 |
|
|
|
390 |
|
|
# pull in dependencies if they exist
|
391 |
|
|
ifeq (${DEPEND},$(wildcard ${DEPEND}))
|
392 |
|
|
include ${DEPEND}
|
393 |
|
|
@ENDIF@
|
394 |
|
|
|
395 |
|
|
define make-library
|
396 |
|
|
$(RM) $@
|
397 |
|
|
$(AR) $(ARFLAGS) $@ $^
|
398 |
|
|
$(RANLIB) $@
|
399 |
|
|
endef
|
400 |
|
|
|
401 |
|
|
$(project_libdir)$(MULTISUBDIR):
|
402 |
|
|
@$(mkinstalldirs) $@
|
403 |
|
|
|
404 |
|
|
.PRECIOUS: $(LIB)
|
405 |
|
|
|
406 |
|
|
all-local: ${ARCH} $(LIB)
|
407 |
|
|
|
408 |
|
|
$(LIB): ${OBJS}
|
409 |
|
|
$(make-library)
|
410 |
|
|
|
411 |
|
|
debug:
|
412 |
|
|
@echo
|
413 |
|
|
@echo "\"make debug\" is obsolete, instead use:"
|
414 |
|
|
@echo " make VARIANT=DEBUG"
|
415 |
|
|
@echo
|
416 |
|
|
|
417 |
|
|
.PHONY: debug
|
418 |
|
|
|
419 |
|
|
profile:
|
420 |
|
|
@echo
|
421 |
|
|
@echo "\"make profile\" is obsolete, instead use:"
|
422 |
|
|
@echo " make VARIANT=PROFILE"
|
423 |
|
|
@echo
|
424 |
|
|
|
425 |
|
|
.PHONY: profile
|
426 |
|
|
|
427 |
|
|
preinstall-am: $(PREINSTALL_FILES)
|
428 |
|
|
preinstall: preinstall-am
|
429 |
|
|
.PHONY: preinstall preinstall-am
|
430 |
|
|
|
431 |
|
|
depend-am:
|
432 |
|
|
depend: depend-am
|
433 |
|
|
.PHONY: depend depend-am
|
434 |
|
|
|
435 |
|
|
${ARCH}:
|
436 |
|
|
mkdir ${ARCH}
|
437 |
|
|
|
438 |
|
|
clean-local:
|
439 |
|
|
$(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
|
440 |
|
|
$(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
|
441 |
|
|
|
442 |
|
|
distclean-local:
|
443 |
|
|
$(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
|
444 |
|
|
# Tell versions [3.59,3.63) of GNU make to not export all variables.
|
445 |
|
|
# Otherwise a system limit (for SysV at least) may be exceeded.
|
446 |
|
|
.NOEXPORT:
|