source: rtems/c/src/lib/libcpu/sh/sh7750/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 sh7750
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/sh/sh4uart.h
18include_rtems_score_HEADERS = include/rtems/score/sh7750_regs.h \
19    include/rtems/score/ipl.h include/rtems/score/iosh7750.h \
20    include/rtems/score/ispsh7750.h include/rtems/score/sh4_regs.h
21
22## clock
23EXTRA_PROGRAMS += clock.rel
24CLEANFILES += clock.rel
25clock_rel_SOURCES = clock/ckinit.c
26clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
27clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
28
29EXTRA_PROGRAMS += clock_g.rel
30CLEANFILES += clock_g.rel
31clock_g_rel_SOURCES = $(clock_rel_SOURCES)
32clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
33clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
34
35noinst_DATA += clock$(LIB_VARIANT).rel
36
37## sci
38EXTRA_PROGRAMS += sci.rel
39CLEANFILES += sci.rel
40sci_rel_SOURCES = sci/sh4uart.c
41sci_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
42sci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
43
44EXTRA_PROGRAMS += sci_g.rel
45CLEANFILES += sci_g.rel
46sci_g_rel_SOURCES = $(sci_rel_SOURCES)
47sci_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
48sci_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
49
50noinst_DATA += sci$(LIB_VARIANT).rel
51
52## score
53EXTRA_PROGRAMS += score.rel
54CLEANFILES += score.rel
55score_rel_SOURCES = score/cpu_asm.c score/ispsh7750.c
56score_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
57score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
58
59EXTRA_PROGRAMS += score_g.rel
60CLEANFILES += score_g.rel
61score_g_rel_SOURCES = $(score_rel_SOURCES)
62score_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
63score_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
64
65noinst_DATA += score$(LIB_VARIANT).rel
66
67## timer
68EXTRA_PROGRAMS += timer.rel
69CLEANFILES += timer.rel
70timer_rel_SOURCES = timer/timer.c
71timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
72timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
73
74EXTRA_PROGRAMS += timer_g.rel
75CLEANFILES += timer_g.rel
76timer_g_rel_SOURCES = $(timer_rel_SOURCES)
77timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
78timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
79
80noinst_DATA += timer$(LIB_VARIANT).rel
81endif
82
83## --
84
85all-local: $(PREINSTALL_FILES)
86
87PREINSTALL_DIRS =
88PREINSTALL_FILES =
89
90if sh7750
91$(PROJECT_INCLUDE)/sh/$(dirstamp):
92        @$(mkdir_p) $(PROJECT_INCLUDE)/sh
93        @: > $(PROJECT_INCLUDE)/sh/$(dirstamp)
94PREINSTALL_DIRS += $(PROJECT_INCLUDE)/sh/$(dirstamp)
95
96$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
97        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
98        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
99PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
100
101$(PROJECT_INCLUDE)/sh/sh4uart.h: include/sh/sh4uart.h $(PROJECT_INCLUDE)/sh/$(dirstamp)
102        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sh/sh4uart.h
103PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/sh4uart.h
104
105$(PROJECT_INCLUDE)/rtems/score/sh7750_regs.h: include/rtems/score/sh7750_regs.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
106        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sh7750_regs.h
107PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sh7750_regs.h
108
109$(PROJECT_INCLUDE)/rtems/score/ipl.h: include/rtems/score/ipl.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
110        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ipl.h
111PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ipl.h
112
113$(PROJECT_INCLUDE)/rtems/score/iosh7750.h: include/rtems/score/iosh7750.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
114        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/iosh7750.h
115PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/iosh7750.h
116
117$(PROJECT_INCLUDE)/rtems/score/ispsh7750.h: include/rtems/score/ispsh7750.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
118        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ispsh7750.h
119PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ispsh7750.h
120
121$(PROJECT_INCLUDE)/rtems/score/sh4_regs.h: include/rtems/score/sh4_regs.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
122        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/sh4_regs.h
123PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/sh4_regs.h
124endif
125
126CLEANFILES += $(PREINSTALL_FILES)
127DISTCLEANFILES = $(PREINSTALL_DIRS)
128
129include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.