1 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
2 | |
---|
3 | include $(top_srcdir)/../../../automake/compile.am |
---|
4 | |
---|
5 | noinst_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. |
---|
12 | if shared |
---|
13 | include_libcpudir = $(includedir)/libcpu |
---|
14 | |
---|
15 | include_libcpu_HEADERS = ../shared/include/cache.h |
---|
16 | |
---|
17 | noinst_PROGRAMS += shared/shared-score.rel |
---|
18 | shared_shared_score_rel_SOURCES = shared/score/cpu.c shared/score/interrupt.S |
---|
19 | shared_shared_score_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
20 | shared_shared_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
21 | |
---|
22 | noinst_PROGRAMS += shared/sparc64-syscall.rel |
---|
23 | shared_sparc64_syscall_rel_SOURCES = shared/syscall/sparc64-syscall.S \ |
---|
24 | shared/syscall/sparc64-syscall.h |
---|
25 | shared_sparc64_syscall_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
26 | shared_sparc64_syscall_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
27 | |
---|
28 | noinst_PROGRAMS += shared/interrupts.rel |
---|
29 | shared_interrupts_rel_SOURCES = shared/interrupts/installisrentries.c |
---|
30 | shared_interrupts_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/interrupts |
---|
31 | shared_interrupts_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
32 | |
---|
33 | noinst_PROGRAMS += shared/cache.rel |
---|
34 | shared_cache_rel_SOURCES = shared/cache/cache.c shared/cache/cache_.h \ |
---|
35 | ../shared/src/cache_aligned_malloc.c ../shared/src/cache_manager.c |
---|
36 | shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache |
---|
37 | shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
38 | endif |
---|
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 | |
---|
67 | include $(srcdir)/preinstall.am |
---|
68 | include $(top_srcdir)/../../../automake/local.am |
---|