Changeset 4e36a2f in rtems for c/src/lib/libbsp/no_cpu


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/libbsp/no_cpu/no_bsp
Files:
1 added
1 deleted
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/no_cpu/no_bsp/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
    1312OBJS = $(C_O_FILES)
     
    2019#
    2120
    22 $(PGM): ${OBJS}
     21$(PGM): $(OBJS)
    2322        $(make-rel)
    24 
    25 all-local: ${ARCH} $(PGM)
    2623
    2724# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    2825
     26all-local: $(ARCH) $(OBJS) $(PGM)
     27
     28.PRECIOUS: $(PGM)
     29
     30EXTRA_DIST = ckinit.c
     31
    2932include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libbsp/no_cpu/no_bsp/console/Makefile.am

    r8fbdf07 r4e36a2f  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 PGM = ${ARCH}/console.rel
     7PGM = $(ARCH)/console.rel
    88
    9 ## C source names
    109C_FILES = console.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1211
    1312OBJS = $(C_O_FILES)
     
    2019#
    2120
    22 $(PGM): ${OBJS}
     21$(PGM): $(OBJS)
    2322        $(make-rel)
    24 
    25 all-local: ${ARCH} $(PGM)
    2623
    2724# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    2825
    29 EXTRA_DIST = $(C_FILES)
     26all-local: $(ARCH) $(OBJS) $(PGM)
     27
     28.PRECIOUS: $(PGM)
     29
     30EXTRA_DIST = console.c
    3031
    3132include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libbsp/no_cpu/no_bsp/include/Makefile.am

    r8fbdf07 r4e36a2f  
    66
    77H_FILES = bsp.h
    8 noinst_HEADERS = $(H_FILES)
    98
    109$(PROJECT_INCLUDE):
    1110        $(mkinstalldirs) $@
    1211
    13 $(PROJECT_INCLUDE)/%.h: %.h
     12$(PROJECT_INCLUDE)/bsp.h: bsp.h
    1413        $(INSTALL_DATA) $< $@
    1514
     
    1716        $(INSTALL_DATA) $< $@
    1817
    19 TMPINSTALL_FILES += \
    20 $(PROJECT_INCLUDE) \
    21 $(H_FILES:%.h=$(PROJECT_INCLUDE)/%.h) \
    22 $(PROJECT_INCLUDE)/coverhd.h
     18TMPINSTALL_FILES += $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/bsp.h \
     19    $(PROJECT_INCLUDE)/coverhd.h
    2320
    2421all-local: $(TMPINSTALL_FILES)
    2522
     23EXTRA_DIST = bsp.h
     24
    2625include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libbsp/no_cpu/no_bsp/shmsupp/Makefile.am

    r8fbdf07 r4e36a2f  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 PGM = ${ARCH}/shmsupp.rel
     7PGM = $(ARCH)/shmsupp.rel
    88
    99## C source names
    1010C_FILES = addrconv.c getcfg.c lock.c mpisr.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     11C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1212
    1313OBJS = $(C_O_FILES)
     
    2020#
    2121
    22 $(PGM): ${OBJS}
     22$(PGM): $(OBJS)
    2323        $(make-rel)
    2424
    2525if HAS_MP
    26 all-local: ${ARCH} $(PGM)
    27 else
    28 all-local:
     26all-local: $(ARCH) $(PGM)
    2927endif
    3028
    3129# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    3230
    33 EXTRA_DIST = $(C_FILES)
     31EXTRA_DIST = addrconv.c getcfg.c lock.c mpisr.c
    3432
    3533include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libbsp/no_cpu/no_bsp/startup/Makefile.am

    r8fbdf07 r4e36a2f  
    77VPATH = @srcdir@:@srcdir@/../../../shared
    88
    9 PGM = ${ARCH}/startup.rel
     9PGM = $(ARCH)/startup.rel
    1010
    11 ## C source names
    1211C_FILES = bspclean.c bsplibc.c bsppost.c bspstart.c main.c bootcard.c sbrk.c \
    1312    setvec.c gnatinstallhandler.c
    14 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1514
    1615OBJS = $(C_O_FILES)
     
    2322#
    2423
    25 $(PGM): ${OBJS}
     24$(PGM): $(OBJS)
    2625        $(make-rel)
    2726
     
    2928        $(INSTALL_DATA) $< $@
    3029
    31 TMPINSTALL_FILES = $(PROJECT_RELEASE)/lib/linkcmds
     30TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib/linkcmds
    3231
    33 all-local: ${ARCH} $(PGM) $(TMPINSTALL_FILES)
     32all-local: $(ARCH) $(OBJS) $(PGM) $(TMPINSTALL_FILES)
    3433
    35 EXTRA_DIST = bspclean.c bspstart.c main.c setvec.c linkcmds
     34.PRECIOUS: $(PGM)
     35
     36EXTRA_DIST = bspclean.c bspstart.c linkcmds main.c setvec.c
    3637
    3738include $(top_srcdir)/../../../../../../automake/local.am
  • c/src/lib/libbsp/no_cpu/no_bsp/timer/Makefile.am

    r8fbdf07 r4e36a2f  
    55AUTOMAKE_OPTIONS = foreign 1.4
    66
    7 PGM = ${ARCH}/timer.rel
     7PGM = $(ARCH)/timer.rel
    88
    9 ## C source names
    109C_FILES = timer.c timerisr.c
    11 C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
     10C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
    1211
    1312OBJS = $(C_O_FILES)
     
    2019#
    2120
    22 $(PGM): ${OBJS}
     21$(PGM): $(OBJS)
    2322        $(make-rel)
    24 
    25 all-local: ${ARCH} $(PGM)
    2623
    2724# the .rel file built here will be put into libbsp.a by ../wrapup/Makefile
    2825
    29 EXTRA_DIST = $(C_FILES)
     26all-local: $(ARCH) $(OBJS) $(PGM)
     27
     28.PRECIOUS: $(PGM)
     29
     30EXTRA_DIST = timer.c timerisr.c
    3031
    3132include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracChangeset for help on using the changeset viewer.