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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [sh/] [shsim/] [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
CPU_CLOCK_RATE_HZ = @CPU_CLOCK_RATE_HZ@
77
DEPDIR = @DEPDIR@
78
ENDIF = @ENDIF@
79
GCCSED = @GCCSED@
80
GCC_SPECS = @GCC_SPECS@
81
HAS_MP = @HAS_MP@
82
INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
83
MAINT = @MAINT@
84
MAKE = @MAKE@
85
PACKAGE = @PACKAGE@
86
PACKHEX = @PACKHEX@
87
PROJECT_INCLUDE = @PROJECT_INCLUDE@
88
PROJECT_RELEASE = @PROJECT_RELEASE@
89
PROJECT_ROOT = @PROJECT_ROOT@
90
PROJECT_TOPdir = @PROJECT_TOPdir@
91
RTEMS_BSP = @RTEMS_BSP@
92
RTEMS_BSP_FAMILY = @RTEMS_BSP_FAMILY@
93
RTEMS_BSP_SPECS = @RTEMS_BSP_SPECS@
94
RTEMS_CPU = @RTEMS_CPU@
95
RTEMS_CPU_MODEL = @RTEMS_CPU_MODEL@
96
RTEMS_HOST = @RTEMS_HOST@
97
RTEMS_ROOT = @RTEMS_ROOT@
98
RTEMS_TOPdir = @RTEMS_TOPdir@
99
STRIP = @STRIP@
100
VERSION = @VERSION@
101
am__include = @am__include@
102
am__quote = @am__quote@
103
bsplibdir = @bsplibdir@
104
install_sh = @install_sh@
105
 
106
PGM = $(ARCH)/startup.rel
107
 
108
C_FILES = bsplibc.c bsppost.c bspstart.c bspclean.c sbrk.c bootcard.c main.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
 
250
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
251
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/linkcmds
252
 
253
bsplib_DATA = linkcmds
254
 
255
EXTRA_DIST = bspstart.c linkcmds
256
 
257
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
258
subdir = startup
259
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs
260
CONFIG_HEADER = $(top_builddir)/include/bspopts.h
261
CONFIG_CLEAN_FILES =
262
DIST_SOURCES =
263
DATA = $(bsplib_DATA)
264
 
265
DIST_COMMON = Makefile.am Makefile.in
266
all: all-am
267
 
268
.SUFFIXES:
269
$(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)
270
        cd $(top_srcdir) && \
271
          $(AUTOMAKE) --foreign  startup/Makefile
272
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
273
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
274
uninstall-info-am:
275
bsplibDATA_INSTALL = $(INSTALL_DATA)
276
install-bsplibDATA: $(bsplib_DATA)
277
        @$(NORMAL_INSTALL)
278
        $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
279
        @list='$(bsplib_DATA)'; for p in $$list; do \
280
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
281
          f="`echo $$p | sed -e 's|^.*/||'`"; \
282
          echo " $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f"; \
283
          $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f; \
284
        done
285
 
286
uninstall-bsplibDATA:
287
        @$(NORMAL_UNINSTALL)
288
        @list='$(bsplib_DATA)'; for p in $$list; do \
289
          f="`echo $$p | sed -e 's|^.*/||'`"; \
290
          echo " rm -f $(DESTDIR)$(bsplibdir)/$$f"; \
291
          rm -f $(DESTDIR)$(bsplibdir)/$$f; \
292
        done
293
tags: TAGS
294
TAGS:
295
 
296
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
297
 
298
top_distdir = ..
299
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
300
 
301
distdir: $(DISTFILES)
302
        @list='$(DISTFILES)'; for file in $$list; do \
303
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
304
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
305
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
306
            dir="/$$dir"; \
307
            $(mkinstalldirs) "$(distdir)$$dir"; \
308
          else \
309
            dir=''; \
310
          fi; \
311
          if test -d $$d/$$file; then \
312
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
313
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
314
            fi; \
315
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
316
          else \
317
            test -f $(distdir)/$$file \
318
            || cp -p $$d/$$file $(distdir)/$$file \
319
            || exit 1; \
320
          fi; \
321
        done
322
check-am: all-am
323
check: check-am
324
all-am: Makefile $(DATA) all-local
325
 
326
installdirs:
327
        $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
328
 
329
install: install-am
330
install-exec: install-exec-am
331
install-data: install-data-am
332
uninstall: uninstall-am
333
 
334
install-am: all-am
335
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
336
 
337
installcheck: installcheck-am
338
install-strip:
339
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
340
          INSTALL_STRIP_FLAG=-s \
341
          `test -z '$(STRIP)' || \
342
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
343
mostlyclean-generic:
344
 
345
clean-generic:
346
 
347
distclean-generic:
348
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
349
 
350
maintainer-clean-generic:
351
        @echo "This command is intended for maintainers to use"
352
        @echo "it deletes files that may require special tools to rebuild."
353
clean: clean-am
354
 
355
clean-am: clean-generic clean-local mostlyclean-am
356
 
357
distclean: distclean-am
358
 
359
distclean-am: clean-am distclean-generic distclean-local
360
 
361
dvi: dvi-am
362
 
363
dvi-am:
364
 
365
info: info-am
366
 
367
info-am:
368
 
369
install-data-am: install-bsplibDATA
370
 
371
install-exec-am:
372
 
373
install-info: install-info-am
374
 
375
install-man:
376
 
377
installcheck-am:
378
 
379
maintainer-clean: maintainer-clean-am
380
 
381
maintainer-clean-am: distclean-am maintainer-clean-generic
382
 
383
mostlyclean: mostlyclean-am
384
 
385
mostlyclean-am: mostlyclean-generic
386
 
387
uninstall-am: uninstall-bsplibDATA uninstall-info-am
388
 
389
.PHONY: all all-am all-local check check-am clean clean-generic \
390
        clean-local distclean distclean-generic distclean-local distdir \
391
        dvi dvi-am info info-am install install-am install-bsplibDATA \
392
        install-data install-data-am install-exec install-exec-am \
393
        install-info install-info-am install-man install-strip \
394
        installcheck installcheck-am installdirs maintainer-clean \
395
        maintainer-clean-generic mostlyclean mostlyclean-generic \
396
        uninstall uninstall-am uninstall-bsplibDATA uninstall-info-am
397
 
398
 
399
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
400
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
401
 
402
${ARCH}/%.o: %.c
403
        test -d $(ARCH) || mkdir $(ARCH)
404
        ${COMPILE} -o $@ -c $<
405
 
406
${ARCH}/%.o: %.cc
407
        test -d $(ARCH) || mkdir $(ARCH)
408
        ${CXXCOMPILE} -o $@ -c $<
409
 
410
${ARCH}/%.o: %.cpp
411
        test -d $(ARCH) || mkdir $(ARCH)
412
        ${CXXCOMPILE} -o $@ -c $<
413
 
414
${ARCH}/%.o: %.cxx
415
        test -d $(ARCH) || mkdir $(ARCH)
416
        ${CXXCOMPILE} -o $@ -c $<
417
 
418
${ARCH}/%.o: %.C
419
        test -d $(ARCH) || mkdir $(ARCH)
420
        ${CXXCOMPILE} -o $@ -c $<
421
 
422
${ARCH}/%.o: %.S
423
        test -d $(ARCH) || mkdir $(ARCH)
424
        ${ASCOMPILE} -DASM -o $@ -c $<
425
 
426
# Make foo.rel from foo.o
427
${ARCH}/%.rel: ${ARCH}/%.o
428
        test -d $(ARCH) || mkdir $(ARCH)
429
        ${make-rel}
430
 
431
# We deliberately don't have anything depend on the
432
# $(DEPEND) file; otherwise it will get rebuilt even
433
# on 'make clean'
434
#
435
 
436
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
437
        $(COMPILE) -M   $^    |  \
438
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
439
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
440
        mv $(DEPEND).tmp $(DEPEND)
441
depend: depend-am
442
 
443
# pull in dependencies if they exist
444
ifeq (${DEPEND},$(wildcard ${DEPEND}))
445
include ${DEPEND}
446
@ENDIF@
447
 
448
@RTEMS_USE_GCC_TRUE@define make-rel
449
@RTEMS_USE_GCC_TRUE@    $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
450
@RTEMS_USE_GCC_TRUE@endef
451
@RTEMS_USE_GCC_FALSE@define make-rel
452
@RTEMS_USE_GCC_FALSE@   $(LINK) $(XLDFLAGS) $^
453
@RTEMS_USE_GCC_FALSE@endef
454
 
455
define make-library
456
test -d $(ARCH) || mkdir $(ARCH)
457
$(RM) $@
458
$(AR) $(ARFLAGS) $@ $^
459
$(RANLIB) $@
460
endef
461
 
462
$(PROJECT_RELEASE)/lib:
463
        @$(mkinstalldirs) $@
464
 
465
.PRECIOUS: $(LIB)
466
 
467
#
468
# (OPTIONAL) Add local stuff here using +=
469
#
470
 
471
$(PGM): $(OBJS)
472
        $(make-rel)
473
 
474
$(PROJECT_RELEASE)/lib/linkcmds: linkcmds
475
        $(INSTALL_DATA) $< $@
476
 
477
all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
478
 
479
.PRECIOUS: $(PGM)
480
 
481
debug:
482
        @echo
483
        @echo "\"make debug\" is obsolete, instead use:"
484
        @echo " make VARIANT=DEBUG"
485
        @echo
486
 
487
.PHONY: debug
488
 
489
profile:
490
        @echo
491
        @echo "\"make profile\" is obsolete, instead use:"
492
        @echo " make VARIANT=PROFILE"
493
        @echo
494
 
495
.PHONY: profile
496
 
497
preinstall-am: $(PREINSTALL_FILES)
498
preinstall: preinstall-am
499
.PHONY: preinstall preinstall-am
500
 
501
depend-am:
502
depend: depend-am
503
.PHONY: depend depend-am
504
 
505
${ARCH}:
506
        mkdir ${ARCH}
507
 
508
clean-local:
509
        $(RM) -r o-optimize o-debug o-profile $(CLEANDIRS)
510
        $(RM) Depends-o-optimize.tmp Depends-o-debug.tmp Depends-o-profile.tmp
511
 
512
distclean-local:
513
        $(RM) Depends-o-optimize Depends-o-debug Depends-o-profile
514
# Tell versions [3.59,3.63) of GNU make to not export all variables.
515
# Otherwise a system limit (for SysV at least) may be exceeded.
516
.NOEXPORT:

powered by: WebSVN 2.1.0

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