forked from Imagelibrary/rtems
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:
@@ -4,18 +4,16 @@
|
||||
|
||||
AUTOMAKE_OPTIONS = foreign 1.4
|
||||
|
||||
PGM = ${ARCH}/exceptions.rel
|
||||
PGM = $(ARCH)/exceptions.rel
|
||||
|
||||
## C sources
|
||||
C_FILES = raw_exception.c
|
||||
|
||||
## Assembly sources
|
||||
S_FILES = asm_utils.S
|
||||
|
||||
H_FILES = raw_exception.h
|
||||
noinst_HEADERS = $(H_FILES)
|
||||
|
||||
exceptions_rel_OBJECTS = $(C_FILES:%.c=${ARCH}/%.o) $(S_FILES:%.S=${ARCH}/%.o)
|
||||
exceptions_rel_OBJECTS = $(C_FILES:%.c=$(ARCH)/%.o) \
|
||||
$(S_FILES:%.S=$(ARCH)/%.o)
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../../../../../automake/lib.am
|
||||
@@ -25,9 +23,6 @@ $(PROJECT_INCLUDE)/libcpu:
|
||||
$(PROJECT_INCLUDE)/libcpu/%.h: %.h
|
||||
$(INSTALL_DATA) $< $@
|
||||
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
|
||||
$(PROJECT_INCLUDE)/libcpu/raw_exception.h
|
||||
|
||||
#
|
||||
# (OPTIONAL) Add local stuff here using +=
|
||||
#
|
||||
@@ -37,8 +32,13 @@ AM_CFLAGS = $(CFLAGS_OS_V)
|
||||
$(PGM): $(exceptions_rel_OBJECTS)
|
||||
$(make-rel)
|
||||
|
||||
all-local: ${ARCH} $(PREINSTALL_FILES) $(PGM)
|
||||
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
|
||||
$(PROJECT_INCLUDE)/libcpu/raw_exception.h
|
||||
|
||||
EXTRA_DIST = $(C_FILES) $(S_FILES)
|
||||
all-local: $(ARCH) $(PREINSTALL_FILES) $(exceptions_rel_OBJECTS) $(PGM)
|
||||
|
||||
.PRECIOUS: $(PGM)
|
||||
|
||||
EXTRA_DIST = asm_utils.S raw_exception.c raw_exception.h
|
||||
|
||||
include $(top_srcdir)/../../../../../automake/local.am
|
||||
|
||||
Reference in New Issue
Block a user