source: rtems/c/src/lib/libcpu/sh/sh7045/Makefile.am @ 00f71e2

4.104.114.84.95
Last change on this file since 00f71e2 was 00f71e2, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/17/04 at 05:43:38

2004-01-17 Ralf Corsepius <corsepiu@…>

  • configure.ac: Require automake 1.8.2. Add subdir-objects to AUTOMAKE_OPTIONS. Add AM_PROG_CC_C_0.
  • Makefile.am: Use automake compilation rules.
  • Property mode set to 100644
File size: 4.1 KB
Line 
1##
2## $Id$
3##
4
5ACLOCAL_AMFLAGS = -I ../../../../aclocal
6
7include $(top_srcdir)/../../../../automake/compile.am
8include $(top_srcdir)/../../../../automake/lib.am
9
10CLEANFILES =
11EXTRA_PROGRAMS =
12noinst_DATA =
13
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 = include/io_types.h include/sci.h include/sh7_pfc.h \
20    include/sh7_sci.h include/sci_termios.h
21include_rtems_score_HEADERS = include/ispsh7045.h include/iosh7045.h
22
23# clock
24EXTRA_PROGRAMS += clock.rel
25CLEANFILES += clock.rel
26clock_rel_SOURCES = clock/ckinit.c
27clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
28clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
29
30EXTRA_PROGRAMS += clock_g.rel
31CLEANFILES += clock_g.rel
32clock_g_rel_SOURCES = $(clock_rel_SOURCES)
33clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
34clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
35
36noinst_DATA += clock$(LIB_VARIANT).rel
37
38# sci
39EXTRA_PROGRAMS += sci.rel
40CLEANFILES += sci.rel
41sci_rel_SOURCES = sci/sci.c sci/sci_termios.c
42sci_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
43sci_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
44
45EXTRA_PROGRAMS += sci_g.rel
46CLEANFILES += sci_g.rel
47sci_g_rel_SOURCES = $(sci_rel_SOURCES)
48sci_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
49sci_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
50
51noinst_DATA += sci$(LIB_VARIANT).rel
52
53# score
54EXTRA_PROGRAMS += score.rel
55CLEANFILES += score.rel
56score_rel_SOURCES = score/cpu_asm.c score/ispsh7045.c
57score_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
58score_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
59
60EXTRA_PROGRAMS += score_g.rel
61CLEANFILES += score_g.rel
62score_g_rel_SOURCES = $(score_rel_SOURCES)
63score_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
64score_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
65
66noinst_DATA += score$(LIB_VARIANT).rel
67
68## timer
69EXTRA_PROGRAMS += timer.rel
70CLEANFILES += timer.rel
71timer_rel_SOURCES = timer/timer.c
72timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
73timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
74
75EXTRA_PROGRAMS += timer_g.rel
76CLEANFILES += timer_g.rel
77timer_g_rel_SOURCES = $(timer_rel_SOURCES)
78timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
79timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
80
81noinst_DATA += timer$(LIB_VARIANT).rel
82
83PREINSTALL_FILES =
84
85$(PROJECT_INCLUDE)/sh/$(dirstamp):
86        @$(mkdir_p) $(PROJECT_INCLUDE)/sh
87        @: > $(PROJECT_INCLUDE)/sh/$(dirstamp)
88PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/$(dirstamp)
89
90$(PROJECT_INCLUDE)/rtems/score/$(dirstamp):
91        @$(mkdir_p) $(PROJECT_INCLUDE)/rtems/score
92        @: > $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
93PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
94
95$(PROJECT_INCLUDE)/sh/io_types.h: include/io_types.h $(PROJECT_INCLUDE)/sh/$(dirstamp)
96        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sh/io_types.h
97PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/io_types.h
98
99$(PROJECT_INCLUDE)/sh/sci.h: include/sci.h $(PROJECT_INCLUDE)/sh/$(dirstamp)
100        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sh/sci.h
101PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/sci.h
102
103$(PROJECT_INCLUDE)/sh/sh7_pfc.h: include/sh7_pfc.h $(PROJECT_INCLUDE)/sh/$(dirstamp)
104        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sh/sh7_pfc.h
105PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/sh7_pfc.h
106
107$(PROJECT_INCLUDE)/sh/sh7_sci.h: include/sh7_sci.h $(PROJECT_INCLUDE)/sh/$(dirstamp)
108        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sh/sh7_sci.h
109PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/sh7_sci.h
110
111$(PROJECT_INCLUDE)/sh/sci_termios.h: include/sci_termios.h $(PROJECT_INCLUDE)/sh/$(dirstamp)
112        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/sh/sci_termios.h
113PREINSTALL_FILES += $(PROJECT_INCLUDE)/sh/sci_termios.h
114
115$(PROJECT_INCLUDE)/rtems/score/ispsh7045.h: include/ispsh7045.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
116        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/ispsh7045.h
117PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/ispsh7045.h
118
119$(PROJECT_INCLUDE)/rtems/score/iosh7045.h: include/iosh7045.h $(PROJECT_INCLUDE)/rtems/score/$(dirstamp)
120        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/score/iosh7045.h
121PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/score/iosh7045.h
122
123CLEANFILES += $(PREINSTALL_FILES)
124
125include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.