Ignore:
Timestamp:
May 14, 2008, 8:28:09 PM (12 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.9, master
Children:
21637fd
Parents:
da78fee
Message:

2008-05-14 Joel Sherrill <joel.sherrill@…>

  • Makefile.am: Rework to avoid .rel files.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/ep1a/Makefile.am

    rda78fee r1d0ee80e  
    2424dist_project_lib_DATA += startup/linkcmds
    2525
    26 noinst_PROGRAMS += startup.rel
    27 startup_rel_SOURCES = startup/bspstart.c ../../shared/bootcard.c \
     26startup_SOURCES = startup/bspstart.c ../../shared/bootcard.c \
    2827    ../../shared/bsppost.c ../../shared/bsppredriverhook.c \
    2928    ../../shared/bsplibc.c ../../powerpc/shared/startup/sbrk.c \
     
    3231    ../../powerpc/shared/startup/pgtbl_activate.c \
    3332    ../../powerpc/shared/showbats.c
    34 startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
    35 startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    3633
    37 ###
    38 noinst_PROGRAMS += pclock.rel
    39 pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c
    40 pclock_rel_CPPFLAGS = $(AM_CPPFLAGS)
    41 pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     34pclock_SOURCES = ../../powerpc/shared/clock/p_clock.c
    4235
    43 ###
    4436include_bsp_HEADERS = ../../powerpc/shared/console/uart.h \
    4537    ../../powerpc/shared/motorola/motorola.h \
     
    4739    ../../powerpc/shared/residual/pnp.h \
    4840    ../../powerpc/shared/console/consoleIo.h console/rsPMCQ1.h
    49 
    50 noinst_PROGRAMS += console.rel
    51 console_rel_SOURCES = console/console.c console/ns16550cfg.c \
     41console_SOURCES = console/console.c console/ns16550cfg.c \
    5242    console/mc68360_scc.c console/rsPMCQ1.c console/alloc360.c \
    5343    console/init68360.c
    54 console_rel_CPPFLAGS = $(AM_CPPFLAGS)
    55 console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    56 ###
     44
    5745include_bsp_HEADERS += ../../powerpc/shared/openpic/openpic.h
    58 
    59 noinst_PROGRAMS += openpic.rel
    60 openpic_rel_SOURCES = ../../powerpc/shared/openpic/openpic.h \
     46openpic_SOURCES = ../../powerpc/shared/openpic/openpic.h \
    6147    ../../powerpc/shared/openpic/openpic.c
    6248
    63 openpic_rel_CPPFLAGS = $(AM_CPPFLAGS)
    64 openpic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
     49include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
     50pci_SOURCES = pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \
     51    ../../powerpc/shared/pci/pcifinddevice.c
    6552
    66 ###
    67 include_bsp_HEADERS += ../../powerpc/shared/pci/pci.h
    68 
    69 noinst_PROGRAMS += pci.rel
    70 pci_rel_SOURCES = pci/no_host_bridge.c ../../powerpc/shared/pci/pci.c \
    71     ../../powerpc/shared/pci/pcifinddevice.c
    72 pci_rel_CPPFLAGS = $(AM_CPPFLAGS)
    73 pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    74 
    75 ###
    7653include_bsp_HEADERS += ../../powerpc/shared/irq/irq.h \
    7754        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/ppc_exc_bspsupp.h \
    7855        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/vectors.h \
    7956        ../../../libcpu/@RTEMS_CPU@/@exceptions@/bspsupport/irq_supp.h
     57irq_SOURCES = irq/irq_init.c ../shared/irq/openpic_i8259_irq.c ../../powerpc/shared/irq/i8259.c
    8058
    81 noinst_PROGRAMS += irq.rel
    82 irq_rel_SOURCES = irq/irq_init.c ../shared/irq/openpic_i8259_irq.c ../../powerpc/shared/irq/i8259.c
    83 irq_rel_CPPFLAGS = $(AM_CPPFLAGS)
    84 irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    85 
    86 ##
    8759include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h \
    8860    vme/VMEConfig.h \
     
    9365    ../../shared/vmeUniverse/VMEDMA.h
    9466
    95 noinst_PROGRAMS += vme.rel
    96 vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \
     67vme_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c \
    9768    ../../shared/vmeUniverse/bspVmeDmaList.c \
    9869    ../shared/vme/vmeconfig.c \
    9970    ../shared/vme/vme_universe.c \
    10071    ../../shared/vmeUniverse/vme_am_defs.h
    101 vme_rel_CPPFLAGS = $(AM_CPPFLAGS)
    102 vme_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    103 
    104 ##
    10572
    10673EXTRA_DIST = start/start.S
     
    11582
    11683noinst_LIBRARIES = libbsp.a
    117 libbsp_a_SOURCES =
    118 libbsp_a_LIBADD = pclock.rel console.rel irq.rel openpic.rel pci.rel \
    119     startup.rel vme.rel
     84libbsp_a_SOURCES = $(startup_SOURCES) $(pclock_SOURCES) $(console_SOURCES) \
     85    $(openpic_SOURCES) $(pci_SOURCES) $(irq_SOURCES) $(vme_SOURCES)
    12086
    121 libbsp_a_LIBADD += ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
     87libbsp_a_LIBADD = \
     88    ../../../libcpu/@RTEMS_CPU@/shared/cpuIdent.rel \
    12289    ../../../libcpu/@RTEMS_CPU@/shared/stack.rel \
    12390    ../../../libcpu/@RTEMS_CPU@/@exceptions@/rtems-cpu.rel \
Note: See TracChangeset for help on using the changeset viewer.