Changeset 4e36a2f in rtems for cpukit/score


Ignore:
Timestamp:
Jan 31, 2000, 3:27:02 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
bb18b95
Parents:
8fbdf07
Message:

Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from
Ralf Corsepius <corsepiu@…> that contain:

  • Modifications, (minor) corrections, cleanups to most existing Makefile.ams
  • Adds automake support to all remaining BSPs which have not yet been converted to automake.
  • Makefile.am for all remaining wrapup/Makefile.ams
Location:
cpukit/score
Files:
13 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/a29k/Makefile.am

    r8fbdf07 r4e36a2f  
    1111SUBDIRS = rtems
    1212
    13 # C source names
    1413C_FILES = cpu.c
    15 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1615
    1716H_FILES = amd.ah asm.h cpu_asm.h pswmacro.ah register.ah
    18 noinst_HEADERS = $(H_FILES)
    1917
    20 # S source names
    2118S_FILES = cpu_asm.S sig.S
    22 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
     19S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
    2320
    24 PREINSTALL_FILES = \
    25 $(PROJECT_INCLUDE) \
    26 $(H_FILES:%=$(PROJECT_INCLUDE)/%)
     21include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
     22include $(top_srcdir)/../../../../../../automake/lib.am
    2723
    2824$(PROJECT_INCLUDE):
     
    3228        $(INSTALL_DATA) $< $@
    3329
    34 TMPINSTALL_FILES += \
    35 $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
    36 
    3730$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
    3831        $(INSTALL_DATA) $< $@
     
    4033REL = $(ARCH)/rtems-cpu.rel
    4134
    42 $(REL): $(C_O_FILES) $(S_O_FILES)
     35rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
     36
     37$(REL): $(rtems_cpu_rel_OBJECTS)
    4338        $(make-rel)
    4439
    45 all-local: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
     40PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    4641
    47 EXTRA_DIST = \
    48 cpu.c \
    49 cpu_asm.S sig.S \
    50 rtems.c
     42TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
     43
     44all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
     45
     46.PRECIOUS: $(REL)
     47
     48EXTRA_DIST = amd.ah asm.h cpu.c cpu_asm.S pswmacro.ah register.ah rtems.c \
     49    sig.S
    5150
    5251include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/cpu/hppa1.1/Makefile.am

    r8fbdf07 r4e36a2f  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
     8SUBDIRS = rtems
     9
     10C_FILES = cpu.c
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
     12
     13S_FILES = cpu_asm.S
     14S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
     15
    816include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    917include $(top_srcdir)/../../../../../../automake/lib.am
    10 
    11 SUBDIRS = rtems
    12 
    13 # C source names
    14 C_FILES = cpu.c
    15 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    16 
    17 ## H_FILES =
    18 ## noinst_HEADERS = $(H_FILES)
    19 
    20 # S source names
    21 S_FILES = cpu_asm.S
    22 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    23 
    24 PREINSTALL_FILES = \
    25 $(PROJECT_INCLUDE) \
    26 $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    2718
    2819$(PROJECT_INCLUDE):
     
    3223        $(INSTALL_DATA) $< $@
    3324
    34 TMPINSTALL_FILES += \
    35 $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
    36 
    3725$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
    3826        $(INSTALL_DATA) $< $@
     
    4028REL = $(ARCH)/rtems-cpu.rel
    4129
    42 $(REL): $(C_O_FILES) $(S_O_FILES)
     30rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
     31
     32$(REL): $(rtems_cpu_rel_OBJECTS)
    4333        $(make-rel)
    4434
    45 all-local: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
     35PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    4636
    47 EXTRA_DIST = \
    48 cpu.c \
    49 cpu_asm.S \
    50 rtems.S
     37TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
     38
     39all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
     40
     41.PRECIOUS: $(REL)
     42
     43EXTRA_DIST = cpu.c cpu_asm.S rtems.S
    5144
    5245include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/cpu/i386/Makefile.am

    r8fbdf07 r4e36a2f  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
     8SUBDIRS = rtems
     9
     10REL = $(ARCH)/rtems-cpu.rel
     11
     12C_FILES = cpu.c
     13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
     14
     15H_FILES = asm.h
     16
     17S_FILES = cpu_asm.S
     18S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
     19
     20rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
     21
    822include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    923include $(top_srcdir)/../../../../../../automake/lib.am
    10 
    11 SUBDIRS = rtems
    12 
    13 # C source names
    14 C_FILES = cpu.c
    15 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    16 
    17 H_FILES = asm.h
    18 noinst_HEADERS = $(H_FILES)
    19 
    20 # S source names
    21 S_FILES = cpu_asm.S
    22 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    23 
    24 PREINSTALL_FILES = \
    25 $(PROJECT_INCLUDE) \
    26 $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    2724
    2825$(PROJECT_INCLUDE):
     
    3229        $(INSTALL_DATA) $< $@
    3330
    34 TMPINSTALL_FILES += \
    35 $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
    36 
    3731$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
    3832        $(INSTALL_DATA) $< $@
    3933
    40 REL = $(ARCH)/rtems-cpu.rel
    41 
    42 $(REL): $(C_O_FILES) $(S_O_FILES)
     34$(REL): $(rtems_cpu_rel_OBJECTS)
    4335        $(make-rel)
    4436
    45 all-local: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
     37PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    4638
    47 EXTRA_DIST = \
    48 cpu.c \
    49 cpu_asm.S \
    50 rtems.S
     39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
     40
     41all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
     42
     43.PRECIOUS: $(REL)
     44
     45EXTRA_DIST = asm.h cpu.c cpu_asm.S rtems.S
    5146
    5247include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/cpu/i960/Makefile.am

    r8fbdf07 r4e36a2f  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
     8SUBDIRS = rtems
     9
     10C_FILES = cpu.c
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
     12
     13H_FILES = asm.h i960RP.h
     14
     15S_FILES = cpu_asm.S
     16S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
     17
    818include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    919include $(top_srcdir)/../../../../../../automake/lib.am
    10 
    11 SUBDIRS = rtems
    12 
    13 # C source names
    14 C_FILES = cpu.c
    15 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    16 
    17 H_FILES = asm.h i960RP.h
    18 noinst_HEADERS = $(H_FILES)
    19 
    20 # S source names
    21 S_FILES = cpu_asm.S
    22 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    23 
    24 PREINSTALL_FILES = \
    25 $(PROJECT_INCLUDE) \
    26 $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    2720
    2821$(PROJECT_INCLUDE):
     
    3225        $(INSTALL_DATA) $< $@
    3326
    34 TMPINSTALL_FILES += \
    35 $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
    36 
    3727$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
    3828        $(INSTALL_DATA) $< $@
     
    4030REL = $(ARCH)/rtems-cpu.rel
    4131
    42 $(REL): $(C_O_FILES) $(S_O_FILES)
     32rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
     33
     34$(REL): $(rtems_cpu_rel_OBJECTS)
    4335        $(make-rel)
    4436
    45 all-local: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
     37PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    4638
    47 EXTRA_DIST = \
    48 cpu.c \
    49 cpu_asm.S \
    50 rtems.S
     39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
     40
     41all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
     42
     43.PRECIOUS: $(REL)
     44
     45EXTRA_DIST = asm.h cpu.c cpu_asm.S i960RP.h rtems.S
    5146
    5247include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/cpu/m68k/Makefile.am

    r8fbdf07 r4e36a2f  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
     8SUBDIRS = rtems
     9
     10C_FILES = cpu.c memcpy.c
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
     12
     13H_FILES = asm.h m68302.h m68360.h qsm.h sim.h
     14
     15S_FILES = cpu_asm.S
     16S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
     17
    818include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    919include $(top_srcdir)/../../../../../../automake/lib.am
    10 
    11 SUBDIRS = rtems
    12 
    13 # C source names
    14 C_FILES = cpu.c memcpy.c
    15 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    16 
    17 H_FILES = asm.h m68302.h m68360.h qsm.h sim.h
    18 noinst_HEADERS = $(H_FILES)
    19 
    20 # S source names
    21 S_FILES = cpu_asm.S
    22 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    23 
    24 PREINSTALL_FILES = \
    25 $(PROJECT_INCLUDE) \
    26 $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    2720
    2821$(PROJECT_INCLUDE):
     
    3225        $(INSTALL_DATA) $< $@
    3326
    34 TMPINSTALL_FILES += \
    35 $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
    36 
    3727$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
    3828        $(INSTALL_DATA) $< $@
     
    4030REL = $(ARCH)/rtems-cpu.rel
    4131
    42 $(REL): $(C_O_FILES) $(S_O_FILES)
     32rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
     33
     34$(REL): $(rtems_cpu_rel_OBJECTS)
    4335        $(make-rel)
    4436
    45 all-local: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
     37PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    4638
    47 EXTRA_DIST = \
    48 cpu.c memcpy.c \
    49 cpu_asm.S \
    50 rtems.S
     39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
     40
     41all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
     42
     43.PRECIOUS: $(REL)
     44
     45EXTRA_DIST = asm.h cpu.c cpu_asm.S m68302.h m68360.h memcpy.c qsm.h rtems.S \
     46    sim.h
    5147
    5248include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/cpu/mips/Makefile.am

    r8fbdf07 r4e36a2f  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
     8SUBDIRS = rtems
     9
     10C_FILES = cpu.c
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
     12
     13H_FILES = asm.h cpu_asm.h idtcpu.h idtmon.h iregdef.h
     14
     15S_FILES = cpu_asm.S
     16S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
     17
    818include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    919include $(top_srcdir)/../../../../../../automake/lib.am
    10 
    11 SUBDIRS = rtems
    12 
    13 # C source names
    14 C_FILES = cpu.c
    15 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    16 
    17 H_FILES = asm.h cpu_asm.h idtcpu.h idtmon.h iregdef.h
    18 noinst_HEADERS = $(H_FILES)
    19 
    20 # S source names
    21 S_FILES = cpu_asm.S
    22 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    23 
    24 PREINSTALL_FILES = \
    25 $(PROJECT_INCLUDE) \
    26 $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    2720
    2821$(PROJECT_INCLUDE):
     
    3225        $(INSTALL_DATA) $< $@
    3326
    34 TMPINSTALL_FILES += \
    35 $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
    36 
    3727$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
    3828        $(INSTALL_DATA) $< $@
     
    4030REL = $(ARCH)/rtems-cpu.rel
    4131
    42 $(REL): $(C_O_FILES) $(S_O_FILES)
     32rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
     33
     34$(REL): $(rtems_cpu_rel_OBJECTS)
    4335        $(make-rel)
    4436
    45 all-local: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
     37PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    4638
    47 EXTRA_DIST = \
    48 cpu.c \
    49 cpu_asm.S \
    50 rtems.c
     39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
     40
     41all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
     42
     43.PRECIOUS: $(REL)
     44
     45EXTRA_DIST = asm.h cpu.c cpu_asm.S cpu_asm.h idtcpu.h idtmon.h iregdef.h \
     46    rtems.c
    5147
    5248include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/cpu/mips64orion/Makefile.am

    r8fbdf07 r4e36a2f  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
     8SUBDIRS = rtems
     9
     10C_FILES = cpu.c
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
     12
     13H_FILES = asm.h cpu_asm.h idtcpu.h idtmon.h iregdef.h
     14
     15S_FILES = cpu_asm.S
     16S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
     17
    818include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    919include $(top_srcdir)/../../../../../../automake/lib.am
    10 
    11 SUBDIRS = rtems
    12 
    13 # C source names
    14 C_FILES = cpu.c
    15 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    16 
    17 H_FILES = asm.h cpu_asm.h idtcpu.h idtmon.h iregdef.h
    18 noinst_HEADERS = $(H_FILES)
    19 
    20 # S source names
    21 S_FILES = cpu_asm.S
    22 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    23 
    24 PREINSTALL_FILES = \
    25 $(PROJECT_INCLUDE) \
    26 $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    2720
    2821$(PROJECT_INCLUDE):
     
    3225        $(INSTALL_DATA) $< $@
    3326
    34 TMPINSTALL_FILES += \
    35 $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
    36 
    3727$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
    3828        $(INSTALL_DATA) $< $@
     
    4030REL = $(ARCH)/rtems-cpu.rel
    4131
    42 $(REL): $(C_O_FILES) $(S_O_FILES)
     32rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
     33
     34$(REL): $(rtems_cpu_rel_OBJECTS)
    4335        $(make-rel)
    4436
    45 all-local: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
     37PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    4638
    47 EXTRA_DIST = \
    48 cpu.c \
    49 cpu_asm.S \
    50 rtems.c
     39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
     40
     41all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
     42
     43.PRECIOUS: $(REL)
     44
     45EXTRA_DIST = asm.h cpu.c cpu_asm.S cpu_asm.h idtcpu.h idtmon.h iregdef.h \
     46    rtems.c
    5147
    5248include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/cpu/no_cpu/Makefile.am

    r8fbdf07 r4e36a2f  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
     8SUBDIRS = rtems
     9
     10C_FILES = cpu.c cpu_asm.c
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
     12
     13H_FILES = asm.h
     14
     15REL = $(ARCH)/rtems-cpu.rel
     16
     17rtems_cpu_rel_OBJECTS = $(C_O_FILES)
     18
    819include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    920include $(top_srcdir)/../../../../../../automake/lib.am
    10 
    11 SUBDIRS = rtems
    12 
    13 # C source names
    14 C_FILES = cpu.c cpu_asm.c
    15 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    16 
    17 H_FILES = asm.h
    18 noinst_HEADERS = $(H_FILES)
    19 
    20 # S source names
    21 ## S_FILES = cpu_asm.S
    22 ## S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    23 
    24 PREINSTALL_FILES = \
    25 $(PROJECT_INCLUDE) \
    26 $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    2721
    2822$(PROJECT_INCLUDE):
     
    3226        $(INSTALL_DATA) $< $@
    3327
    34 TMPINSTALL_FILES += \
    35 $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
    36 
    3728$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
    3829        $(INSTALL_DATA) $< $@
    3930
    40 REL = $(ARCH)/rtems-cpu.rel
    41 
    42 $(REL): $(C_O_FILES) $(S_O_FILES)
     31$(REL): $(rtems_cpu_rel_OBJECTS)
    4332        $(make-rel)
    4433
    45 all-local: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
     34PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    4635
    47 EXTRA_DIST = \
    48 cpu.c \
    49 cpu_asm.c \
    50 rtems.c
     36TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
     37
     38all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
     39
     40.PRECIOUS: $(REL)
     41
     42EXTRA_DIST = asm.h cpu.c cpu_asm.c rtems.c
    5143
    5244include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/cpu/powerpc/Makefile.am

    r8fbdf07 r4e36a2f  
    1 ##
     1## 
    22## $Id$
    3 ##
     3## 
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
  • cpukit/score/cpu/sh/Makefile.am

    r8fbdf07 r4e36a2f  
    1212
    1313H_FILES = asm.h
    14 noinst_HEADERS = $(H_FILES)
    15 
    16 PREINSTALL_FILES = \
    17 $(PROJECT_INCLUDE) \
    18 $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    1914
    2015$(PROJECT_INCLUDE):
     
    2419        $(INSTALL_DATA) $< $@
    2520
    26 TMPINSTALL_FILES += \
    27 $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
    28 
    2921$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
    3022        $(INSTALL_DATA) $< $@
    3123
    32 # C source names, if any, go here -- minus the .c
    3324C_FILES = cpu.c cpu_asm.c isp$(RTEMS_CPU_MODEL).c
    34 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     25C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    3526
    3627REL = $(ARCH)/rtems-cpu.rel
    3728
    38 $(REL): $(C_O_FILES)
     29rtems_cpu_rel_OBJECTS = $(C_O_FILES)
     30
     31$(REL): $(rtems_cpu_rel_OBJECTS)
    3932        $(make-rel)
    4033
    41 all: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
     34PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    4235
    43 EXTRA_DIST = \
    44 cpu.c \
    45 cpu_asm.c \
    46 ispsh7032.c \
    47 ispsh7045.c \
    48 rtems.c
     36TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
     37
     38all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
     39
     40.PRECIOUS: $(REL)
     41
     42EXTRA_DIST = asm.h cpu.c cpu_asm.c ispsh7032.c ispsh7045.c rtems.c
    4943
    5044include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/cpu/sparc/Makefile.am

    r8fbdf07 r4e36a2f  
    66ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
    77
     8SUBDIRS = rtems
     9
     10C_FILES = cpu.c
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
     12
     13H_FILES = asm.h erc32.h
     14
     15S_FILES = cpu_asm.S
     16S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
     17
     18REL = $(ARCH)/rtems-cpu.rel
     19
    820include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    921include $(top_srcdir)/../../../../../../automake/lib.am
    1022
    11 SUBDIRS = rtems
    12 
    13 # C source names
    14 C_FILES = cpu.c
    15 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    16 
    17 H_FILES = asm.h erc32.h
    18 noinst_HEADERS = $(H_FILES)
    19 
    20 # S source names
    21 S_FILES = cpu_asm.S
    22 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    23 
    24 PREINSTALL_FILES = \
    25 $(PROJECT_INCLUDE) \
    26 $(H_FILES:%=$(PROJECT_INCLUDE)/%)
     23rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
    2724
    2825$(PROJECT_INCLUDE):
     
    3229        $(INSTALL_DATA) $< $@
    3330
    34 TMPINSTALL_FILES += \
    35 $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
    36 
    3731$(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
    3832        $(INSTALL_DATA) $< $@
    3933
    40 REL = $(ARCH)/rtems-cpu.rel
    41 
    42 $(REL): $(C_O_FILES) $(S_O_FILES)
     34$(REL): $(rtems_cpu_rel_OBJECTS)
    4335        $(make-rel)
    4436
    45 all-local: $(ARCH) $(ARCH)/rtems.o $(REL) $(TMPINSTALL_FILES)
     37PREINSTALL_FILES += $(PROJECT_INCLUDE) $(H_FILES:%=$(PROJECT_INCLUDE)/%)
    4638
    47 EXTRA_DIST = \
    48 cpu.c \
    49 cpu_asm.S \
    50 rtems.S
     39TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/rtems$(LIB_VARIANT).o
     40
     41all-local: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) $(TMPINSTALL_FILES)
     42
     43.PRECIOUS: $(REL)
     44
     45EXTRA_DIST = asm.h cpu.c cpu_asm.S erc32.h rtems.S
    5146
    5247include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/cpu/unix/Makefile.am

    r8fbdf07 r4e36a2f  
    1313AM_CPPFLAGS = -DCPU_SYNC_IO $(LIBC_DEFINES)
    1414
    15 # C source names, if any, go here -- minus the .c
    1615C_FILES = cpu.c
    17 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     16C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1817
    1918REL = $(ARCH)/rtems-cpu.rel
    2019
    21 $(REL): $(C_O_FILES)
     20rtems_cpu_rel_OBJECTS = $(C_O_FILES)
     21
     22$(REL): $(rtems_cpu_rel_OBJECTS)
    2223        $(make-rel)
    2324
    24 all-local: $(ARCH) $(REL) $(TMPINSTALL_FILES)
     25all-local: $(ARCH) $(rtems_cpu_rel_OBJECTS) $(REL)
    2526
    26 EXTRA_DIST = \
    27 cpu.c
     27.PRECIOUS: $(REL)
     28
     29EXTRA_DIST = cpu.c
    2830
    2931include $(top_srcdir)/../../../../../../automake/subdirs.am
  • cpukit/score/src/Makefile.am

    r8fbdf07 r4e36a2f  
    5353    watchdogremove.c watchdogtickle.c
    5454
    55 # C and C++ source names, if any, go here -- minus the .c or .cc
    5655STD_C_FILES = apiext.c chain.c $(CORE_MESSAGE_QUEUE_C_FILES) \
    5756    $(CORE_MUTEX_C_FILES) $(CORE_SEMAPHORE_C_FILES) $(HEAP_C_FILES) interr.c \
Note: See TracChangeset for help on using the changeset viewer.