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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [c4x/] [c4xsim/] [startup/] [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
prefix = @prefix@
21
exec_prefix = @exec_prefix@
22
 
23
bindir = @bindir@
24
sbindir = @sbindir@
25
libexecdir = @libexecdir@
26
datadir = @datadir@
27
sysconfdir = @sysconfdir@
28
sharedstatedir = @sharedstatedir@
29
localstatedir = @localstatedir@
30
libdir = @libdir@
31
infodir = @infodir@
32
mandir = @mandir@
33
includedir = @includedir@
34
oldincludedir = /usr/include
35
pkgdatadir = $(datadir)/@PACKAGE@
36
pkglibdir = $(libdir)/@PACKAGE@
37
pkgincludedir = $(includedir)/@PACKAGE@
38
top_builddir = ..
39
 
40
ACLOCAL = @ACLOCAL@
41
AUTOCONF = @AUTOCONF@
42
AUTOMAKE = @AUTOMAKE@
43
AUTOHEADER = @AUTOHEADER@
44
 
45
am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
46
INSTALL = @INSTALL@
47
INSTALL_PROGRAM = @INSTALL_PROGRAM@
48
INSTALL_DATA = @INSTALL_DATA@
49
install_sh_DATA = $(install_sh) -c -m 644
50
install_sh_PROGRAM = $(install_sh) -c
51
install_sh_SCRIPT = $(install_sh) -c
52
INSTALL_SCRIPT = @INSTALL_SCRIPT@
53
INSTALL_HEADER = $(INSTALL_DATA)
54
transform = @program_transform_name@
55
NORMAL_INSTALL = :
56
PRE_INSTALL = :
57
POST_INSTALL = :
58
NORMAL_UNINSTALL = :
59
PRE_UNINSTALL = :
60
POST_UNINSTALL = :
61
host_alias = @host_alias@
62
host_triplet = @host@
63
 
64
EXEEXT = @EXEEXT@
65
OBJEXT = @OBJEXT@
66
PATH_SEPARATOR = @PATH_SEPARATOR@
67
 
68
VPATH = @srcdir@:@srcdir@/../../shared:@srcdir@/../../../shared
69
AMTAR = @AMTAR@
70
AWK = @AWK@
71
BARE_CPU_CFLAGS = @BARE_CPU_CFLAGS@
72
BARE_CPU_MODEL = @BARE_CPU_MODEL@
73
 
74
CC = @CC@ $(GCCSPECS)
75
CPP = @CPP@ $(GCCSPECS)
76
DEPDIR = @DEPDIR@
77
ENDIF = @ENDIF@
78
GCCSED = @GCCSED@
79
GCC_SPECS = @GCC_SPECS@
80
HAS_MP = @HAS_MP@
81
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
82
MAINT = @MAINT@
83
MAKE = @MAKE@
84
PACKAGE = @PACKAGE@
85
PACKHEX = @PACKHEX@
86
PROJECT_INCLUDE = @PROJECT_INCLUDE@
87
PROJECT_RELEASE = @PROJECT_RELEASE@
88
PROJECT_ROOT = @PROJECT_ROOT@
89
PROJECT_TOPdir = @PROJECT_TOPdir@
90
RTEMS_BSP = @RTEMS_BSP@
91
RTEMS_BSP_FAMILY = @RTEMS_BSP_FAMILY@
92
RTEMS_BSP_SPECS = @RTEMS_BSP_SPECS@
93
RTEMS_CPU = @RTEMS_CPU@
94
RTEMS_CPU_MODEL = @RTEMS_CPU_MODEL@
95
RTEMS_HOST = @RTEMS_HOST@
96
RTEMS_ROOT = @RTEMS_ROOT@
97
RTEMS_TOPdir = @RTEMS_TOPdir@
98
STRIP = @STRIP@
99
VERSION = @VERSION@
100
am__include = @am__include@
101
am__quote = @am__quote@
102
bsplibdir = @bsplibdir@
103
install_sh = @install_sh@
104
 
105
PGM = $(ARCH)/startup.rel
106
 
107
C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c main.c bootcard.c sbrk.c \
108
    setvec.c c3xspurious.c c4xspurious.c bspspuriousinit.c spurious.c \
109
    gnatinstallhandler.c
110
 
111
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
112
 
113
OBJS = $(C_O_FILES)
114
 
115
@RTEMS_USE_GCC_TRUE@CFLAGS_DEFAULT = -g -Wall
116
@RTEMS_USE_GCC_TRUE@GCCSPECS = $(GCC_SPECS) $(RTEMS_BSP_SPECS)
117
 
118
DEFS = @DEFS@
119
 
120
CPPFLAGS = @CPPFLAGS@ $(CPU_DEFINES) \
121
   $(DEFINES) $(XCPPFLAGS) $(CPPFLAGS_GCC)
122
 
123
CFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCFLAGS)
124
CXXFLAGS = $(CFLAGS_DEFAULT) $(CPU_CFLAGS) $(XCXXFLAGS)
125
ASFLAGS = $(CPU_ASFLAGS) $(CPU_CFLAGS) $(XASFLAGS)
126
 
127
LINK_LIBS = $(LD_LIBS)
128
 
129
# when debugging, optimize flag: typically empty
130
# some compilers do allow optimization with their "-g"
131
CFLAGS_DEBUG_OPTIMIZE_V = -g
132
CXXFLAGS_DEBUG_OPTIMIZE_V = -g
133
LDFLAGS_DEBUG_V =
134
 
135
# profile flag; use gprof(1)
136
CFLAGS_PROFILE_V = -pg
137
CXXFLAGS_PROFILE_V = -pg
138
LDFLAGS_PROFILE_V =
139
 
140
# List of library paths without -L
141
LD_PATHS = $(PROJECT_RELEASE)/lib
142
 
143
# ld flag for incomplete link
144
LDFLAGS_INCOMPLETE = -r
145
 
146
# ld flags for profiling, debugging
147
LDFLAGS = $(LDFLAGS_PROFILE) $(LDFLAGS_DEBUG) $(LD_PATHS:%=-L %)
148
 
149
 
150
#
151
# Client compiler and support tools
152
#
153
 
154
#
155
# How to compile stuff into ${ARCH} subdirectory
156
#
157
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
158
        $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
159
 
160
CCLD = $(CC)
161
LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
162
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
163
 
164
 
165
CXXCOMPILE = $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
166
        $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS)
167
 
168
CXXLD = $(CXX)
169
CXXLINK = $(CXXLD) $(AM_CXXFLAGS) $(CXXFLAGS) \
170
        $(AM_LDFLAGS) $(LDFLAGS) -o $@
171
 
172
 
173
AS = $(CC)
174
ASCOMPILE = $(AS) $(AM_ASFLAGS) $(ASFLAGS)
175
 
176
 
177
# Dependency files for use by gmake
178
# NOTE: we don't put them into $(ARCH)
179
#       so that 'make clean' doesn't blow it away
180
DEPEND = Depends-${ARCH}
181
 
182
CLEAN_DEPEND = $(DEPEND).tmp
183
CLOBBER_DEPEND = $(DEPEND)
184
 
185
 
186
# spell out all the LINK_FILE's, rather than using -lbsp, so
187
#  that $(LINK_FILES) can be a dependency
188
LINK_OBJS = \
189
    $(OBJS) \
190
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
191
 
192
 
193
LINK_FILES = \
194
    $(START_FILE) \
195
    $(OBJS) \
196
    $(MANAGERS_NOT_WANTED:%=$(PROJECT_RELEASE)/lib/no-%$(LIB_VARIANT).rel)
197
 
198
 
199
VARIANT = OPTIMIZE
200
 
201
VARIANT_OPTIMIZE_V = OPTIMIZE
202
VARIANT_DEBUG_V = DEBUG
203
VARIANT_PROFILE_V = PROFILE
204
VARIANT_optimize_V = OPTIMIZE
205
VARIANT_debug_V = DEBUG
206
VARIANT_profile_V = PROFILE
207
 
208
VARIANT_V = $(VARIANT_$(VARIANT)_V)
209
 
210
ARCH_OPTIMIZE_V = o-optimize
211
ARCH_DEBUG_V = o-debug
212
ARCH_PROFILE_V = o-profile
213
 
214
ARCH__V = $(ARCH_OPTIMIZE_V)
215
ARCH = $(ARCH_$(VARIANT_V)_V)
216
 
217
LIBSUFFIX_OPTIMIZE_V =
218
LIBSUFFIX_DEBUG_V = _g
219
LIBSUFFIX_PROFILE_V = _p
220
LIBSUFFIX__V = $(LIBSUFFIX_OPTIMIZE_V)
221
 
222
LIB_VARIANT = $(LIBSUFFIX_$(VARIANT_V)_V)
223
LIBSUFFIX_VA = $(LIB_VARIANT).a
224
 
225
CFLAGS__V = $(CFLAGS_OPTIMIZE_V)
226
 
227
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_OPTIMIZE_V =
228
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_DEBUG_V = -qrtems_debug -Wno-unused
229
@RTEMS_USE_GCC_TRUE@RTEMS_CFLAGS_PROFILE_V =
230
 
231
RTEMS_CFLAGS__V = $(RTEMS_CFLAGS_OPTIMIZE_V)
232
CXX = @CXX@ $(GCCSPECS)
233
 
234
LD = @LD@
235
OBJCOPY = @OBJCOPY@
236
NM = @NM@
237
SIZE = @SIZE@
238
 
239
AM_CPPFLAGS = $(RTEMS_CPPFLAGS)
240
 
241
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
242
AM_CXXFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
243
 
244
AR = @AR@
245
RANLIB = @RANLIB@
246
 
247
ARFLAGS = ruv
248
 
249
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/linkcmds
250
 
251
bsplib_DATA = linkcmds
252
 
253
EXTRA_DIST = bspclean.c bspstart.c linkcmds setvec.c spurious.c
254
 
255
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
256
subdir = startup
257
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs
258
CONFIG_HEADER = $(top_builddir)/include/bspopts.h
259
CONFIG_CLEAN_FILES =
260
DIST_SOURCES =
261
DATA = $(bsplib_DATA)
262
 
263
DIST_COMMON = Makefile.am Makefile.in
264
all: all-am
265
 
266
.SUFFIXES:
267
$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/../../../../../../automake/compile.am $(top_srcdir)/../../../../../../automake/lib.am $(top_srcdir)/../../../../../../automake/local.am $(top_srcdir)/configure.ac $(ACLOCAL_M4)
268
        cd $(top_srcdir) && \
269
          $(AUTOMAKE) --foreign  startup/Makefile
270
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
271
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
272
uninstall-info-am:
273
bsplibDATA_INSTALL = $(INSTALL_DATA)
274
install-bsplibDATA: $(bsplib_DATA)
275
        @$(NORMAL_INSTALL)
276
        $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
277
        @list='$(bsplib_DATA)'; for p in $$list; do \
278
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
279
          f="`echo $$p | sed -e 's|^.*/||'`"; \
280
          echo " $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f"; \
281
          $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f; \
282
        done
283
 
284
uninstall-bsplibDATA:
285
        @$(NORMAL_UNINSTALL)
286
        @list='$(bsplib_DATA)'; for p in $$list; do \
287
          f="`echo $$p | sed -e 's|^.*/||'`"; \
288
          echo " rm -f $(DESTDIR)$(bsplibdir)/$$f"; \
289
          rm -f $(DESTDIR)$(bsplibdir)/$$f; \
290
        done
291
tags: TAGS
292
TAGS:
293
 
294
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
295
 
296
top_distdir = ..
297
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
298
 
299
distdir: $(DISTFILES)
300
        @list='$(DISTFILES)'; for file in $$list; do \
301
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
302
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
303
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
304
            dir="/$$dir"; \
305
            $(mkinstalldirs) "$(distdir)$$dir"; \
306
          else \
307
            dir=''; \
308
          fi; \
309
          if test -d $$d/$$file; then \
310
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
311
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
312
            fi; \
313
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
314
          else \
315
            test -f $(distdir)/$$file \
316
            || cp -p $$d/$$file $(distdir)/$$file \
317
            || exit 1; \
318
          fi; \
319
        done
320
check-am: all-am
321
check: check-am
322
all-am: Makefile $(DATA) all-local
323
 
324
installdirs:
325
        $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
326
 
327
install: install-am
328
install-exec: install-exec-am
329
install-data: install-data-am
330
uninstall: uninstall-am
331
 
332
install-am: all-am
333
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
334
 
335
installcheck: installcheck-am
336
install-strip:
337
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
338
          INSTALL_STRIP_FLAG=-s \
339
          `test -z '$(STRIP)' || \
340
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
341
mostlyclean-generic:
342
 
343
clean-generic:
344
 
345
distclean-generic:
346
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
347
 
348
maintainer-clean-generic:
349
        @echo "This command is intended for maintainers to use"
350
        @echo "it deletes files that may require special tools to rebuild."
351
clean: clean-am
352
 
353
clean-am: clean-generic clean-local mostlyclean-am
354
 
355
distclean: distclean-am
356
 
357
distclean-am: clean-am distclean-generic distclean-local
358
 
359
dvi: dvi-am
360
 
361
dvi-am:
362
 
363
info: info-am
364
 
365
info-am:
366
 
367
install-data-am: install-bsplibDATA
368
 
369
install-exec-am:
370
 
371
install-info: install-info-am
372
 
373
install-man:
374
 
375
installcheck-am:
376
 
377
maintainer-clean: maintainer-clean-am
378
 
379
maintainer-clean-am: distclean-am maintainer-clean-generic
380
 
381
mostlyclean: mostlyclean-am
382
 
383
mostlyclean-am: mostlyclean-generic
384
 
385
uninstall-am: uninstall-bsplibDATA uninstall-info-am
386
 
387
.PHONY: all all-am all-local check check-am clean clean-generic \
388
        clean-local distclean distclean-generic distclean-local distdir \
389
        dvi dvi-am info info-am install install-am install-bsplibDATA \
390
        install-data install-data-am install-exec install-exec-am \
391
        install-info install-info-am install-man install-strip \
392
        installcheck installcheck-am installdirs maintainer-clean \
393
        maintainer-clean-generic mostlyclean mostlyclean-generic \
394
        uninstall uninstall-am uninstall-bsplibDATA uninstall-info-am
395
 
396
 
397
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
398
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
399
 
400
${ARCH}/%.o: %.c
401
        test -d $(ARCH) || mkdir $(ARCH)
402
        ${COMPILE} -o $@ -c $<
403
 
404
${ARCH}/%.o: %.cc
405
        test -d $(ARCH) || mkdir $(ARCH)
406
        ${CXXCOMPILE} -o $@ -c $<
407
 
408
${ARCH}/%.o: %.cpp
409
        test -d $(ARCH) || mkdir $(ARCH)
410
        ${CXXCOMPILE} -o $@ -c $<
411
 
412
${ARCH}/%.o: %.cxx
413
        test -d $(ARCH) || mkdir $(ARCH)
414
        ${CXXCOMPILE} -o $@ -c $<
415
 
416
${ARCH}/%.o: %.C
417
        test -d $(ARCH) || mkdir $(ARCH)
418
        ${CXXCOMPILE} -o $@ -c $<
419
 
420
${ARCH}/%.o: %.S
421
        test -d $(ARCH) || mkdir $(ARCH)
422
        ${ASCOMPILE} -DASM -o $@ -c $<
423
 
424
# Make foo.rel from foo.o
425
${ARCH}/%.rel: ${ARCH}/%.o
426
        test -d $(ARCH) || mkdir $(ARCH)
427
        ${make-rel}
428
 
429
# We deliberately don't have anything depend on the
430
# $(DEPEND) file; otherwise it will get rebuilt even
431
# on 'make clean'
432
#
433
 
434
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
435
        $(COMPILE) -M   $^    |  \
436
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
437
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
438
        mv $(DEPEND).tmp $(DEPEND)
439
depend: depend-am
440
 
441
# pull in dependencies if they exist
442
ifeq (${DEPEND},$(wildcard ${DEPEND}))
443
include ${DEPEND}
444
@ENDIF@
445
 
446
@RTEMS_USE_GCC_TRUE@define make-rel
447
@RTEMS_USE_GCC_TRUE@    $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
448
@RTEMS_USE_GCC_TRUE@endef
449
@RTEMS_USE_GCC_FALSE@define make-rel
450
@RTEMS_USE_GCC_FALSE@   $(LINK) $(XLDFLAGS) $^
451
@RTEMS_USE_GCC_FALSE@endef
452
 
453
define make-library
454
test -d $(ARCH) || mkdir $(ARCH)
455
$(RM) $@
456
$(AR) $(ARFLAGS) $@ $^
457
$(RANLIB) $@
458
endef
459
 
460
$(PROJECT_RELEASE)/lib:
461
        @$(mkinstalldirs) $@
462
 
463
.PRECIOUS: $(LIB)
464
 
465
#
466
# (OPTIONAL) Add local stuff here using +=
467
#
468
 
469
# USE_INIT_FINI tells main.c what C++ help we need.
470
 
471
# AM_CPPFLAGS += -DUSE_INIT_FINI
472
 
473
$(PGM): $(OBJS)
474
        $(make-rel)
475
 
476
$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
477
        $(INSTALL_DATA) $< $@
478
 
479
all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
480
 
481
.PRECIOUS: $(PGM)
482
 
483
debug:
484
        @echo
485
        @echo "\"make debug\" is obsolete, instead use:"
486
        @echo " make VARIANT=DEBUG"
487
        @echo
488
 
489
.PHONY: debug
490
 
491
profile:
492
        @echo
493
        @echo "\"make profile\" is obsolete, instead use:"
494
        @echo " make VARIANT=PROFILE"
495
        @echo
496
 
497
.PHONY: profile
498
 
499
preinstall-am: $(PREINSTALL_FILES)
500
preinstall: preinstall-am
501
.PHONY: preinstall preinstall-am
502
 
503
depend-am:
504
depend: depend-am
505
.PHONY: depend depend-am
506
 
507
${ARCH}:
508
        mkdir ${ARCH}
509
 
510
clean-local:
511
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
512
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
513
 
514
distclean-local:
515
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
516
# Tell versions [3.59,3.63) of GNU make to not export all variables.
517
# Otherwise a system limit (for SysV at least) may be exceeded.
518
.NOEXPORT:

powered by: WebSVN 2.1.0

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