source: rtems/cpukit/score/cpu/arm/Makefile.am @ f8cb04a5

4.104.114.84.95
Last change on this file since f8cb04a5 was a85d8ec, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/26/02 at 13:32:13

2002-07-26 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Build libscorecpu.a instead of rtems-cpu.rel.
  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[178fae8]1##
[08330bf]2## $Id$
[178fae8]3##
[08330bf]4
[2f6261d]5ACLOCAL_AMFLAGS = -I ../../../aclocal
[08330bf]6
[2f6261d]7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9include $(top_srcdir)/../../../automake/lib.am
[08330bf]10
[14926c2e]11$(PROJECT_INCLUDE)/%.h: %.h
12        $(INSTALL_DATA) $< $@
13
[08330bf]14$(PROJECT_INCLUDE):
15        $(mkinstalldirs) $@
16
[14926c2e]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 \
[4f0b287]29    rtems/score/cpu_asm.h \
[14926c2e]30    rtems/score/arm.h  \
[68f0058]31    rtems/score/types.h
[14926c2e]32PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
33    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
[08330bf]34
[14926c2e]35C_FILES = cpu.c
[53f6727]36C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
[14926c2e]37
38S_FILES = cpu_asm.S
[53f6727]39S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
[14926c2e]40
[a85d8ec]41LIB = $(ARCH)/libscorecpu.a
[14926c2e]42
[a85d8ec]43libscorecpu_a_OBJECTS = $(C_O_FILES) $(S_O_FILES)
[14926c2e]44
[a85d8ec]45$(LIB): $(libscorecpu_a_OBJECTS)
46        $(make-library)
[08330bf]47
[a85d8ec]48all: $(ARCH) $(PREINSTALL_FILES) $(libscorecpu_a_OBJECTS) $(LIB) \
[178fae8]49    $(TMPINSTALL_FILES)
[08330bf]50
[329509fb]51EXTRA_DIST = cpu.c cpu_asm.S
[08330bf]52
[2f6261d]53include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.