OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [cpukit/] [libblock/] [Makefile.in] - Blame information for rev 1026

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
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
ACLOCAL_AMFLAGS = -I ../aclocal
103
 
104
@MULTILIB_TRUE@MULTISRCTOP =
105
@MULTILIB_TRUE@MULTIDIRS =
106
@MULTILIB_TRUE@MULTIDO = true
107
@MULTILIB_TRUE@MULTICLEAN = true
108
 
109
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
110
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS)
111
 
112
DEFS = @DEFS@
113
 
114
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
115
   $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
116
 
117
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
118
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
119
 
120
# when debugging, optimize flag: typically empty
121
# some compilers do allow optimization with their "-g"
122
CFLAGS_DEBUG_OPTIMIZE_V = -g
123
 
124
# profile flag; use gprof(1)
125
CFLAGS_PROFILE_V = -pg
126
 
127
 
128
#
129
# How to compile stuff into ${ARCH} subdirectory
130
#
131
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
132
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
133
 
134
CCLD = $(CC)
135
 
136
CCASCOMPILE = $(CCAS) $(AM_CCASFLAGS) $(CCASFLAGS)
137
 
138
 
139
# Dependency files for use by gmake
140
# NOTE: we don't put them into $(ARCH)
141
#       so that 'make clean' doesn't blow it away
142
DEPEND = Depends-${ARCH}
143
 
144
CLEAN_DEPEND = $(DEPEND).tmp
145
CLOBBER_DEPEND = $(DEPEND)
146
 
147
VARIANT = OPTIMIZE
148
 
149
VARIANT_OPTIMIZE_V = OPTIMIZE
150
VARIANT_DEBUG_V = DEBUG
151
VARIANT_PROFILE_V = PROFILE
152
VARIANT_optimize_V = OPTIMIZE
153
VARIANT_debug_V = DEBUG
154
VARIANT_profile_V = PROFILE
155
 
156
VARIANT_V = $(VARIANT_$(VARIANT)_V)
157
 
158
ARCH_OPTIMIZE_V = o-optimize
159
ARCH_DEBUG_V = o-debug
160
ARCH_PROFILE_V = o-profile
161
 
162
ARCH__V = $(ARCH_OPTIMIZE_V)
163
ARCH = $(ARCH_$(VARIANT_V)_V)
164
 
165
LIBSUFFIX_OPTIMIZE_V =
166
LIBSUFFIX_DEBUG_V = _g
167
LIBSUFFIX_PROFILE_V = _p
168
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
169
 
170
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
171
LIBSUFFIX_VA = $(LIB_VARIANT).a
172
 
173
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
174
 
175
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
176
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -Wno-unused
177
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
178
 
179
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
180
 
181
AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
182
 
183
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V) $(LIBC_DEFINES)
184
 
185
# AM_CFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CFLAGS)
186
AM_CCASFLAGS = $(RTEMS_BSP_CFLAGS) $(RTEMS_CPPFLAGS) $(RTEMS_ASFLAGS)
187
 
188
AR = @AR@
189
 
190
ARFLAGS = ruv
191
 
192
TMPINSTALL_FILES = $(project_libdir)$(MULTISUBDIR)
193
 
194
include_rtemsdir = $(includedir)/rtems
195
 
196
include_rtems_HEADERS = \
197
    include/rtems/bdbuf.h include/rtems/blkdev.h \
198
    include/rtems/diskdevs.h include/rtems/ramdisk.h
199
 
200
 
201
PREINSTALL_FILES = $(PROJECT_INCLUDE)/rtems \
202
    $(include_rtems_HEADERS:include/%=$(PROJECT_INCLUDE)/%)
203
 
204
 
205
LIB = ${ARCH}/libblock.a
206
 
207
C_FILES = src/bdbuf.c src/blkdev.c src/diskdevs.c src/ramdisk.c
208
 
209
C_O_FILES = $(C_FILES:src/%.c=${ARCH}/%.$(OBJEXT))
210
 
211
SRCS = $(C_FILES)
212
OBJS = $(C_O_FILES)
213
 
214
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
215
subdir = .
216
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
217
mkinstalldirs = $(SHELL) $(top_srcdir)/../../mkinstalldirs
218
CONFIG_CLEAN_FILES =
219
DIST_SOURCES =
220
HEADERS = $(include_rtems_HEADERS)
221
 
222
DIST_COMMON = README $(include_rtems_HEADERS) ../../COPYING \
223
        ../../ChangeLog ../../INSTALL ../../README ../../acinclude.m4 \
224
        ../../config.guess ../../config.sub ../../configure \
225
        ../../configure.ac ../../depcomp ../../install-sh ../../missing \
226
        ../../mkinstalldirs ChangeLog Makefile.am Makefile.in \
227
        aclocal.m4 configure configure.ac
228
all: all-am
229
 
230
.SUFFIXES:
231
 
232
am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log
233
$(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)
234
        cd $(top_srcdir) && \
235
          $(AUTOMAKE) --foreign  Makefile
236
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
237
        cd $(top_builddir) && $(SHELL) ./config.status $@ $(am__depfiles_maybe)
238
 
239
$(top_builddir)/config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES)
240
        $(SHELL) ./config.status --recheck
241
$(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.ac $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
242
        cd $(srcdir) && $(AUTOCONF)
243
 
244
$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.ac ../aclocal/bsp-alias.m4 ../aclocal/canonical-host.m4 ../aclocal/canonical-target-name.m4 ../aclocal/canonicalize-tools.m4 ../aclocal/check-bsp-cache.m4 ../aclocal/check-bsps.m4 ../aclocal/check-cpu.m4 ../aclocal/check-itron.m4 ../aclocal/check-multiprocessing.m4 ../aclocal/check-networking.m4 ../aclocal/check-newlib.m4 ../aclocal/check-posix.m4 ../aclocal/check-tool.m4 ../aclocal/enable-bare.m4 ../aclocal/enable-inlines.m4 ../aclocal/enable-itron.m4 ../aclocal/enable-multiprocessing.m4 ../aclocal/enable-networking.m4 ../aclocal/enable-posix.m4 ../aclocal/enable-rtemsbsp.m4 ../aclocal/env-rtemsbsp.m4 ../aclocal/env-rtemscpu.m4 ../aclocal/gcc-pipe.m4 ../aclocal/gcc-specs.m4 ../aclocal/multi.m4 ../aclocal/multilib.m4 ../aclocal/prog-cc.m4 ../aclocal/prog-ccas.m4 ../aclocal/rtems-cpu-subdirs.m4 ../aclocal/rtems-debug.m4 ../aclocal/rtems-top.m4 ../aclocal/sysv-ipc.m4 ../aclocal/tool-paths.m4 ../aclocal/version.m4
245
        cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
246
uninstall-info-am:
247
include_rtemsHEADERS_INSTALL = $(INSTALL_HEADER)
248
install-include_rtemsHEADERS: $(include_rtems_HEADERS)
249
        @$(NORMAL_INSTALL)
250
        $(mkinstalldirs) $(DESTDIR)$(include_rtemsdir)
251
        @list='$(include_rtems_HEADERS)'; for p in $$list; do \
252
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
253
          f="`echo $$p | sed -e 's|^.*/||'`"; \
254
          echo " $(include_rtemsHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_rtemsdir)/$$f"; \
255
          $(include_rtemsHEADERS_INSTALL) $$d$$p $(DESTDIR)$(include_rtemsdir)/$$f; \
256
        done
257
 
258
uninstall-include_rtemsHEADERS:
259
        @$(NORMAL_UNINSTALL)
260
        @list='$(include_rtems_HEADERS)'; for p in $$list; do \
261
          f="`echo $$p | sed -e 's|^.*/||'`"; \
262
          echo " rm -f $(DESTDIR)$(include_rtemsdir)/$$f"; \
263
          rm -f $(DESTDIR)$(include_rtemsdir)/$$f; \
264
        done
265
 
266
ETAGS = etags
267
ETAGSFLAGS =
268
 
269
tags: TAGS
270
 
271
ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
272
        list='$(SOURCES) $(HEADERS) $(LISP) $(TAGS_FILES)'; \
273
        unique=`for i in $$list; do \
274
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
275
          done | \
276
          $(AWK) '    { files[$$0] = 1; } \
277
               END { for (i in files) print i; }'`; \
278
        mkid -fID $$unique
279
 
280
TAGS:  $(HEADERS) $(SOURCES)  $(TAGS_DEPENDENCIES) \
281
                $(TAGS_FILES) $(LISP)
282
        tags=; \
283
        here=`pwd`; \
284
        list='$(SOURCES) $(HEADERS)  $(LISP) $(TAGS_FILES)'; \
285
        unique=`for i in $$list; do \
286
            if test -f "$$i"; then echo $$i; else echo $(srcdir)/$$i; fi; \
287
          done | \
288
          $(AWK) '    { files[$$0] = 1; } \
289
               END { for (i in files) print i; }'`; \
290
        test -z "$(ETAGS_ARGS)$$tags$$unique" \
291
          || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \
292
             $$tags $$unique
293
 
294
GTAGS:
295
        here=`$(am__cd) $(top_builddir) && pwd` \
296
          && cd $(top_srcdir) \
297
          && gtags -i $(GTAGS_ARGS) $$here
298
 
299
distclean-tags:
300
        -rm -f TAGS ID GTAGS GRTAGS GSYMS GPATH
301
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
302
 
303
top_distdir = .
304
distdir = $(PACKAGE)-$(VERSION)
305
 
306
am__remove_distdir = \
307
  { test ! -d $(distdir) \
308
    || { find $(distdir) -type d ! -perm -200 -exec chmod u+w {} ';' \
309
         && rm -fr $(distdir); }; }
310
 
311
GZIP_ENV = --best
312
distcleancheck_listfiles = find . -type f -print
313
 
314
distdir: $(DISTFILES)
315
        $(am__remove_distdir)
316
        mkdir $(distdir)
317
        $(mkinstalldirs) $(distdir)/../.. $(distdir)/include/rtems
318
        @list='$(DISTFILES)'; for file in $$list; do \
319
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
320
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
321
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
322
            dir="/$$dir"; \
323
            $(mkinstalldirs) "$(distdir)$$dir"; \
324
          else \
325
            dir=''; \
326
          fi; \
327
          if test -d $$d/$$file; then \
328
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
329
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
330
            fi; \
331
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
332
          else \
333
            test -f $(distdir)/$$file \
334
            || cp -p $$d/$$file $(distdir)/$$file \
335
            || exit 1; \
336
          fi; \
337
        done
338
        -find $(distdir) -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
339
          ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
340
          ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
341
          ! -type d ! -perm -444 -exec $(SHELL) $(install_sh) -c -m a+r {} {} \; \
342
        || chmod -R a+r $(distdir)
343
dist-gzip: distdir
344
        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
345
        $(am__remove_distdir)
346
 
347
dist dist-all: distdir
348
        $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
349
        $(am__remove_distdir)
350
 
351
# This target untars the dist file and tries a VPATH configuration.  Then
352
# it guarantees that the distribution is self-contained by making another
353
# tarfile.
354
distcheck: dist
355
        $(am__remove_distdir)
356
        GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(AMTAR) xf -
357
        chmod -R a-w $(distdir); chmod a+w $(distdir)
358
        mkdir $(distdir)/=build
359
        mkdir $(distdir)/=inst
360
        chmod a-w $(distdir)
361
        dc_install_base=`$(am__cd) $(distdir)/=inst && pwd` \
362
          && cd $(distdir)/=build \
363
          && ../configure --srcdir=.. --prefix=$$dc_install_base \
364
            $(DISTCHECK_CONFIGURE_FLAGS) \
365
          && $(MAKE) $(AM_MAKEFLAGS) \
366
          && $(MAKE) $(AM_MAKEFLAGS) dvi \
367
          && $(MAKE) $(AM_MAKEFLAGS) check \
368
          && $(MAKE) $(AM_MAKEFLAGS) install \
369
          && $(MAKE) $(AM_MAKEFLAGS) installcheck \
370
          && $(MAKE) $(AM_MAKEFLAGS) uninstall \
371
          && (test `find $$dc_install_base -type f -print | wc -l` -le 1 \
372
              || { echo "ERROR: files left after uninstall:" ; \
373
                   find $$dc_install_base -type f -print ; \
374
                   exit 1; } >&2 ) \
375
          && $(MAKE) $(AM_MAKEFLAGS) dist-gzip \
376
          && rm -f $(distdir).tar.gz \
377
          && $(MAKE) $(AM_MAKEFLAGS) distcleancheck
378
        $(am__remove_distdir)
379
        @echo "$(distdir).tar.gz is ready for distribution" | \
380
          sed 'h;s/./=/g;p;x;p;x'
381
distcleancheck: distclean
382
        if test '$(srcdir)' = . ; then \
383
          echo "ERROR: distcleancheck can only run from a VPATH build" ; \
384
          exit 1 ; \
385
        fi
386
        test `$(distcleancheck_listfiles) | wc -l` -eq 0 \
387
          || { echo "ERROR: files left after distclean:" ; \
388
               $(distcleancheck_listfiles) ; \
389
               exit 1; } >&2
390
check-am: all-am
391
check: check-am
392
all-am: Makefile $(HEADERS) all-local
393
 
394
installdirs:
395
        $(mkinstalldirs) $(DESTDIR)$(include_rtemsdir)
396
 
397
install: install-am
398
install-exec: install-exec-am
399
install-data: install-data-am
400
uninstall: uninstall-am
401
 
402
install-am: all-am
403
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
404
 
405
installcheck: installcheck-am
406
install-strip:
407
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
408
          INSTALL_STRIP_FLAG=-s \
409
          `test -z '$(STRIP)' || \
410
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
411
mostlyclean-generic:
412
 
413
clean-generic:
414
 
415
distclean-generic:
416
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
417
 
418
maintainer-clean-generic:
419
        @echo "This command is intended for maintainers to use"
420
        @echo "it deletes files that may require special tools to rebuild."
421
clean: clean-am
422
 
423
clean-am: clean-generic clean-local mostlyclean-am
424
 
425
distclean: distclean-am
426
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
427
distclean-am: clean-am distclean-generic distclean-local distclean-tags
428
 
429
dvi: dvi-am
430
 
431
dvi-am:
432
 
433
info: info-am
434
 
435
info-am:
436
 
437
install-data-am: install-include_rtemsHEADERS
438
 
439
install-exec-am:
440
 
441
install-info: install-info-am
442
 
443
install-man:
444
 
445
installcheck-am:
446
 
447
maintainer-clean: maintainer-clean-am
448
        -rm -f $(am__CONFIG_DISTCLEAN_FILES)
449
        -rm -rf autom4te.cache
450
maintainer-clean-am: distclean-am maintainer-clean-generic
451
 
452
mostlyclean: mostlyclean-am
453
 
454
mostlyclean-am: mostlyclean-generic
455
 
456
uninstall-am: uninstall-include_rtemsHEADERS uninstall-info-am
457
 
458
.PHONY: GTAGS all all-am all-local check check-am clean clean-generic \
459
        clean-local dist dist-all dist-gzip distcheck distclean \
460
        distclean-generic distclean-local distclean-tags distcleancheck \
461
        distdir dvi dvi-am info info-am install install-am install-data \
462
        install-data-am install-exec install-exec-am \
463
        install-include_rtemsHEADERS install-info install-info-am \
464
        install-man install-strip installcheck installcheck-am \
465
        installdirs maintainer-clean maintainer-clean-generic \
466
        mostlyclean mostlyclean-generic tags uninstall uninstall-am \
467
        uninstall-include_rtemsHEADERS uninstall-info-am
468
 
469
 
470
# Multilib support rules
471
.PHONY: all-multi install-multi mostlyclean-multi clean-multi distclean-multi \
472
        maintainer-clean-multi
473
 
474
@MULTILIB_TRUE@all-recursive: all-multi
475
@MULTILIB_TRUE@install-recursive: install-multi
476
 
477
@MULTILIB_TRUE@mostlyclean-recursive: mostlyclean-multi
478
@MULTILIB_TRUE@clean-recursive: clean-multi
479
@MULTILIB_TRUE@distclean-recursive: distclean-multi
480
@MULTILIB_TRUE@maintainer-clean-recursive: maintainer-clean-multi
481
 
482
@MULTILIB_TRUE@all-multi:
483
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=all multi-do
484
@MULTILIB_TRUE@install-multi:
485
@MULTILIB_TRUE@ $(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
486
 
487
@MULTILIB_TRUE@mostlyclean-multi:
488
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=mostlyclean multi-clean
489
@MULTILIB_TRUE@clean-multi:
490
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=clean multi-clean
491
@MULTILIB_TRUE@distclean-multi:
492
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=distclean multi-clean
493
@MULTILIB_TRUE@maintainer-clean-multi:
494
@MULTILIB_TRUE@ $(MULTICLEAN) $(AM_MAKEFLAGS) DO=maintainer-clean multi-clean
495
@MULTILIB_FALSE@include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
496
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
497
 
498
${ARCH}/%.$(OBJEXT): %.c
499
        ${COMPILE} -o $@ -c $<
500
 
501
${ARCH}/%.$(OBJEXT): %.S
502
        ${CCASCOMPILE} -o $@ -c $<
503
 
504
# Make foo.rel from foo.$(OBJEXT)
505
${ARCH}/%.rel: ${ARCH}/%.$(OBJEXT)
506
        ${make-rel}
507
 
508
# We deliberately don't have anything depend on the
509
# $(DEPEND) file; otherwise it will get rebuilt even
510
# on 'make clean'
511
#
512
 
513
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
514
        $(COMPILE) -M   $^    |  \
515
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
516
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
517
        mv $(DEPEND).tmp $(DEPEND)
518
depend: depend-am
519
 
520
# pull in dependencies if they exist
521
ifeq (${DEPEND},$(wildcard ${DEPEND}))
522
include ${DEPEND}
523
@ENDIF@
524
 
525
define make-library
526
$(RM) $@
527
$(AR) $(ARFLAGS) $@ $^
528
$(RANLIB) $@
529
endef
530
 
531
$(project_libdir)$(MULTISUBDIR):
532
        @$(mkinstalldirs) $@
533
 
534
.PRECIOUS: $(LIB)
535
 
536
$(PROJECT_INCLUDE)/%.h: include/%.h
537
        $(INSTALL_DATA) $< $@
538
 
539
$(PROJECT_INCLUDE)/rtems:
540
        @$(mkinstalldirs) $@
541
 
542
${ARCH}/%.$(OBJEXT): src/%.c
543
        ${COMPILE} -o $@ -c $<
544
 
545
$(LIB): ${OBJS}
546
        $(make-library)
547
 
548
all-local: $(PREINSTALL_FILES) ${ARCH} $(LIB)
549
 
550
debug:
551
        @echo
552
        @echo "\"make debug\" is obsolete, instead use:"
553
        @echo " make VARIANT=DEBUG"
554
        @echo
555
 
556
.PHONY: debug
557
 
558
profile:
559
        @echo
560
        @echo "\"make profile\" is obsolete, instead use:"
561
        @echo " make VARIANT=PROFILE"
562
        @echo
563
 
564
.PHONY: profile
565
 
566
preinstall-am: $(PREINSTALL_FILES)
567
preinstall: preinstall-am
568
.PHONY: preinstall preinstall-am
569
 
570
depend-am:
571
depend: depend-am
572
.PHONY: depend depend-am
573
 
574
${ARCH}:
575
        mkdir ${ARCH}
576
 
577
clean-local:
578
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
579
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
580
 
581
distclean-local:
582
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
583
# Tell versions [3.59,3.63) of GNU make to not export all variables.
584
# Otherwise a system limit (for SysV at least) may be exceeded.
585
.NOEXPORT:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.