source: rtems/c/src/lib/libcpu/sh/Makefile.am @ c37b516

4.104.114.84.95
Last change on this file since c37b516 was 305d6bfd, checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/11/05 at 07:57:29

Merge-in sh7750/Makefile.am.

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