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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [arm/] [vegaplus/] [startup/] [Makefile.in] - Blame information for rev 1765

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

powered by: WebSVN 2.1.0

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