blob: 0bb6ba34beb3b69a520fc4923340ce38c1bd3577 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
##
## $Id$
##
AUTOMAKE_OPTIONS = foreign 1.4
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)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../../../../../automake/lib.am
$(PROJECT_INCLUDE)/libcpu:
$(mkinstalldirs) $@
$(PROJECT_INCLUDE)/libcpu/%.h: %.h
$(INSTALL_DATA) $< $@
PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu \
$(PROJECT_INCLUDE)/libcpu/raw_exception.h
#
# (OPTIONAL) Add local stuff here using +=
#
AM_CFLAGS = $(CFLAGS_OS_V)
$(PGM): $(exceptions_rel_OBJECTS)
$(make-rel)
all-local: ${ARCH} $(PREINSTALL_FILES) $(PGM)
EXTRA_DIST = $(C_FILES) $(S_FILES)
include $(top_srcdir)/../../../../../automake/local.am
|