Ignore:
Timestamp:
Jan 3, 2005, 4:16:13 AM (16 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
db3fa14
Parents:
7c6c630
Message:

2005-01-02 Ralf Corsepius <ralf.corsepius@…>

  • Makefile.am, wrapup/Makefile.am: Remove build-variant support.
File:
1 edited

Legend:

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

    r7c6c630 r71cbb66  
    1616include_HEADERS = include/bsp.h
    1717include_HEADERS += include/tm27.h
     18
    1819nodist_include_HEADERS = include/bspopts.h
     20DISTCLEANFILES = include/bspopts.h
    1921nodist_include_HEADERS += ../../shared/include/coverhd.h
    2022
    21 EXTRA_PROGRAMS =
    22 CLEANFILES =
    23 noinst_DATA =
     23noinst_PROGRAMS =
    2424
    2525include_bspdir = $(includedir)/bsp
     
    3131EXTRA_DIST = startup/bootpstuff.c
    3232
    33 EXTRA_PROGRAMS += startup.rel
    34 CLEANFILES += startup.rel
     33noinst_PROGRAMS += startup.rel
    3534startup_rel_SOURCES = startup/bspstart.c \
    3635    ../../powerpc/shared/startup/pgtbl_setup.c startup/pgtbl_activate.c \
     
    4140startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    4241
    43 EXTRA_PROGRAMS += startup_g.rel
    44 CLEANFILES += startup_g.rel
    45 startup_g_rel_SOURCES = $(startup_rel_SOURCES)
    46 startup_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    47 startup_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    48 
    49 noinst_DATA += startup$(LIB_VARIANT).rel
    50 
    51 ###
    52 EXTRA_PROGRAMS += pclock.rel
    53 CLEANFILES += pclock.rel
     42###
     43noinst_PROGRAMS += pclock.rel
    5444pclock_rel_SOURCES = ../../powerpc/shared/clock/p_clock.c
    5545pclock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    5646pclock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    5747
    58 EXTRA_PROGRAMS += pclock_g.rel
    59 CLEANFILES += pclock_g.rel
    60 pclock_g_rel_SOURCES = $(pclock_rel_SOURCES)
    61 pclock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    62 pclock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    63 
    64 noinst_DATA += pclock$(LIB_VARIANT).rel
    65 
    6648###
    6749include_bsp_HEADERS = ../../powerpc/shared/console/uart.h
    6850
    69 EXTRA_PROGRAMS += console.rel
    70 CLEANFILES += console.rel
     51noinst_PROGRAMS += console.rel
    7152console_rel_SOURCES = ../../powerpc/shared/console/uart.c \
    7253    ../../powerpc/shared/console/console.c
     
    7455console_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    7556
    76 EXTRA_PROGRAMS += console_g.rel
    77 CLEANFILES += console_g.rel
    78 console_g_rel_SOURCES = $(console_rel_SOURCES)
    79 console_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    80 console_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    81 
    82 noinst_DATA += console$(LIB_VARIANT).rel
    83 
    8457###
    8558include_bsp_HEADERS += pci/gtpcireg.h pci/pci.h
    8659
    87 EXTRA_PROGRAMS += pci.rel
    88 CLEANFILES += pci.rel
     60noinst_PROGRAMS += pci.rel
    8961pci_rel_SOURCES = pci/pci.c pci/pci_interface.c pci/detect_host_bridge.c \
    9062    pci/pcifinddevice.c
     
    9264pci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    9365
    94 EXTRA_PROGRAMS += pci_g.rel
    95 CLEANFILES += pci_g.rel
    96 pci_g_rel_SOURCES = $(pci_rel_SOURCES)
    97 pci_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    98 pci_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    99 
    100 noinst_DATA += pci$(LIB_VARIANT).rel
    101 
    10266###
    10367include_bsp_HEADERS += irq/irq.h
    10468
    105 EXTRA_PROGRAMS += irq.rel
    106 CLEANFILES += irq.rel
     69noinst_PROGRAMS += irq.rel
    10770irq_rel_SOURCES = irq/irq_init.c irq/GT64260Int.c irq/irq.c \
    10871    ../../powerpc/shared/irq/irq_asm.S
     
    11073irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    11174
    112 EXTRA_PROGRAMS += irq_g.rel
    113 CLEANFILES += irq_g.rel
    114 irq_g_rel_SOURCES = $(irq_rel_SOURCES)
    115 irq_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    116 irq_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    117 
    118 noinst_DATA += irq$(LIB_VARIANT).rel
    119 
    12075###
    12176nodist_include_HEADERS += ../../shared/tod.h
    12277
    123 EXTRA_PROGRAMS += tod.rel
    124 CLEANFILES += tod.rel
     78noinst_PROGRAMS += tod.rel
    12579tod_rel_SOURCES = ../../shared/tod.c tod/todcfg.c
    12680tod_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    12781tod_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    12882
    129 EXTRA_PROGRAMS += tod_g.rel
    130 CLEANFILES += tod_g.rel
    131 tod_g_rel_SOURCES = $(tod_rel_SOURCES)
    132 tod_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    133 tod_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    134 
    135 noinst_DATA += tod$(LIB_VARIANT).rel
    136 
    13783##
    13884include_bsp_HEADERS += ../../powerpc/shared/vectors/vectors.h \
    13985    vectors/bspException.h
    14086
    141 EXTRA_PROGRAMS += vectors.rel
    142 CLEANFILES += vectors.rel
     87noinst_PROGRAMS += vectors.rel
    14388vectors_rel_SOURCES = ../../powerpc/shared/vectors/vectors_init.c \
    14489    vectors/exceptionhandler.c ../../powerpc/shared/vectors/vectors.S
     
    14691vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    14792
    148 EXTRA_PROGRAMS += vectors_g.rel
    149 CLEANFILES += vectors_g.rel
    150 vectors_g_rel_SOURCES = $(vectors_rel_SOURCES)
    151 vectors_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    152 vectors_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    153 
    154 noinst_DATA += vectors$(LIB_VARIANT).rel
    155 
    15693##
    15794include_bsp_HEADERS += GT64260/bspMvme5500.h GT64260/gtreg.h \
    15895    GT64260/GT64260TWSI.h GT64260/VPD.h
    159 EXTRA_PROGRAMS += GT64260.rel
    160 CLEANFILES += GT64260.rel
     96noinst_PROGRAMS += GT64260.rel
    16197GT64260_rel_SOURCES = GT64260/GT64260TWSI.c GT64260/MVME5500I2C.c
    16298GT64260_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    16399GT64260_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    164100
    165 EXTRA_PROGRAMS += GT64260_g.rel
    166 CLEANFILES += GT64260_g.rel
    167 GT64260_g_rel_SOURCES = $(GT64260_rel_SOURCES)
    168 GT64260_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    169 GT64260_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    170 
    171 noinst_DATA += GT64260$(LIB_VARIANT).rel
    172 
    173101##
    174102if HAS_NETWORKING
     
    176104
    177105network_CPPFLAGS = -D_KERNEL
    178 EXTRA_PROGRAMS += network.rel
    179 CLEANFILES += network.rel
     106noinst_PROGRAMS += network.rel
    180107network_rel_SOURCES = network/GT64260eth.c
    181108network_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V) \
    182109    $(network_CPPFLAGS)
    183110network_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    184 
    185 EXTRA_PROGRAMS += network_g.rel
    186 CLEANFILES += network_g.rel
    187 network_g_rel_SOURCES = $(network_rel_SOURCES)
    188 network_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V) \
    189     $(network_CPPFLAGS)
    190 network_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    191 
    192 noinst_DATA += network$(LIB_VARIANT).rel
    193111endif
    194112##
     
    196114include_bsp_HEADERS += ../../shared/vmeUniverse/vmeUniverse.h
    197115
    198 EXTRA_PROGRAMS += vme.rel
    199 CLEANFILES += vme.rel
     116noinst_PROGRAMS += vme.rel
    200117vme_rel_SOURCES = ../../shared/vmeUniverse/vmeUniverse.c vme/vmeconfig.c
    201118vme_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    202119vme_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    203120
    204 EXTRA_PROGRAMS += vme_g.rel
    205 CLEANFILES += vme_g.rel
    206 vme_g_rel_SOURCES = $(vme_rel_SOURCES)
    207 vme_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    208 vme_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
    209 
    210 noinst_DATA += vme$(LIB_VARIANT).rel
    211 
    212121##
    213122
    214123EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
    215 rtems_crti$(LIB_VARIANT).$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
     124rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
    216125        $(CPPASCOMPILE) -DASM -o $@ -c $<
    217 project_lib_DATA = rtems_crti$(LIB_VARIANT).$(OBJEXT)
    218 
    219 EXTRA_PROGRAMS += mvme5500start.$(OBJEXT)
    220 CLEANFILES += mvme5500start.$(OBJEXT)
     126project_lib_DATA = rtems_crti.$(OBJEXT)
     127
     128noinst_PROGRAMS += mvme5500start.$(OBJEXT)
    221129mvme5500start___OBJEXT__SOURCES = start/preload.S start/start.S
    222130mvme5500start___OBJEXT__CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
    223131mvme5500start___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
    224132
    225 EXTRA_PROGRAMS += mvme5500start_g.$(OBJEXT)
    226 CLEANFILES += mvme5500start_g.$(OBJEXT)
    227 mvme5500start_g___OBJEXT__SOURCES = $(mvme5500start___OBJEXT__SOURCES)
    228 mvme5500start_g___OBJEXT__CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
    229 mvme5500start_g___OBJEXT__LDFLAGS = $(RTEMS_RELLDFLAGS)
    230 
    231 project_lib_DATA += mvme5500start$(LIB_VARIANT).$(OBJEXT)
     133project_lib_DATA += mvme5500start.$(OBJEXT)
    232134
    233135all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
     
    344246PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
    345247
    346 $(PROJECT_LIB)/rtems_crti$(LIB_VARIANT).$(OBJEXT): rtems_crti$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
    347         $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti$(LIB_VARIANT).$(OBJEXT)
    348 TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti$(LIB_VARIANT).$(OBJEXT)
    349 
    350 $(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).$(OBJEXT): mvme5500start$(LIB_VARIANT).$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
    351         $(INSTALL_DATA) $< $(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).$(OBJEXT)
    352 TMPINSTALL_FILES += $(PROJECT_LIB)/mvme5500start$(LIB_VARIANT).$(OBJEXT)
    353 
    354 CLEANFILES += $(PREINSTALL_FILES)
    355 DISTCLEANFILES = $(PREINSTALL_DIRS)
     248$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
     249        $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
     250TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
     251
     252$(PROJECT_LIB)/mvme5500start.$(OBJEXT): mvme5500start.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
     253        $(INSTALL_DATA) $< $(PROJECT_LIB)/mvme5500start.$(OBJEXT)
     254TMPINSTALL_FILES += $(PROJECT_LIB)/mvme5500start.$(OBJEXT)
     255
     256CLEANFILES = $(PREINSTALL_FILES)
     257DISTCLEANFILES += $(PREINSTALL_DIRS)
    356258CLEANFILES += $(TMPINSTALL_FILES)
    357259
Note: See TracChangeset for help on using the changeset viewer.