source: rtems/c/src/lib/libcpu/sparc64/Makefile.am @ c499856

4.115
Last change on this file since c499856 was f7d50ed8, checked in by Ralf Corsépius <ralf.corsepius@…>, on 05/04/12 at 06:51:09

Remove CVS-Ids.

  • Property mode set to 100644
File size: 2.5 KB
Line 
1ACLOCAL_AMFLAGS = -I ../../../aclocal
2
3include $(top_srcdir)/../../../automake/compile.am
4
5noinst_PROGRAMS =
6
7# NOTE: shared applies to targets meant to run with supervisor privilege,
8# i.e. sun4u or sun4v. Any targets (e.g. simulators) that cannot emulate
9# supervisor privilege should use their own score and sparc64-syscall.
10# The other shared code is probably usable, but should be defined separately.
11# See the example at the end of Makefile.am.
12if shared
13include_libcpudir = $(includedir)/libcpu
14
15include_libcpu_HEADERS = ../shared/include/cache.h
16
17noinst_PROGRAMS += shared/shared-score.rel
18shared_shared_score_rel_SOURCES = shared/score/cpu.c shared/score/interrupt.S
19shared_shared_score_rel_CPPFLAGS = $(AM_CPPFLAGS)
20shared_shared_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
21
22noinst_PROGRAMS += shared/sparc64-syscall.rel
23shared_sparc64_syscall_rel_SOURCES = shared/syscall/sparc64-syscall.S \
24  shared/syscall/sparc64-syscall.h
25shared_sparc64_syscall_rel_CPPFLAGS = $(AM_CPPFLAGS)
26shared_sparc64_syscall_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
27
28noinst_PROGRAMS += shared/interrupts.rel
29shared_interrupts_rel_SOURCES = shared/interrupts/installisrentries.c
30shared_interrupts_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/interrupts
31shared_interrupts_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
32
33noinst_PROGRAMS += shared/cache.rel
34shared_cache_rel_SOURCES = shared/cache/cache.c shared/cache/cache_.h \
35    ../shared/src/cache_aligned_malloc.c ../shared/src/cache_manager.c
36shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
37shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
38endif
39
40#if has_instruction_cache
41#cache_rel_CPPFLAGS += -DHAS_INSTRUCTION_CACHE
42#endif
43
44
45
46### This is an example of how to define a separate score implementation.
47## NOTE: Unlike other CPUs, we install into a subdirectory to avoid
48##       file name conflicts (See sh CPU for simexampleilar approach)
49#include_sparc64dir = $(includedir)/sparc64
50#include_rtems_scoredir = $(includedir)/rtems/score
51#
52#if simexample
53#include_sparc64_HEADERS = 
54#include_rtems_score_HEADERS = $(include_rtems_scoredir)/sparc64.h \
55#                              $(include_rtems_scoredir)/cpu.h \
56#                              $(include_rtems_scoredir)/types.h
57
58## simexample/score
59#noinst_PROGRAMS += simexample/score.rel
60#simexample_score_rel_SOURCES =
61#simexample_score_rel_CPPFLAGS = $(AM_CPPFLAGS)
62#simexample_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
63#
64#endif
65### End of example.
66
67include $(srcdir)/preinstall.am
68include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.