source: rtems/c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am @ 32a80b6

4.104.114.84.95
Last change on this file since 32a80b6 was 7a78028, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/17/02 at 15:10:36

2002-12-17 Ralf Corsepius <corsepiu@…>

  • bootloader/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • clock/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • console/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • irq/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • motorola/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • openpic/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • pci/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • residual/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • start/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • startup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • vectors/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • Property mode set to 100644
File size: 2.0 KB
Line 
1##
2## $Id$
3##
4
5## NOTE: This Makefile.am applies automake compilation rules and does not
6## apply RTEMS's compilation rules.
7
8AUTOMAKE_OPTIONS = no-exeext
9
10VPATH = @srcdir@:@srcdir@/../../shared/bootloader:@srcdir@/../../shared/console
11
12noinst_PROGRAMS = bootloader
13
14## IMPORTANT: head.S must be first, T. Straumann 12/17/2001
15bootloader_SOURCES = head.S exception.S em86real.S
16bootloader_SOURCES += misc.c pci.c zlib.c mm.c em86.c polled_io.c lib.c
17bootloader_SOURCES += bootldr.h zlib.h pci.h keyboard.h
18
19
20NM = @NM@
21LD = @LD@
22
23# ----
24DEFAULT_INCLUDES =
25
26AM_CPPFLAGS = -D__BOOT__ -DDEBUG
27AM_CFLAGS = \
28    $(GCC_SPECS) -specs bsp_specs -qrtems -mrelocatable \
29    -msoft-float -mstrict-align -fno-builtin -Wall -mmultiple \
30    -mstring -O2 -fomit-frame-pointer -ffixed-r13 -mno-sdata \
31    $(CPU_CFLAGS)
32AM_CCASFLAGS = $(AM_CPPFLAGS) \
33    $(GCC_SPECS) -specs bsp_specs -qrtems -mrelocatable \
34    -DASM $(CPU_CFLAGS)
35
36#
37# CAUTION :
38#
39# As we use very specific compilation options in this directory
40# we shall not use any other code. This includes the newlib libc.a
41# as well as other code located in .$(OBJEXT) files in mcp750 directory.
42#
43# NEVER remove lib.c. You have been warned...
44#
45bootloader$(EXEEXT): $(bootloader_OBJECTS)
46        $(LD) -r -o $@ $(bootloader_OBJECTS)
47        $(NM)  $@ | grep ' U '
48        @echo "Every symbol listed should be defined in @srcdir@/ppcboot.lds"
49bootloader.$(OBJEXT): bootloader$(EXEEXT)
50        cp $< $@
51
52ppcbootdir = $(bsplibdir)
53ppcboot_DATA = bootloader.$(OBJEXT)
54ppcboot_DATA += ../../shared/bootloader/ppcboot.lds
55
56# FIXME: Tmp-install stuff to make mcp750.cfg's make-exe happy.
57# As mcp750.cfg's make-exe doesn't work outside of the source-tree.
58# We might consider to use this directory directly for in-source-tree
59# building, instead.
60$(PROJECT_RELEASE)/lib/%: %
61        $(INSTALL_DATA) $< $@
62
63TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib/bootloader.$(OBJEXT) \
64    $(PROJECT_RELEASE)/lib/ppcboot.lds
65
66all-local: $(TMPINSTALL_FILES)
67
68include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.