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 | |
---|
14 | noinst_PROGRAMS += shared/shared-score.rel |
---|
15 | shared_shared_score_rel_SOURCES = shared/score/cpu.c shared/score/interrupt.S |
---|
16 | shared_shared_score_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
17 | shared_shared_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
18 | |
---|
19 | noinst_PROGRAMS += shared/sparc64-syscall.rel |
---|
20 | shared_sparc64_syscall_rel_SOURCES = shared/syscall/sparc64-syscall.S \ |
---|
21 | shared/syscall/sparc64-syscall.h |
---|
22 | shared_sparc64_syscall_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
23 | shared_sparc64_syscall_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
24 | endif |
---|
25 | |
---|
26 | ### This is an example of how to define a separate score implementation. |
---|
27 | ## NOTE: Unlike other CPUs, we install into a subdirectory to avoid |
---|
28 | ## file name conflicts (See sh CPU for simexampleilar approach) |
---|
29 | #include_sparc64dir = $(includedir)/sparc64 |
---|
30 | #include_rtems_scoredir = $(includedir)/rtems/score |
---|
31 | # |
---|
32 | #if simexample |
---|
33 | #include_sparc64_HEADERS = |
---|
34 | #include_rtems_score_HEADERS = $(include_rtems_scoredir)/sparc64.h \ |
---|
35 | # $(include_rtems_scoredir)/cpu.h \ |
---|
36 | # $(include_rtems_scoredir)/types.h |
---|
37 | |
---|
38 | ## simexample/score |
---|
39 | #noinst_PROGRAMS += simexample/score.rel |
---|
40 | #simexample_score_rel_SOURCES = |
---|
41 | #simexample_score_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
42 | #simexample_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
43 | # |
---|
44 | #endif |
---|
45 | ### End of example. |
---|
46 | |
---|
47 | include $(top_srcdir)/../../../automake/local.am |
---|