Patches rtems-rc-20000118-3.diff and rtems-rc-20000118-4.diff from

Ralf Corsepius <corsepiu@faw.uni-ulm.de> 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
This commit is contained in:
Joel Sherrill
2000-01-31 15:27:02 +00:00
parent 8fbdf07b62
commit 4e36a2f133
589 changed files with 8531 additions and 15126 deletions

View File

@@ -4,43 +4,38 @@
AUTOMAKE_OPTIONS = foreign 1.4
## C source names
C_FILES = cpuIdent.c
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
H_FILES = cpu.h spr.h io.h mmu.h page.h byteorder.h pgtable.h
noinst_HEADERS = $(H_FILES)
## Assembly source names
S_FILES =
S_O_FILES = $(S_FILES:%.S=${ARCH}/%.o)
OBJS = $(C_O_FILES) $(S_O_FILES)
OBJS = $(C_O_FILES)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../automake/lib.am
LIB = ${ARCH}/libcpuspec.a
LIB = $(ARCH)/libcpuspec.a
#
# (OPTIONAL) Add local stuff here using +=
#
$(LIB): ${OBJS}
$(LIB): $(OBJS)
$(make-library)
PREINSTALL_FILES += \
$(PROJECT_INCLUDE)/libcpu \
$(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
$(PROJECT_INCLUDE)/libcpu:
$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/libcpu/%.h: %.h
$(INSTALL_DATA) $< $@
all-local: ${ARCH} $(PREINSTALL_FILES) $(LIB)
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
$(H_FILES:%=$(PROJECT_INCLUDE)/libcpu/%)
EXTRA_DIST = $(C_FILES) $(S_FILES)
all-local: $(ARCH) $(PREINSTALL_FILES) $(OBJS) $(LIB)
.PRECIOUS: $(LIB)
EXTRA_DIST = byteorder.h cpu.h cpuIdent.c io.h mmu.h page.h pgtable.h spr.h
include $(top_srcdir)/../../../../../automake/local.am