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

Subversion Repositories or1k

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

powered by: WebSVN 2.1.0

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