[fe8bc62f] | 1 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
[400c552] | 2 | |
---|
[9fc8ed1] | 3 | include $(top_srcdir)/../../../automake/compile.am |
---|
| 4 | |
---|
| 5 | noinst_PROGRAMS = |
---|
| 6 | |
---|
| 7 | if sh7032 |
---|
| 8 | # NOTE: Unlike other CPUS, we install into a subdirectory to avoid |
---|
| 9 | # file name conflicts |
---|
| 10 | include_shdir = $(includedir)/sh |
---|
| 11 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
| 12 | |
---|
| 13 | include_sh_HEADERS = sh7032/include/sci.h sh7032/include/sh7_pfc.h sh7032/include/sh7_sci.h |
---|
| 14 | include_rtems_score_HEADERS = sh7032/include/ispsh7032.h sh7032/include/iosh7032.h |
---|
| 15 | |
---|
[ba1a141a] | 16 | ## sh7032/clock |
---|
[9fc8ed1] | 17 | noinst_PROGRAMS += sh7032/clock.rel |
---|
| 18 | sh7032_clock_rel_SOURCES = sh7032/clock/ckinit.c |
---|
| 19 | sh7032_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 20 | sh7032_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 21 | |
---|
[ba1a141a] | 22 | ## sh7032/delay |
---|
[9fc8ed1] | 23 | noinst_PROGRAMS += sh7032/delay.rel |
---|
| 24 | sh7032_delay_rel_SOURCES = sh7032/delay/delay.c |
---|
| 25 | sh7032_delay_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 26 | sh7032_delay_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 27 | |
---|
[ba1a141a] | 28 | ## sh7032/sci |
---|
[9fc8ed1] | 29 | noinst_PROGRAMS += sh7032/sci.rel |
---|
| 30 | sh7032_sci_rel_SOURCES = sh7032/sci/sci.c |
---|
| 31 | sh7032_sci_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 32 | sh7032_sci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 33 | |
---|
[ba1a141a] | 34 | ## sh7032/score |
---|
[9fc8ed1] | 35 | noinst_PROGRAMS += sh7032/score.rel |
---|
| 36 | sh7032_score_rel_SOURCES = sh7032/score/cpu_asm.c sh7032/score/ispsh7032.c |
---|
| 37 | sh7032_score_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 38 | sh7032_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 39 | |
---|
[ba1a141a] | 40 | ### sh7032/timer |
---|
[9fc8ed1] | 41 | noinst_PROGRAMS += sh7032/timer.rel |
---|
| 42 | sh7032_timer_rel_SOURCES = sh7032/timer/timer.c |
---|
| 43 | sh7032_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 44 | sh7032_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 45 | endif |
---|
[400c552] | 46 | |
---|
[ba1a141a] | 47 | if sh7045 |
---|
| 48 | # NOTE: Unlike other CPUS, we install into a subdirectory to avoid |
---|
| 49 | # file name conflicts |
---|
| 50 | include_shdir = $(includedir)/sh |
---|
| 51 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
| 52 | |
---|
| 53 | include_sh_HEADERS = sh7045/include/io_types.h sh7045/include/sci.h sh7045/include/sh7_pfc.h \ |
---|
| 54 | sh7045/include/sh7_sci.h sh7045/include/sci_termios.h |
---|
| 55 | include_rtems_score_HEADERS = sh7045/include/ispsh7045.h sh7045/include/iosh7045.h |
---|
| 56 | |
---|
| 57 | ## sh7045/clock |
---|
| 58 | noinst_PROGRAMS += sh7045/clock.rel |
---|
| 59 | sh7045_clock_rel_SOURCES = sh7045/clock/ckinit.c |
---|
| 60 | sh7045_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 61 | sh7045_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 62 | |
---|
| 63 | ## sh7045/sci |
---|
| 64 | noinst_PROGRAMS += sh7045/sci.rel |
---|
| 65 | sh7045_sci_rel_SOURCES = sh7045/sci/sci.c sh7045/sci/sci_termios.c |
---|
| 66 | sh7045_sci_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 67 | sh7045_sci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 68 | |
---|
| 69 | ## sh7045/score |
---|
| 70 | noinst_PROGRAMS += sh7045/score.rel |
---|
| 71 | sh7045_score_rel_SOURCES = sh7045/score/cpu_asm.c sh7045/score/ispsh7045.c |
---|
| 72 | sh7045_score_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 73 | sh7045_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 74 | |
---|
[305d6bfd] | 75 | ## sh7045/timer |
---|
[ba1a141a] | 76 | noinst_PROGRAMS += sh7045/timer.rel |
---|
| 77 | sh7045_timer_rel_SOURCES = sh7045/timer/timer.c |
---|
| 78 | sh7045_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 79 | sh7045_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 80 | endif |
---|
| 81 | |
---|
[305d6bfd] | 82 | if sh7750 |
---|
| 83 | # NOTE: Unlike other CPUS, we install into a subdirectory to avoid |
---|
| 84 | # file name conflicts |
---|
| 85 | include_shdir = $(includedir)/sh |
---|
| 86 | include_rtems_scoredir = $(includedir)/rtems/score |
---|
| 87 | |
---|
| 88 | include_sh_HEADERS = sh7750/include/sh/sh4uart.h |
---|
| 89 | include_rtems_score_HEADERS = sh7750/include/rtems/score/sh7750_regs.h \ |
---|
| 90 | sh7750/include/rtems/score/ipl.h sh7750/include/rtems/score/iosh7750.h \ |
---|
| 91 | sh7750/include/rtems/score/ispsh7750.h sh7750/include/rtems/score/sh4_regs.h |
---|
| 92 | |
---|
| 93 | ## sh7750/clock |
---|
| 94 | noinst_PROGRAMS += sh7750/clock.rel |
---|
| 95 | sh7750_clock_rel_SOURCES = sh7750/clock/ckinit.c |
---|
| 96 | sh7750_clock_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 97 | sh7750_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 98 | |
---|
| 99 | ## sh7750/sci |
---|
| 100 | noinst_PROGRAMS += sh7750/sci.rel |
---|
| 101 | sh7750_sci_rel_SOURCES = sh7750/sci/sh4uart.c |
---|
| 102 | sh7750_sci_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 103 | sh7750_sci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 104 | |
---|
| 105 | ## sh7750/score |
---|
| 106 | noinst_PROGRAMS += sh7750/score.rel |
---|
| 107 | sh7750_score_rel_SOURCES = sh7750/score/cpu_asm.c sh7750/score/ispsh7750.c |
---|
| 108 | sh7750_score_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 109 | sh7750_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 110 | |
---|
| 111 | ## sh7750/timer |
---|
| 112 | noinst_PROGRAMS += sh7750/timer.rel |
---|
| 113 | sh7750_timer_rel_SOURCES = sh7750/timer/timer.c |
---|
| 114 | sh7750_timer_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 115 | sh7750_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 116 | endif |
---|
| 117 | |
---|
[be7ca34] | 118 | if shgdb |
---|
| 119 | ## sh7045/score |
---|
| 120 | noinst_PROGRAMS += shgdb/score.rel |
---|
| 121 | shgdb_score_rel_SOURCES = shgdb/score/cpu_asm.c shgdb/score/ispshgdb.c |
---|
| 122 | shgdb_score_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
| 123 | shgdb_score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
| 124 | endif |
---|
| 125 | |
---|
[ba1a141a] | 126 | include $(srcdir)/preinstall.am |
---|
[2334e94b] | 127 | include $(top_srcdir)/../../../automake/local.am |
---|