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

4.104.114.84.95
Last change on this file since cd228d76 was 53021d4, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 11, 2002 at 5:08:38 PM

2002-12-11 Ralf Corsepius <corsepiu@…>

  • configure.ac: Require autoconf-2.57 + automake-1.7.2.
  • Makefile.am: Eliminate C_O_FILES, S_O_FILES, libscorecpu_a_OBJECTS.
  • Property mode set to 100644
File size: 2.0 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) \
25    $(include_HEADERS:%=$(PROJECT_INCLUDE)/%)
26
27include_rtems_scoredir = $(includedir)/rtems/score
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
51PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score \
52    $(include_rtems_score_HEADERS:%.h=$(PROJECT_INCLUDE)/%.h)
53
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
63C_FILES = # cpu.c
64OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
65
66S_FILES = # cpu_asm.S
67OBJS += $(S_FILES:%.S=$(ARCH)/%.$(OBJEXT))
68
69$(LIB): $(OBJS)
70        $(make-library)
71
72all-local: $(ARCH) $(PREINSTALL_FILES) $(LIB) \
73    $(TMPINSTALL_FILES)
74
75include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.