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

Subversion Repositories or1k

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

powered by: WebSVN 2.1.0

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