source: rtems/c/src/lib/libcpu/powerpc/mpc5xx/Makefile.am @ 8430205

4.104.114.84.95
Last change on this file since 8430205 was 8430205, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 12, 2004 at 10:04:28 PM

2004-04-12 David Querbach <querbach@…>

  • README, configure.ac, mpc5xx/Makefile.am, mpc5xx/exceptions/raw_exception.c, mpc5xx/exceptions/raw_exception.h, mpc5xx/timer/timer.c, shared/include/cpuIdent.h: addition of a significant amount of MPC5xx support as part of the addition of the SS555 BSP.
  • mpc5xx/README, mpc5xx/clock/clock.c, mpc5xx/console-generic/console-generic.c, mpc5xx/include/console.h, mpc5xx/include/mpc5xx.h, mpc5xx/irq/irq.c, mpc5xx/irq/irq.h, mpc5xx/irq/irq_asm.S, mpc5xx/irq/irq_init.c, mpc5xx/vectors/vectors.S, mpc5xx/vectors/vectors.h, mpc5xx/vectors/vectors_init.c: New files.
  • mpc5xx/exceptions/asm_utils.S: Removed.
  • Property mode set to 100644
File size: 5.0 KB
Line 
1##
2## Makefile.am,v 1.4 2002/03/28 00:48:14 joel Exp
3##
4
5CLEANFILES =
6EXTRA_DIST =
7EXTRA_PROGRAMS =
8noinst_DATA =
9
10include $(top_srcdir)/../../../automake/compile.am
11
12if mpc5xx
13include_mpc5xxdir = $(includedir)/mpc5xx
14include_libcpudir = $(includedir)/libcpu
15
16include_HEADERS = include/mpc5xx.h
17
18## clock
19EXTRA_PROGRAMS += clock.rel
20CLEANFILES += clock.rel
21clock_rel_SOURCES = clock/clock.c
22clock_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
23clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
24
25EXTRA_PROGRAMS += clock_g.rel
26CLEANFILES += clock_g.rel
27clock_g_rel_SOURCES = $(clock_rel_SOURCES)
28clock_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
29clock_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
30
31noinst_DATA += clock$(LIB_VARIANT).rel
32
33## console-generic
34include_mpc5xx_HEADERS = include/console.h
35
36EXTRA_PROGRAMS += console-generic.rel
37CLEANFILES += console-generic.rel
38console_generic_rel_SOURCES = console-generic/console-generic.c
39console_generic_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
40console_generic_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
41
42EXTRA_PROGRAMS += console-generic_g.rel
43CLEANFILES += console-generic_g.rel
44console_generic_g_rel_SOURCES = $(console_generic_rel_SOURCES)
45console_generic_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
46console_generic_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
47
48noinst_DATA += console-generic$(LIB_VARIANT).rel
49
50## exceptions
51include_libcpu_HEADERS = exceptions/raw_exception.h
52
53EXTRA_PROGRAMS += exceptions.rel
54CLEANFILES += exceptions.rel
55exceptions_rel_SOURCES = exceptions/raw_exception.c
56exceptions_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
57exceptions_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
58
59EXTRA_PROGRAMS += exceptions_g.rel
60CLEANFILES += exceptions_g.rel
61exceptions_g_rel_SOURCES = $(exceptions_rel_SOURCES)
62exceptions_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
63exceptions_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
64
65noinst_DATA += exceptions$(LIB_VARIANT).rel
66
67## irq
68include_libcpu_HEADERS += irq/irq.h
69
70EXTRA_PROGRAMS += irq.rel
71CLEANFILES += irq.rel
72irq_rel_SOURCES = irq/irq.c irq/irq_init.c irq/irq_asm.S
73irq_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
74irq_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
75
76EXTRA_PROGRAMS += irq_g.rel
77CLEANFILES += irq_g.rel
78irq_g_rel_SOURCES = $(irq_rel_SOURCES)
79irq_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
80irq_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
81
82noinst_DATA += irq$(LIB_VARIANT).rel
83
84## timer
85EXTRA_PROGRAMS += timer.rel
86CLEANFILES += timer.rel
87timer_rel_SOURCES = timer/timer.c
88timer_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
89timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
90
91EXTRA_PROGRAMS += timer_g.rel
92CLEANFILES += timer_g.rel
93timer_g_rel_SOURCES = $(timer_rel_SOURCES)
94timer_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
95timer_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
96
97noinst_DATA += timer$(LIB_VARIANT).rel
98
99## vectors
100include_libcpu_HEADERS += vectors/vectors.h
101
102EXTRA_PROGRAMS += vectors.rel
103CLEANFILES += vectors.rel
104vectors_rel_SOURCES = vectors/vectors_init.c vectors/vectors.S
105vectors_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
106vectors_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
107
108EXTRA_PROGRAMS += vectors_g.rel
109CLEANFILES += vectors_g.rel
110vectors_g_rel_SOURCES = $(vectors_rel_SOURCES)
111vectors_g_rel_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
112vectors_g_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
113
114noinst_DATA += vectors$(LIB_VARIANT).rel
115endif
116
117## --
118all-local: $(PREINSTALL_FILES)
119
120PREINSTALL_DIRS =
121PREINSTALL_FILES =
122
123$(PROJECT_INCLUDE)/$(dirstamp):
124        @$(mkdir_p) $(PROJECT_INCLUDE)
125        @: > $(PROJECT_INCLUDE)/$(dirstamp)
126PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
127
128if mpc5xx
129$(PROJECT_INCLUDE)/mpc5xx/$(dirstamp):
130        @$(mkdir_p) $(PROJECT_INCLUDE)/mpc5xx
131        @: > $(PROJECT_INCLUDE)/mpc5xx/$(dirstamp)
132PREINSTALL_DIRS += $(PROJECT_INCLUDE)/mpc5xx/$(dirstamp)
133
134$(PROJECT_INCLUDE)/libcpu/$(dirstamp):
135        @$(mkdir_p) $(PROJECT_INCLUDE)/libcpu
136        @: > $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
137PREINSTALL_DIRS += $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
138
139$(PROJECT_INCLUDE)/mpc5xx.h: include/mpc5xx.h $(PROJECT_INCLUDE)/$(dirstamp)
140        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc5xx.h
141PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc5xx.h
142
143$(PROJECT_INCLUDE)/mpc5xx/console.h: include/console.h $(PROJECT_INCLUDE)/mpc5xx/$(dirstamp)
144        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mpc5xx/console.h
145PREINSTALL_FILES += $(PROJECT_INCLUDE)/mpc5xx/console.h
146
147$(PROJECT_INCLUDE)/libcpu/raw_exception.h: exceptions/raw_exception.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
148        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/raw_exception.h
149PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/raw_exception.h
150
151$(PROJECT_INCLUDE)/libcpu/irq.h: irq/irq.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
152        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/irq.h
153PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/irq.h
154
155$(PROJECT_INCLUDE)/libcpu/vectors.h: vectors/vectors.h $(PROJECT_INCLUDE)/libcpu/$(dirstamp)
156        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/libcpu/vectors.h
157PREINSTALL_FILES += $(PROJECT_INCLUDE)/libcpu/vectors.h
158endif
159
160CLEANFILES += $(PREINSTALL_FILES)
161DISTCLEANFILES = $(PREINSTALL_DIRS)
162
163include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.