Changeset c659294 in rtems


Ignore:
Timestamp:
12/22/03 16:09:39 (19 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
e9b6f41
Parents:
926ec3b2
Message:

2003-12-22 Ralf Corsepius <corsepiu@…>

  • bootloader/Makefile.am: Eliminate VPATH.
  • clock/Makefile.am: Eliminate VPATH.
  • console/Makefile.am: Eliminate VPATH.
  • irq/Makefile.am: Eliminate VPATH.
  • motorola/Makefile.am: Eliminate VPATH.
  • openpic/Makefile.am: Eliminate VPATH.
  • pci/Makefile.am: Eliminate VPATH.
  • residual/Makefile.am: Eliminate VPATH.
  • start/Makefile.am: Eliminate VPATH.
  • startup/Makefile.am: Eliminate VPATH.
  • vectors/Makefile.am: Eliminate VPATH.
  • vme/Makefile.am: Eliminate VPATH.
Location:
c/src/lib/libbsp/powerpc/motorola_powerpc
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/motorola_powerpc/ChangeLog

    r926ec3b2 rc659294  
     12003-12-22      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        * bootloader/Makefile.am: Eliminate VPATH.
     4        * clock/Makefile.am: Eliminate VPATH.
     5        * console/Makefile.am: Eliminate VPATH.
     6        * irq/Makefile.am: Eliminate VPATH.
     7        * motorola/Makefile.am: Eliminate VPATH.
     8        * openpic/Makefile.am: Eliminate VPATH.
     9        * pci/Makefile.am: Eliminate VPATH.
     10        * residual/Makefile.am: Eliminate VPATH.
     11        * start/Makefile.am: Eliminate VPATH.
     12        * startup/Makefile.am: Eliminate VPATH.
     13        * vectors/Makefile.am: Eliminate VPATH.
     14        * vme/Makefile.am: Eliminate VPATH.
     15
    1162003-12-13      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    217
  • c/src/lib/libbsp/powerpc/motorola_powerpc/bootloader/Makefile.am

    r926ec3b2 rc659294  
    88AUTOMAKE_OPTIONS = no-exeext
    99
    10 VPATH = @srcdir@:@srcdir@/../../shared/bootloader:@srcdir@/../../shared/console
    11 
    1210noinst_PROGRAMS = bootloader
    1311
    1412## IMPORTANT: head.S must be first, T. Straumann 12/17/2001
    15 bootloader_SOURCES = head.S exception.S em86real.S
    16 bootloader_SOURCES += misc.c pci.c zlib.c mm.c em86.c polled_io.c lib.c
    17 bootloader_SOURCES += bootldr.h zlib.h pci.h keyboard.h
     13bootloader_SOURCES = $(top_srcdir)/../../powerpc/shared/bootloader/head.S \
     14    $(top_srcdir)/../../powerpc/shared/bootloader/exception.S \
     15    $(top_srcdir)/../../powerpc/shared/bootloader/em86real.S \
     16    $(top_srcdir)/../../powerpc/shared/bootloader/misc.c \
     17    $(top_srcdir)/../../powerpc/shared/bootloader/pci.c \
     18    $(top_srcdir)/../../powerpc/shared/bootloader/zlib.c \
     19    $(top_srcdir)/../../powerpc/shared/bootloader/mm.c \
     20    $(top_srcdir)/../../powerpc/shared/bootloader/em86.c \
     21    $(top_srcdir)/../../powerpc/shared/console/polled_io.c \
     22    $(top_srcdir)/../../powerpc/shared/bootloader/lib.c \
     23    $(top_srcdir)/../../powerpc/shared/bootloader/bootldr.h \
     24    $(top_srcdir)/../../powerpc/shared/bootloader/zlib.h \
     25    $(top_srcdir)/../../powerpc/shared/bootloader/pci.h \
     26    $(top_srcdir)/../../powerpc/shared/console/keyboard.h
    1827
    1928NM = @NM@
  • c/src/lib/libbsp/powerpc/motorola_powerpc/clock/Makefile.am

    r926ec3b2 rc659294  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../../shared/clock
    6 
    7 C_FILES = p_clock.c
    8 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    9 
    10 OBJS = $(C_O_FILES)
    11 
    125include $(top_srcdir)/../../../../automake/compile.am
    136include $(top_srcdir)/../../../../automake/lib.am
    147
    15 #
    16 # (OPTIONAL) Add local stuff here using +=
    17 #
     8powerpc_shared_clock_C_FILES = \
     9    $(top_srcdir)/../../powerpc/shared/clock/p_clock.c
     10OBJS = \
     11    $(powerpc_shared_clock_C_FILES:$(top_srcdir)/../../powerpc/shared/clock/%.c=$(ARCH)/%.$(OBJEXT))
    1812
    19 # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
     13$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/clock/%.c $(ARCH)/$(dirstamp)
     14        ${COMPILE} -o $@ -c $<
    2015
    21 all-local: $(OBJS)
     16noinst_DATA = $(OBJS)
    2217
    2318include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/powerpc/motorola_powerpc/console/Makefile.am

    r926ec3b2 rc659294  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../../shared/console:@srcdir@/../../../shared
    6 
    7 C_FILES = polled_io.c uart.c console.c inch.c reboot.c
    8 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    9 
    10 H_FILES = ../../shared/console/consoleIo.h ../../shared/console/keyboard.h \
    11     ../../shared/console/uart.h
    12 
    13 OBJS = $(C_O_FILES)
    14 
    155include $(top_srcdir)/../../../../automake/compile.am
    166include $(top_srcdir)/../../../../automake/lib.am
    177
    18 #
    19 # (OPTIONAL) Add local stuff here using +=
    20 #
     8powerpc_shared_console_C_FILES = \
     9    $(top_srcdir)/../../powerpc/shared/console/polled_io.c \
     10    $(top_srcdir)/../../powerpc/shared/console/uart.c \
     11    $(top_srcdir)/../../powerpc/shared/console/console.c \
     12    $(top_srcdir)/../../powerpc/shared/console/inch.c \
     13    $(top_srcdir)/../../powerpc/shared/console/reboot.c
     14OBJS = \
     15    $(powerpc_shared_console_C_FILES:$(top_srcdir)/../../powerpc/shared/console/%.c=$(ARCH)/%.$(OBJEXT))
     16
     17$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/console/%.c $(ARCH)/$(dirstamp)
     18        ${COMPILE} -o $@ -c $<
     19
     20# FIXME: This is nonsense.
     21noinst_HEADERS = $(top_srcdir)/../../powerpc/shared/console/consoleIo.h \
     22    $(top_srcdir)/../../powerpc/shared/console/keyboard.h \
     23    $(top_srcdir)/../../powerpc/shared/console/uart.h
     24
     25noinst_DATA = $(OBJS)
    2126
    2227AM_CPPFLAGS += -DSTATIC_LOG_ALLOC
  • c/src/lib/libbsp/powerpc/motorola_powerpc/irq/Makefile.am

    r926ec3b2 rc659294  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../../shared/irq
    6 
    7 C_FILES = irq_init.c i8259.c irq.c
    8 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    9 
    10 include_bspdir = $(includedir)/bsp
    11 nodist_include_bsp_HEADERS = $(top_srcdir)/../shared/irq/irq.h
    12 
    13 S_FILES = irq_asm.S
    14 S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
    15 
    16 OBJS = $(S_O_FILES) $(C_O_FILES)
    17 
    185include $(top_srcdir)/../../../../automake/compile.am
    196include $(top_srcdir)/../../../../automake/lib.am
    207
    21 #
    22 # (OPTIONAL) Add local stuff here using +=
    23 #
     8include_bspdir = $(includedir)/bsp
     9nodist_include_bsp_HEADERS = $(top_srcdir)/../../powerpc/shared/irq/irq.h
    2410
    25 all-local: $(PREINSTALL_FILES) $(OBJS)
     11powerpc_shared_irq_C_FILES = \
     12    $(top_srcdir)/../../powerpc/shared/irq/irq_init.c \
     13    $(top_srcdir)/../../powerpc/shared/irq/i8259.c \
     14    $(top_srcdir)/../../powerpc/shared/irq/irq.c
     15OBJS = \
     16    $(powerpc_shared_irq_C_FILES:$(top_srcdir)/../../powerpc/shared/irq/%.c=$(ARCH)/%.$(OBJEXT))
     17
     18$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/irq/%.c $(ARCH)/$(dirstamp)
     19        ${COMPILE} -o $@ -c $<
     20
     21powerpc_shared_irq_S_FILES = \
     22    $(top_srcdir)/../../powerpc/shared/irq/irq_asm.S
     23OBJS += \
     24    $(powerpc_shared_irq_S_FILES:$(top_srcdir)/../../powerpc/shared/irq/%.S=$(ARCH)/%.$(OBJEXT))
     25
     26$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/irq/%.S $(ARCH)/$(dirstamp)
     27        ${CCASCOMPILE} -o $@ -c $<
     28
     29noinst_DATA = $(OBJS)
     30
     31all-local: $(PREINSTALL_FILES)
    2632
    2733PREINSTALL_FILES =
     
    3137        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3238
    33 $(PROJECT_INCLUDE)/bsp/irq.h: $(top_srcdir)/../shared/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     39$(PROJECT_INCLUDE)/bsp/irq.h: $(top_srcdir)/../../powerpc/shared/irq/irq.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3440        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/irq.h
    3541PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/irq.h
  • c/src/lib/libbsp/powerpc/motorola_powerpc/motorola/Makefile.am

    r926ec3b2 rc659294  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../../shared/motorola
    6 
    7 C_FILES = motorola.c
    8 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    9 
    10 # FIXME: This doesn't give any sense here
    11 include_bspdir = $(includedir)/bsp
    12 nodist_include_bsp_HEADERS = $(top_srcdir)/../shared/motorola/motorola.h
    13 
    14 OBJS = $(C_O_FILES)
    15 
    165include $(top_srcdir)/../../../../automake/compile.am
    176include $(top_srcdir)/../../../../automake/lib.am
    187
    19 #
    20 # (OPTIONAL) Add local stuff here using +=
    21 #
     8include_bspdir = $(includedir)/bsp
     9nodist_include_bsp_HEADERS = \
     10    $(top_srcdir)/../../powerpc/shared/motorola/motorola.h
    2211
    23 # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
     12powerpc_shared_motorola_C_FILES = \
     13    $(top_srcdir)/../../powerpc/shared/motorola/motorola.c
     14OBJS = \
     15    $(powerpc_shared_motorola_C_FILES:$(top_srcdir)/../../powerpc/shared/motorola/%.c=$(ARCH)/%.$(OBJEXT))
    2416
    25 all-local: $(OBJS)
     17$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/motorola/%.c $(ARCH)/$(dirstamp)
     18        ${COMPILE} -o $@ -c $<
     19
     20noinst_DATA = $(OBJS)
     21
     22all-local: $(PREINSTALL_FILES)
    2623
    2724PREINSTALL_FILES =
     
    3128        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3229
    33 $(PROJECT_INCLUDE)/bsp/motorola.h: $(top_srcdir)/../shared/motorola/motorola.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     30$(PROJECT_INCLUDE)/bsp/motorola.h: $(top_srcdir)/../../powerpc/shared/motorola/motorola.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3431        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/motorola.h
    3532PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/motorola.h
  • c/src/lib/libbsp/powerpc/motorola_powerpc/openpic/Makefile.am

    r926ec3b2 rc659294  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../../shared/openpic
    6 
    7 C_FILES = openpic.c
    8 
    9 include_bspdir = $(includedir)/bsp
    10 nodist_include_bsp_HEADERS = $(top_srcdir)/../shared/openpic/openpic.h
    11 
    12 OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    13 
    145include $(top_srcdir)/../../../../automake/compile.am
    156include $(top_srcdir)/../../../../automake/lib.am
    167
    17 all-local: $(PREINSTALL_FILES) $(OBJS)
     8include_bspdir = $(includedir)/bsp
     9nodist_include_bsp_HEADERS = \
     10    $(top_srcdir)/../../powerpc/shared/openpic/openpic.h
     11
     12powerpc_shared_openpic_C_FILES = \
     13    $(top_srcdir)/../../powerpc/shared/openpic/openpic.c
     14OBJS = \
     15    $(powerpc_shared_openpic_C_FILES:$(top_srcdir)/../../powerpc/shared/openpic/%.c=$(ARCH)/%.$(OBJEXT))
     16
     17$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/openpic/%.c $(ARCH)/$(dirstamp)
     18        ${COMPILE} -o $@ -c $<
     19
     20noinst_DATA = $(OBJS)
     21
     22all-local: $(PREINSTALL_FILES)
    1823
    1924PREINSTALL_FILES =
     
    2328        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    2429
    25 $(PROJECT_INCLUDE)/bsp/openpic.h: $(top_srcdir)/../shared/openpic/openpic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     30$(PROJECT_INCLUDE)/bsp/openpic.h: $(top_srcdir)/../../powerpc/shared/openpic/openpic.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    2631        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/openpic.h
    2732PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/openpic.h
  • c/src/lib/libbsp/powerpc/motorola_powerpc/pci/Makefile.am

    r926ec3b2 rc659294  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../../shared/pci
    6 
    7 C_FILES = pci.c detect_raven_bridge.c pcifinddevice.c
    8 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    9 
    10 include_bspdir = $(includedir)/bsp
    11 nodist_include_bsp_HEADERS = $(top_srcdir)/../shared/pci/pci.h
    12 
    13 OBJS = $(C_O_FILES)
    14 
    155include $(top_srcdir)/../../../../automake/compile.am
    166include $(top_srcdir)/../../../../automake/lib.am
    177
    18 AM_CFLAGS += -O2
     8include_bspdir = $(includedir)/bsp
     9nodist_include_bsp_HEADERS = $(top_srcdir)/../../powerpc/shared/pci/pci.h
    1910
    20 # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
     11power_shared_pci_C_FILES = $(top_srcdir)/../../powerpc/shared/pci/pci.c \
     12    $(top_srcdir)/../../powerpc/shared/pci/detect_raven_bridge.c \
     13    $(top_srcdir)/../../powerpc/shared/pci/pcifinddevice.c
     14OBJS = \
     15    $(power_shared_pci_C_FILES:$(top_srcdir)/../../powerpc/shared/pci/%.c=$(ARCH)/%.$(OBJEXT))
    2116
    22 all-local: $(PREINSTALL_FILES) $(OBJS)
     17$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/pci/%.c $(ARCH)/$(dirstamp)
     18        ${COMPILE} -o $@ -c $<
     19
     20noinst_DATA = $(OBJS)
    2321
    2422PREINSTALL_FILES =
     
    2826        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    2927
    30 $(PROJECT_INCLUDE)/bsp/pci.h: $(top_srcdir)/../shared/pci/pci.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     28$(PROJECT_INCLUDE)/bsp/pci.h: $(top_srcdir)/../../powerpc/shared/pci/pci.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3129        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/pci.h
    3230PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/pci.h
  • c/src/lib/libbsp/powerpc/motorola_powerpc/residual/Makefile.am

    r926ec3b2 rc659294  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../../shared/residual
    6 
    7 C_FILES = residual.c
    8 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    9 
    10 H_FILES = ../../shared/residual/pnp.h ../../shared/residual/residual.h
    11 
    12 OBJS = $(C_O_FILES)
    13 
    145include $(top_srcdir)/../../../../automake/compile.am
    156include $(top_srcdir)/../../../../automake/lib.am
    167
    17 #
    18 # (OPTIONAL) Add local stuff here using +=
    19 #
     8# FIXME: This does not make much sense
     9noinst_HEADERS = $(top_srcdir)/../../powerpc/shared/residual/pnp.h \
     10    $(top_srcdir)/../../powerpc/shared/residual/residual.h
    2011
    21 # the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
     12powerpc_shared_residual_C_FILES = \
     13    $(top_srcdir)/../../powerpc/shared/residual/residual.c
     14OBJS = \
     15    $(powerpc_shared_residual_C_FILES:$(top_srcdir)/../../powerpc/shared/residual/%.c=$(ARCH)/%.$(OBJEXT))
    2216
    23 all-local: $(PREINSTALL_FILES) $(OBJS)
     17$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/residual/%.c $(ARCH)/$(dirstamp)
     18        ${COMPILE} -o $@ -c $<
     19
     20noinst_DATA = $(OBJS)
    2421
    2522include $(top_srcdir)/../../../../automake/local.am
  • c/src/lib/libbsp/powerpc/motorola_powerpc/start/Makefile.am

    r926ec3b2 rc659294  
    22## $Id$
    33##
    4 
    5 VPATH = @srcdir@:@srcdir@/../../shared/start
    6 
    7 S_FILES = start.S rtems_crti.S
    8 S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
    9 
    10 OBJS = $(S_O_FILES)
    114
    125include $(top_srcdir)/../../../../automake/compile.am
     
    147include $(top_srcdir)/../../bspstart.am
    158
    16 #
    17 # (OPTIONAL) Add local stuff here using +=
    18 #
     9powerpc_shared_start_S_FILES = \
     10    $(top_srcdir)/../../powerpc/shared/start/start.S \
     11    $(top_srcdir)/../../powerpc/shared/start/rtems_crti.S
     12
     13OBJS = \
     14    $(powerpc_shared_start_S_FILES:$(top_srcdir)/../../powerpc/shared/start/%.S=$(ARCH)/%.$(OBJEXT))
     15
     16$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/start/%.S $(ARCH)/$(dirstamp)
     17        ${CCASCOMPILE} -o $@ -c $<
     18
    1919project_lib_DATA = $(ARCH)/start$(LIB_VARIANT).$(OBJEXT)
    2020project_lib_DATA += $(ARCH)/rtems_crti$(LIB_VARIANT).$(OBJEXT)
  • c/src/lib/libbsp/powerpc/motorola_powerpc/startup/Makefile.am

    r926ec3b2 rc659294  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../console:@srcdir@/../../shared/startup:@srcdir@/../../../shared
    6 
    75PGM = $(ARCH)/startup.rel
    8 
    9 C_FILES = bootcard.c main.c bspstart.c bsppost.c bsplibc.c sbrk.c bspclean.c \
    10     gnatinstallhandler.c pgtbl_setup.c pgtbl_activate.c
    11 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    12 
    13 OBJS = $(C_O_FILES)
    146
    157include $(top_srcdir)/../../../../automake/compile.am
    168include $(top_srcdir)/../../../../automake/lib.am
    179
    18 #
    19 # (OPTIONAL) Add local stuff here using +=
    20 #
     10powerpc_shared_startup_C_FILES = \
     11    $(top_srcdir)/../../powerpc/shared/startup/bspstart.c \
     12    $(top_srcdir)/../../powerpc/shared/startup/pgtbl_setup.c \
     13    $(top_srcdir)/../../powerpc/shared/startup/pgtbl_activate.c \
     14    $(top_srcdir)/../../powerpc/shared/startup/sbrk.c
     15OBJS = \
     16    $(powerpc_shared_startup_C_FILES:$(top_srcdir)/../../powerpc/shared/startup/%.c=$(ARCH)/%.$(OBJEXT))
     17
     18$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/startup/%.c $(ARCH)/$(dirstamp)
     19        ${COMPILE} -o $@ -c $<
     20
     21shared_C_FILES = $(top_srcdir)/../../shared/bootcard.c
     22shared_C_FILES += $(top_srcdir)/../../shared/bspclean.c
     23shared_C_FILES += $(top_srcdir)/../../shared/bsplibc.c
     24shared_C_FILES += $(top_srcdir)/../../shared/bsppost.c
     25shared_C_FILES += $(top_srcdir)/../../shared/main.c
     26shared_C_FILES += $(top_srcdir)/../../shared/gnatinstallhandler.c
     27OBJS += \
     28    $(shared_C_FILES:$(top_srcdir)/../../shared/%.c=$(ARCH)/%.$(OBJEXT))
     29
     30$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/%.c $(ARCH)/$(dirstamp)
     31        ${COMPILE} -o $@ -c $<
    2132
    2233$(PGM): $(OBJS)
  • c/src/lib/libbsp/powerpc/motorola_powerpc/vectors/Makefile.am

    r926ec3b2 rc659294  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../console:@srcdir@/../../shared/vectors
    6 
    7 C_FILES = vectors_init.c
    8 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    9 
    10 S_FILES = vectors.S
    11 S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
    12 
    13 OBJS = $(S_O_FILES) $(C_O_FILES)
    14 
    155include $(top_srcdir)/../../../../automake/compile.am
    166include $(top_srcdir)/../../../../automake/lib.am
    177
    18 #
    19 # (OPTIONAL) Add local stuff here using +=
    20 #
     8# FIXME: this does not make much sense
     9include_bspdir = $(includedir)/bsp
     10include_bsp_HEADERS = $(top_srcdir)/../../powerpc/shared/vectors/vectors.h
    2111
    22 $(PGM): $(OBJS)
    23         $(make-rel)
     12powerpc_shared_vectors_C_FILES = \
     13    $(top_srcdir)/../..//powerpc/shared/vectors/vectors_init.c
     14OBJS = \
     15    $(powerpc_shared_vectors_C_FILES:$(top_srcdir)/../../powerpc/shared/vectors/%.c=$(ARCH)/%.$(OBJEXT))
    2416
    25 include_bspdir = $(includedir)/bsp
    26 include_bsp_HEADERS = $(top_srcdir)/../shared/vectors/vectors.h
     17$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/vectors/%.c $(ARCH)/$(dirstamp)
     18        ${COMPILE} -o $@ -c $<
    2719
    28 all-local: $(PREINSTALL_FILES) $(OBJS)
     20powerpc_shared_vectors_S_FILES = \
     21    $(top_srcdir)/../../powerpc/shared/vectors/vectors.S
     22OBJS += \
     23    $(powerpc_shared_vectors_S_FILES:$(top_srcdir)/../../powerpc/shared/vectors/%.S=$(ARCH)/%.$(OBJEXT))
     24
     25$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/vectors/%.S $(ARCH)/$(dirstamp)
     26        ${CCASCOMPILE} -o $@ -c $<
     27
     28noinst_DATA = $(OBJS)
     29
     30all-local: $(PREINSTALL_FILES)
    2931
    3032PREINSTALL_FILES =
     
    3436        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3537
    36 $(PROJECT_INCLUDE)/bsp/vectors.h: $(top_srcdir)/../shared/vectors/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     38$(PROJECT_INCLUDE)/bsp/vectors.h: $(top_srcdir)/../../powerpc/shared/vectors/vectors.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3739        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vectors.h
    3840PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vectors.h
  • c/src/lib/libbsp/powerpc/motorola_powerpc/vme/Makefile.am

    r926ec3b2 rc659294  
    33##
    44
    5 VPATH = @srcdir@:@srcdir@/../../shared/vme:@srcdir@/../../../shared/vmeUniverse:
    6 
    7 H_FILES = ../pci/pci.h ../irq/irq.h ../vme/VME.h ../vme/VMEConfig.h
    8 
    9 C_FILES = vmeUniverse.c vmeconfig.c
    10 
    11 C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    12 
    13 OBJS = $(C_O_FILES)
    14 
    15 include_bspdir = $(includedir)/bsp
    16 include_bsp_HEADERS = ../../shared/vme/VMEConfig.h
    17 include_bsp_HEADERS += ../../shared/vme/VME.h
    18 include_bsp_HEADERS += ../../../shared/vmeUniverse/vmeUniverse.h
    19 
    20 all-local: $(PREINSTALL_FILES) $(OBJS)
    21 
    225include $(top_srcdir)/../../../../automake/compile.am
    236include $(top_srcdir)/../../../../automake/lib.am
    247
    25 #
    26 # (OPTIONAL) Add local stuff here using +=
    27 #
     8include_bspdir = $(includedir)/bsp
     9
     10include_bsp_HEADERS = $(top_srcdir)/../../shared/vmeUniverse/vmeUniverse.h
     11shared_vmeUniverse_C_FILES = \
     12    $(top_srcdir)/../../shared/vmeUniverse/vmeUniverse.c
     13OBJS = \
     14    $(shared_vmeUniverse_C_FILES:$(top_srcdir)/../../shared/vmeUniverse/%.c=$(ARCH)/%.$(OBJEXT))
     15
     16$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../shared/vmeUniverse/%.c $(ARCH)/$(dirstamp)
     17        ${COMPILE} -o $@ -c $<
     18
     19include_bsp_HEADERS += $(top_srcdir)/../../powerpc/shared/vme/VMEConfig.h
     20include_bsp_HEADERS += $(top_srcdir)/../../powerpc/shared/vme/VME.h
     21powerpc_shared_vme_C_FILES = \
     22    $(top_srcdir)/../../powerpc/shared/vme/vmeconfig.c
     23OBJS += \
     24    $(powerpc_sharec_vme_C_FILES:$(top_srcdir)/../../powerpc/shared/vme/%.c=$(ARCH)/%.$(OBJEXT))
     25
     26$(ARCH)/%.$(OBJEXT): $(top_srcdir)/../../powerpc/shared/vme/%.c $(ARCH)/$(dirstamp)
     27        ${COMPILE} -o $@ -c $<
     28
     29noinst_DATA = $(OBJS)
     30
     31all-local: $(PREINSTALL_FILES)
    2832
    2933PREINSTALL_FILES =
     
    3337        @: > $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3438
    35 $(PROJECT_INCLUDE)/bsp/VMEConfig.h: ../../shared/vme/VMEConfig.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     39$(PROJECT_INCLUDE)/bsp/vmeUniverse.h: $(top_srcdir)/../../shared/vmeUniverse/vmeUniverse.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     40        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
     41PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
     42
     43$(PROJECT_INCLUDE)/bsp/VMEConfig.h: $(top_srcdir)/../../powerpc/shared/vme/VMEConfig.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    3644        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VMEConfig.h
    3745PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VMEConfig.h
    3846
    39 $(PROJECT_INCLUDE)/bsp/VME.h: ../../shared/vme/VME.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
     47$(PROJECT_INCLUDE)/bsp/VME.h: $(top_srcdir)/../../powerpc/shared/vme/VME.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    4048        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/VME.h
    4149PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/VME.h
    4250
    43 $(PROJECT_INCLUDE)/bsp/vmeUniverse.h: ../../../shared/vmeUniverse/vmeUniverse.h $(PROJECT_INCLUDE)/bsp/$(dirstamp)
    44         $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
    45 PREINSTALL_FILES += $(PROJECT_INCLUDE)/bsp/vmeUniverse.h
    46 
    4751include $(top_srcdir)/../../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.