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

4.115
Last change on this file since c56982c was c56982c, checked in by Joel Sherrill <joel.sherrill@…>, on Jun 17, 2010 at 4:16:25 PM

2010-06-17 Joel Sherrill <joel.sherrill@…>

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