source: rtems/c/src/exec/score/cpu/arm/Makefile.am @ 4f0b287

4.104.114.84.95
Last change on this file since 4f0b287 was 4f0b287, checked in by Joel Sherrill <joel.sherrill@…>, on 07/17/02 at 17:14:31

2002-07-17 Jay Monkman <jtm@…>

  • rtems/score/cpu_asm.h: Enhanced to include register offsets.
  • Makefile.am: Install rtems/score/cpu_asm.h.
  • cpu.c: Significantly enhanced including the implementation of _CPU_ISR_Get_level.
  • cpu_asm.S: Improved behavior of context switch and interrupt dispatching.
  • rtems/score/arm.h: Improved the CPU model name determination.
  • rtems/score/cpu.h: Improved interrupt disable/enable functions.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../aclocal
6
7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9include $(top_srcdir)/../../../automake/lib.am
10
11$(PROJECT_INCLUDE)/%.h: %.h
12        $(INSTALL_DATA) $< $@
13
14$(PROJECT_INCLUDE):
15        $(mkinstalldirs) $@
16
17$(PROJECT_INCLUDE)/rtems:
18        $(mkinstalldirs) $@
19
20$(PROJECT_INCLUDE)/rtems/score:
21        $(mkinstalldirs) $@
22
23include_HEADERS = asm.h
24PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
25
26include_rtems_scoredir = $(includedir)/rtems/score
27include_rtems_score_HEADERS = \
28    rtems/score/cpu.h \
29    rtems/score/cpu_asm.h \
30    rtems/score/arm.h  \
31    rtems/score/types.h
32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
33    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
34
35C_FILES = cpu.c
36C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
37
38S_FILES = cpu_asm.S
39S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
40
41REL = $(ARCH)/rtems-cpu.rel
42
43rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
44
45$(REL): $(rtems_cpu_rel_OBJECTS)
46        $(make-rel)
47
48all: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
49    $(TMPINSTALL_FILES)
50
51.PRECIOUS: $(REL)
52
53EXTRA_DIST = cpu.c cpu_asm.S
54
55include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.