source: rtems/c/src/exec/score/cpu/arm/Makefile.am @ 14926c2e

4.104.114.84.95
Last change on this file since 14926c2e was 14926c2e, checked in by Joel Sherrill <joel.sherrill@…>, on 01/30/02 at 17:48:22

2002-01-29 Ralf Corsepius <corsepiu@…>

  • rtems/Makefile.am: Removed.
  • rtems/score/Makefile.am: Removed.
  • configure.ac: Reflect changes above.
  • Makefile.am: Reflect changes above.
  • Property mode set to 100644
File size: 1.4 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.5
6ACLOCAL_AMFLAGS = -I ../../../../../../aclocal
7
8include $(top_srcdir)/../../../../../../automake/multilib.am
9include $(top_srcdir)/../../../../../../automake/compile.am
10include $(top_srcdir)/../../../../../../automake/lib.am
11
12$(PROJECT_INCLUDE)/%.h: %.h
13        $(INSTALL_DATA) $< $@
14
15$(PROJECT_INCLUDE):
16        $(mkinstalldirs) $@
17
18$(PROJECT_INCLUDE)/rtems:
19        $(mkinstalldirs) $@
20
21$(PROJECT_INCLUDE)/rtems/score:
22        $(mkinstalldirs) $@
23
24include_HEADERS = asm.h
25PREINSTALL_FILES = $(PROJECT_INCLUDE) $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
26
27include_rtems_scoredir = $(includedir)/rtems/score
28include_rtems_score_HEADERS = \
29    rtems/score/cpu.h \
30    rtems/score/arm.h  \
31    rtems/score/armtypes.h
32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
33    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
34
35$(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o: $(ARCH)/rtems.o
36        $(INSTALL_DATA) $< $@
37
38C_FILES = cpu.c
39C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
40
41S_FILES = cpu_asm.S
42S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.o)
43
44REL = $(ARCH)/rtems-cpu.rel
45
46rtems_cpu_rel_OBJECTS = $(C_O_FILES) $(S_O_FILES)
47
48$(REL): $(rtems_cpu_rel_OBJECTS)
49        $(make-rel)
50
51TMPINSTALL_FILES += $(PROJECT_RELEASE)/lib$(MULTISUBDIR)/rtems$(LIB_VARIANT).o
52
53all: $(ARCH) $(PREINSTALL_FILES) $(rtems_cpu_rel_OBJECTS) $(REL) \
54    $(TMPINSTALL_FILES)
55
56.PRECIOUS: $(REL)
57
58EXTRA_DIST = cpu.c cpu_asm.S
59
60include $(top_srcdir)/../../../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.