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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rtems-20020807/] [c/] [src/] [lib/] [libbsp/] [mips/] [genmongoosev/] [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:@srcdir@/../../shared/gdbstub:@srcdir@/../../../shared/gdbstub
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 bootcard.c main.c sbrk.c \
108
    gnatinstallhandler.c setvec.c mips-stub.c gdb-support.c rtems-stub-glue.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
 
239
#
240
# (OPTIONAL) Add local stuff here using +=
241
#
242
AM_CPPFLAGS = $(RTEMS_CPPFLAGS) -I @srcdir@/../../shared/gdbstub
243
 
244
AM_CFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
245
AM_CXXFLAGS = $(RTEMS_CFLAGS_$(VARIANT_V)_V) $(CFLAGS_$(VARIANT_V)_V)
246
 
247
AR = @AR@
248
RANLIB = @RANLIB@
249
 
250
ARFLAGS = ruv
251
 
252
 
253
# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
254
TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib $(PROJECT_RELEASE)/lib/linkcmds
255
 
256
bsplib_DATA = linkcmds
257
 
258
EXTRA_DIST = bspclean.c bspstart.c exit.c linkcmds setvec.c
259
 
260
PROJECT_TOOLS = $(PROJECT_RELEASE)/build-tools
261
subdir = startup
262
mkinstalldirs = $(SHELL) $(top_srcdir)/../../../../../../mkinstalldirs
263
CONFIG_HEADER = $(top_builddir)/include/bspopts.h
264
CONFIG_CLEAN_FILES =
265
DIST_SOURCES =
266
DATA = $(bsplib_DATA)
267
 
268
DIST_COMMON = Makefile.am Makefile.in
269
all: all-am
270
 
271
.SUFFIXES:
272
$(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)
273
        cd $(top_srcdir) && \
274
          $(AUTOMAKE) --foreign  startup/Makefile
275
Makefile: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.in  $(top_builddir)/config.status
276
        cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ $(am__depfiles_maybe)
277
uninstall-info-am:
278
bsplibDATA_INSTALL = $(INSTALL_DATA)
279
install-bsplibDATA: $(bsplib_DATA)
280
        @$(NORMAL_INSTALL)
281
        $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
282
        @list='$(bsplib_DATA)'; for p in $$list; do \
283
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
284
          f="`echo $$p | sed -e 's|^.*/||'`"; \
285
          echo " $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f"; \
286
          $(bsplibDATA_INSTALL) $$d$$p $(DESTDIR)$(bsplibdir)/$$f; \
287
        done
288
 
289
uninstall-bsplibDATA:
290
        @$(NORMAL_UNINSTALL)
291
        @list='$(bsplib_DATA)'; for p in $$list; do \
292
          f="`echo $$p | sed -e 's|^.*/||'`"; \
293
          echo " rm -f $(DESTDIR)$(bsplibdir)/$$f"; \
294
          rm -f $(DESTDIR)$(bsplibdir)/$$f; \
295
        done
296
tags: TAGS
297
TAGS:
298
 
299
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
300
 
301
top_distdir = ..
302
distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
303
 
304
distdir: $(DISTFILES)
305
        @list='$(DISTFILES)'; for file in $$list; do \
306
          if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
307
          dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
308
          if test "$$dir" != "$$file" && test "$$dir" != "."; then \
309
            dir="/$$dir"; \
310
            $(mkinstalldirs) "$(distdir)$$dir"; \
311
          else \
312
            dir=''; \
313
          fi; \
314
          if test -d $$d/$$file; then \
315
            if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
316
              cp -pR $(srcdir)/$$file $(distdir)$$dir || exit 1; \
317
            fi; \
318
            cp -pR $$d/$$file $(distdir)$$dir || exit 1; \
319
          else \
320
            test -f $(distdir)/$$file \
321
            || cp -p $$d/$$file $(distdir)/$$file \
322
            || exit 1; \
323
          fi; \
324
        done
325
check-am: all-am
326
check: check-am
327
all-am: Makefile $(DATA) all-local
328
 
329
installdirs:
330
        $(mkinstalldirs) $(DESTDIR)$(bsplibdir)
331
 
332
install: install-am
333
install-exec: install-exec-am
334
install-data: install-data-am
335
uninstall: uninstall-am
336
 
337
install-am: all-am
338
        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
339
 
340
installcheck: installcheck-am
341
install-strip:
342
        $(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
343
          INSTALL_STRIP_FLAG=-s \
344
          `test -z '$(STRIP)' || \
345
            echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
346
mostlyclean-generic:
347
 
348
clean-generic:
349
 
350
distclean-generic:
351
        -rm -f Makefile $(CONFIG_CLEAN_FILES)
352
 
353
maintainer-clean-generic:
354
        @echo "This command is intended for maintainers to use"
355
        @echo "it deletes files that may require special tools to rebuild."
356
clean: clean-am
357
 
358
clean-am: clean-generic clean-local mostlyclean-am
359
 
360
distclean: distclean-am
361
 
362
distclean-am: clean-am distclean-generic distclean-local
363
 
364
dvi: dvi-am
365
 
366
dvi-am:
367
 
368
info: info-am
369
 
370
info-am:
371
 
372
install-data-am: install-bsplibDATA
373
 
374
install-exec-am:
375
 
376
install-info: install-info-am
377
 
378
install-man:
379
 
380
installcheck-am:
381
 
382
maintainer-clean: maintainer-clean-am
383
 
384
maintainer-clean-am: distclean-am maintainer-clean-generic
385
 
386
mostlyclean: mostlyclean-am
387
 
388
mostlyclean-am: mostlyclean-generic
389
 
390
uninstall-am: uninstall-bsplibDATA uninstall-info-am
391
 
392
.PHONY: all all-am all-local check check-am clean clean-generic \
393
        clean-local distclean distclean-generic distclean-local distdir \
394
        dvi dvi-am info info-am install install-am install-bsplibDATA \
395
        install-data install-data-am install-exec install-exec-am \
396
        install-info install-info-am install-man install-strip \
397
        installcheck installcheck-am installdirs maintainer-clean \
398
        maintainer-clean-generic mostlyclean mostlyclean-generic \
399
        uninstall uninstall-am uninstall-bsplibDATA uninstall-info-am
400
 
401
 
402
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
403
@RTEMS_USE_GCC_FALSE@include $(CONFIG.CC)
404
 
405
${ARCH}/%.o: %.c
406
        test -d $(ARCH) || mkdir $(ARCH)
407
        ${COMPILE} -o $@ -c $<
408
 
409
${ARCH}/%.o: %.cc
410
        test -d $(ARCH) || mkdir $(ARCH)
411
        ${CXXCOMPILE} -o $@ -c $<
412
 
413
${ARCH}/%.o: %.cpp
414
        test -d $(ARCH) || mkdir $(ARCH)
415
        ${CXXCOMPILE} -o $@ -c $<
416
 
417
${ARCH}/%.o: %.cxx
418
        test -d $(ARCH) || mkdir $(ARCH)
419
        ${CXXCOMPILE} -o $@ -c $<
420
 
421
${ARCH}/%.o: %.C
422
        test -d $(ARCH) || mkdir $(ARCH)
423
        ${CXXCOMPILE} -o $@ -c $<
424
 
425
${ARCH}/%.o: %.S
426
        test -d $(ARCH) || mkdir $(ARCH)
427
        ${ASCOMPILE} -DASM -o $@ -c $<
428
 
429
# Make foo.rel from foo.o
430
${ARCH}/%.rel: ${ARCH}/%.o
431
        test -d $(ARCH) || mkdir $(ARCH)
432
        ${make-rel}
433
 
434
# We deliberately don't have anything depend on the
435
# $(DEPEND) file; otherwise it will get rebuilt even
436
# on 'make clean'
437
#
438
 
439
depend-am: $(C_FILES) $(CC_FILES) $(S_FILES)
440
        $(COMPILE) -M   $^    |  \
441
        sed -e 's?^\(.*\)\.o[ ]*:?$$(ARCH)/\1.o:?' \
442
            -e 's?$(ARCH)/?$$(ARCH)/?'   >$(DEPEND).tmp
443
        mv $(DEPEND).tmp $(DEPEND)
444
depend: depend-am
445
 
446
# pull in dependencies if they exist
447
ifeq (${DEPEND},$(wildcard ${DEPEND}))
448
include ${DEPEND}
449
@ENDIF@
450
 
451
@RTEMS_USE_GCC_TRUE@define make-rel
452
@RTEMS_USE_GCC_TRUE@    $(LINK) -qnolinkcmds -nostdlib -Wl,-r $(XLDFLAGS) $^
453
@RTEMS_USE_GCC_TRUE@endef
454
@RTEMS_USE_GCC_FALSE@define make-rel
455
@RTEMS_USE_GCC_FALSE@   $(LINK) $(XLDFLAGS) $^
456
@RTEMS_USE_GCC_FALSE@endef
457
 
458
define make-library
459
test -d $(ARCH) || mkdir $(ARCH)
460
$(RM) $@
461
$(AR) $(ARFLAGS) $@ $^
462
$(RANLIB) $@
463
endef
464
 
465
$(PROJECT_RELEASE)/lib:
466
        @$(mkinstalldirs) $@
467
 
468
.PRECIOUS: $(LIB)
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.