Changeset 4e36a2f in rtems for c/src/lib/libcpu/sh/sh7032


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:
c/src/lib/libcpu/sh/sh7032
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libcpu/sh/sh7032/clock/Makefile.am

    r8fbdf07 r4e36a2f  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 PGM = ${ARCH}/clock.rel
     7PGM = $(ARCH)/clock.rel
    88
    9 ## C source names
    109C_FILES = ckinit.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1211
    13 H_FILES =
    14 
    15 ## Assembly source names
    16 S_FILES =
    17 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    18 
    19 OBJS = $(C_O_FILES) $(S_O_FILES)
     12OBJS = $(C_O_FILES)
    2013
    2114include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    22 include $(RTEMS_ROOT)/make/leaf.cfg
     15include $(top_srcdir)/../../../../../automake/lib.am
    2316
    2417#
     
    2821AM_CFLAGS += $(CFLAGS_OS_V)
    2922
    30 ${PGM}: ${OBJS}
    31         ${make-rel}
     23$(PGM): $(OBJS)
     24        $(make-rel)
    3225
    33 all: ${ARCH} $(PGM)
     26all-local: $(ARCH) $(OBJS) $(PGM)
    3427
    35 EXTRA_DIST = $(C_FILES) $(S_FILES)
     28.PRECIOUS: $(PGM)
     29
     30EXTRA_DIST = ckinit.c
    3631
    3732include $(top_srcdir)/../../../../../automake/local.am
  • c/src/lib/libcpu/sh/sh7032/delay/Makefile.am

    r8fbdf07 r4e36a2f  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 PGM = ${ARCH}/delay.rel
     7PGM = $(ARCH)/delay.rel
    88
    9 ## C source names
    109C_FILES = delay.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    12 
    13 H_FILES =
    14 
    15 ## Assembly source names
    16 S_FILES =
    17 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
     10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1811
    1912OBJS = $(C_O_FILES)
    2013
    2114include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    22 include $(RTEMS_ROOT)/make/leaf.cfg
     15include $(top_srcdir)/../../../../../automake/lib.am
    2316
    2417#
     
    2619#
    2720
    28 ${PGM}: ${OBJS}
     21$(PGM): $(OBJS)
    2922        $(make-rel)
    3023
    31 all: ${ARCH} $(PGM)
     24all-local: $(ARCH) $(OBJS) $(PGM)
    3225
    33 EXTRA_DIST = $(C_FILES) $(S_FILES)
     26.PRECIOUS: $(PGM)
     27
     28EXTRA_DIST = delay.c
    3429
    3530include $(top_srcdir)/../../../../../automake/local.am
  • c/src/lib/libcpu/sh/sh7032/include/Makefile.am

    r8fbdf07 r4e36a2f  
    66
    77H_FILES = null.h sci.h sh7_pfc.h sh7_sci.h
    8 noinst_HEADERS = $(H_FILES)
    98
    109# NOTE: Unlike other CPUS, we install into a subdirectory to avoid
    1110#       file name conflicts
    12 
    13 TMPINSTALL_FILES = $(PROJECT_INCLUDE)/sh \
    14     $(H_FILES:%=$(PROJECT_INCLUDE)/sh/%)
    1511
    1612$(PROJECT_INCLUDE)/sh:
     
    2016        $(INSTALL_DATA) $< $@
    2117
     18TMPINSTALL_FILES += $(PROJECT_INCLUDE)/sh \
     19    $(H_FILES:%=$(PROJECT_INCLUDE)/sh/%)
     20
    2221all-local: $(TMPINSTALL_FILES)
    2322
     23EXTRA_DIST = null.h sci.h sh7_pfc.h sh7_sci.h
     24
    2425include $(top_srcdir)/../../../../../automake/local.am
  • c/src/lib/libcpu/sh/sh7032/null/Makefile.am

    r8fbdf07 r4e36a2f  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 PGM = ${ARCH}/null.rel
     7PGM = $(ARCH)/null.rel
    88
    9 ## C source names
    109C_FILES = open.c close.c read.c write.c init.c cntrl.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
    12 
    13 H_FILES =
    14 
    15 ## Assembly source names
    16 S_FILES =
    17 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
     10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1811
    1912OBJS = $(C_O_FILES)
    2013
    2114include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    22 include $(RTEMS_ROOT)/make/leaf.cfg
     15include $(top_srcdir)/../../../../../automake/lib.am
    2316
    2417#
     
    2619#
    2720
    28 ${PGM}: ${OBJS}
     21$(PGM): $(OBJS)
    2922        $(make-rel)
    3023
    31 all: ${ARCH} $(PGM)
     24all-local: $(ARCH) $(OBJS) $(PGM)
    3225
    33 EXTRA_DIST = $(C_FILES) $(S_FILES)
     26.PRECIOUS: $(PGM)
     27
     28EXTRA_DIST = close.c cntrl.c init.c open.c read.c write.c
    3429
    3530include $(top_srcdir)/../../../../../automake/local.am
  • c/src/lib/libcpu/sh/sh7032/sci/Makefile.am

    r8fbdf07 r4e36a2f  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 PGM = ${ARCH}/sci.rel
     7PGM = $(ARCH)/sci.rel
    88
    9 ## C source names
    109C_FILES = sci.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1211
    13 H_FILES =
    14 
    15 ## Assembly source names
    16 S_FILES =
    17 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    18 
    19 OBJS = $(C_O_FILES) $(S_O_FILES)
     12OBJS = $(C_O_FILES)
    2013
    2114include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    22 include $(RTEMS_ROOT)/make/leaf.cfg
     15include $(top_srcdir)/../../../../../automake/lib.am
    2316
    2417#
     
    2619#
    2720
    28 ${PGM}: ${OBJS}
     21$(PGM): $(OBJS)
    2922        $(make-rel)
    3023
    31 all: ${ARCH} $(PGM)
     24all-local: $(ARCH) $(OBJS) $(PGM)
    3225
    33 EXTRA_DIST = $(C_FILES) $(S_FILES)
     26.PRECIOUS: $(PGM)
     27
     28EXTRA_DIST = sci.c
    3429
    3530include $(top_srcdir)/../../../../../automake/local.am
  • c/src/lib/libcpu/sh/sh7032/timer/Makefile.am

    r8fbdf07 r4e36a2f  
    44
    55AUTOMAKE_OPTIONS = foreign 1.4
    6 PGM = ${ARCH}/timer.rel
    76
    8 ## C source names
     7PGM = $(ARCH)/timer.rel
     8
    99C_FILES = timer.c
    10 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1111
    12 H_FILES =
    13 
    14 ## Assembly source names
    15 S_FILES =
    16 S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
    17 
    18 OBJS = $(C_O_FILES) $(S_O_FILES)
     12OBJS = $(C_O_FILES)
    1913
    2014include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
    21 include $(RTEMS_ROOT)/make/leaf.cfg
     15include $(top_srcdir)/../../../../../automake/lib.am
    2216
    2317#
     
    2519#
    2620
    27 ${PGM}: ${OBJS}
     21$(PGM): $(OBJS)
    2822        $(make-rel)
    2923
    30 all: ${ARCH} $(PGM)
     24all-local: $(ARCH) $(OBJS) $(PGM)
    3125
    32 EXTRA_DIST = $(C_FILES) $(S_FILES)
     26.PRECIOUS: $(PGM)
     27
     28EXTRA_DIST = timer.c
    3329
    3430include $(top_srcdir)/../../../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.