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

Subversion Repositories or1k

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

powered by: WebSVN 2.1.0

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