source: rtems/cpukit/score/cpu/powerpc/Makefile.am @ a85d8ec

4.104.114.84.95
Last change on this file since a85d8ec 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: 2.1 KB
RevLine 
[df49c60]1##
[43283456]2## $Id$
[df49c60]3##
[43283456]4
[2f6261d]5ACLOCAL_AMFLAGS = -I ../../../aclocal
[43283456]6
[2f6261d]7include $(top_srcdir)/../../../automake/multilib.am
8include $(top_srcdir)/../../../automake/compile.am
9include $(top_srcdir)/../../../automake/lib.am
[b0f78e8]10
[dfca13fc]11$(PROJECT_INCLUDE)/%.h: %.h
12        $(INSTALL_DATA) $< $@
13
[b0f78e8]14$(PROJECT_INCLUDE):
15        $(mkinstalldirs) $@
16
[dfca13fc]17$(PROJECT_INCLUDE)/rtems:
18        $(mkinstalldirs) $@
19
20$(PROJECT_INCLUDE)/rtems/score:
21        $(mkinstalldirs) $@
22
23include_HEADERS = asm.h
24PREINSTALL_FILES = $(PROJECT_INCLUDE) \
25    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
26
27include_rtems_scoredir = $(includedir)/rtems/score
[4a0d87e]28include_rtems_score_HEADERS = \
29  rtems/score/ppc.h \
30  rtems/score/types.h
31include_rtems_score_HEADERS += rtems/score/cpu.h
32
33$(PROJECT_INCLUDE)/rtems/old-exceptions:
34        $(mkinstalldirs) $@
35
36include_rtems_old_exceptionsdir = $(includedir)/rtems/old-exceptions
37include_rtems_old_exceptions_HEADERS = rtems/old-exceptions/cpu.h
38
39$(PROJECT_INCLUDE)/rtems/new-exceptions:
40        $(mkinstalldirs) $@
41
42include_rtems_new_exceptionsdir = $(includedir)/rtems/new-exceptions
43include_rtems_new_exceptions_HEADERS = rtems/new-exceptions/cpu.h
44
45$(PROJECT_INCLUDE)/rtems/powerpc:
46        $(mkinstalldirs) $@
47
48include_rtems_powerpcdir = $(includedir)/rtems/powerpc
49include_rtems_powerpc_HEADERS = rtems/powerpc/registers.h
50
[dfca13fc]51PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
52    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
[b0f78e8]53
[4a0d87e]54PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/old-exceptions \
55    $(include_rtems_old_exceptions_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
56
57PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/new-exceptions \
58    $(include_rtems_new_exceptions_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
59
60PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/powerpc \
61    $(include_rtems_powerpc_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
62
[a85d8ec]63C_FILES = # cpu.c
64C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
[b0f78e8]65
[a85d8ec]66S_FILES = # cpu_asm.S
67S_O_FILES = $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
[b0f78e8]68
[a85d8ec]69libscorecpu_a_OBJECTS = $(C_O_FILES) $(S_O_FILES)
[b0f78e8]70
[a85d8ec]71$(LIB): $(libscorecpu_a_OBJECTS)
72        $(make-library)
[b0f78e8]73
[a85d8ec]74all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) \
[b0f78e8]75    $(TMPINSTALL_FILES)
[43283456]76
[2f6261d]77include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.