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

4.104.114.84.9
Last change on this file since e20e335 was e20e335, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 6, 2004 at 11:39:28 AM

2004-02-06 Ralf Corsepius <corsepiu@…>

  • sh7032/Makefile.am, sh7045/Makefile.am, sh7750/Makefile.am: Don't include .../lib.am.
  • Property mode set to 100644
File size: 4.1 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/../../../automake/compile.am
6
7CLEANFILES =
8EXTRA_PROGRAMS =
9noinst_DATA =
10
11if sh7032
12# NOTE: Unlike other CPUS, we install into a subdirectory to avoid
13#       file name conflicts
14include_shdir = $(includedir)/sh
15include_rtems_scoredir = $(includedir)/rtems/score
16
17include_sh_HEADERS = include/sci.h include/sh7_pfc.h include/sh7_sci.h
18include_rtems_score_HEADERS = include/ispsh7032.h include/iosh7032.h
19
20# clock
21EXTRA_PROGRAMS += clock.rel
22CLEANFILES += clock.rel
23clock_rel_SOURCES = clock/ckinit.c
24clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
25clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
26
27EXTRA_PROGRAMS += clock_g.rel
28CLEANFILES += clock_g.rel
29clock_g_rel_SOURCES = $(clock_rel_SOURCES)
30clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
31clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
32
33noinst_DATA += clock$(LIB_VARIANT).rel
34
35# delay
36EXTRA_PROGRAMS += delay.rel
37CLEANFILES += delay.rel
38delay_rel_SOURCES = delay/delay.c
39delay_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
40delay_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42EXTRA_PROGRAMS += delay_g.rel
43CLEANFILES += delay_g.rel
44delay_g_rel_SOURCES = $(delay_rel_SOURCES)
45delay_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
46delay_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48noinst_DATA += delay$(LIB_VARIANT).rel
49
50# sci
51EXTRA_PROGRAMS += sci.rel
52CLEANFILES += sci.rel
53sci_rel_SOURCES = sci/sci.c
54sci_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
55sci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
56
57EXTRA_PROGRAMS += sci_g.rel
58CLEANFILES += sci_g.rel
59sci_g_rel_SOURCES = $(sci_rel_SOURCES)
60sci_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
61sci_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62
63noinst_DATA += sci$(LIB_VARIANT).rel
64
65# score
66EXTRA_PROGRAMS += score.rel
67CLEANFILES += score.rel
68score_rel_SOURCES =score/cpu_asm.c score/ispsh7032.c
69score_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
70score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
71
72EXTRA_PROGRAMS += score_g.rel
73CLEANFILES += score_g.rel
74score_g_rel_SOURCES = $(score_rel_SOURCES)
75score_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
76score_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
77
78noinst_DATA += score$(LIB_VARIANT).rel
79
80## timer
81EXTRA_PROGRAMS += timer.rel
82CLEANFILES += timer.rel
83timer_rel_SOURCES = timer/timer.c
84timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
85timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
86
87EXTRA_PROGRAMS += timer_g.rel
88CLEANFILES += timer_g.rel
89timer_g_rel_SOURCES = $(timer_rel_SOURCES)
90timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
91timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
92
93noinst_DATA += timer$(LIB_VARIANT).rel
94endif
95
96all-local: $(PREINSTALL_FILES)
97
98PREINSTALL_DIRS =
99PREINSTALL_FILES =
100
101if sh7032
102$(PROJECT_INCLUDE)/sh/$(dirstamp):
103        @$(mkdir_p) $(PROJECT_INCLUDE)/sh
104        @: > $(PROJECT_INCLUDE)/sh/$(dirstamp)
105PREINSTALL_DIRS += $(PROJECT_INCLUDE)/sh/$(dirstamp)
106
107$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
108        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
109        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
110PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
111
112$(PROJECT_INCLUDE)/sh/sci.h: include/sci.h $(PROJECT_INCLUDE)/sh/$(dirstamp)
113        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sh/sci.h
114PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/sci.h
115
116$(PROJECT_INCLUDE)/sh/sh7_pfc.h: include/sh7_pfc.h $(PROJECT_INCLUDE)/sh/$(dirstamp)
117        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sh/sh7_pfc.h
118PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/sh7_pfc.h
119
120$(PROJECT_INCLUDE)/sh/sh7_sci.h: include/sh7_sci.h $(PROJECT_INCLUDE)/sh/$(dirstamp)
121        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sh/sh7_sci.h
122PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/sh7_sci.h
123
124$(PROJECT_INCLUDE)/rtems/score/ispsh7032.h: include/ispsh7032.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
125        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ispsh7032.h
126PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ispsh7032.h
127
128$(PROJECT_INCLUDE)/rtems/score/iosh7032.h: include/iosh7032.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
129        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/iosh7032.h
130PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/iosh7032.h
131endif
132
133CLEANFILES += $(PREINSTALL_FILES)
134DISTCLEANFILES = $(PREINSTALL_DIRS)
135
136include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.