source: rtems/c/src/lib/libcpu/m68k/Makefile.am @ df8ba46

4.104.114.84.95
Last change on this file since df8ba46 was df8ba46, checked in by Joel Sherrill <joel.sherrill@…>, on 06/17/05 at 14:07:56

2005-06-17 Mike Bertosh <mbertosh@…>

  • ChangeLog?, Makefile.am, configure.ac, preinstall.am: Addition of mcf5235 support.
  • mcf5235/include/mcf5235.h: New file.
  • Property mode set to 100644
File size: 4.2 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 shared
14include_libcpudir = $(includedir)/libcpu
15
16## shared/cache
17include_libcpu_HEADERS = ../shared/include/cache.h
18
19noinst_PROGRAMS += shared/cache.rel
20shared_cache_rel_SOURCES = shared/cache/cache.c shared/cache/cache_.h \
21    ../shared/src/cache_aligned_malloc.c \
22    ../shared/src/cache_manager.c
23shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache
24shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
25
26## shared/misc
27
28# gcc doesn't recognize difference between the cpu32 and cpu32+ so we have to
29if mcpu32p
30M68K_CPPFLAGS = -D__mcpu32p__
31endif
32if mcf5272
33M68K_CPPFLAGS = -Dmcf5272
34endif
35
36noinst_PROGRAMS += shared/misc.rel
37shared_misc_rel_SOURCES = shared/misc/memcpy.c shared/misc/m68kidle.c shared/misc/memProbe.c
38shared_misc_rel_CPPFLAGS = $(AM_CPPFLAGS) $(M68K_CPPFLAGS)
39shared_misc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
40endif
41
42if m68040
43## m68040/fpsp
44noinst_PROGRAMS += m68040/fpsp.rel
45m68040_fpsp_rel_SOURCES = m68040/fpsp/rtems_fpsp.c m68040/fpsp/bindec.S \
46    m68040/fpsp/binstr.S m68040/fpsp/bugfix.S m68040/fpsp/decbin.S \
47    m68040/fpsp/do_func.S m68040/fpsp/gen_except.S m68040/fpsp/get_op.S \
48    m68040/fpsp/kernel_ex.S m68040/fpsp/res_func.S m68040/fpsp/round.S \
49    m68040/fpsp/rtems_skel.S m68040/fpsp/sacos.S m68040/fpsp/sasin.S \
50    m68040/fpsp/satan.S m68040/fpsp/satanh.S m68040/fpsp/scale.S \
51    m68040/fpsp/scosh.S m68040/fpsp/setox.S m68040/fpsp/sgetem.S \
52    m68040/fpsp/sint.S m68040/fpsp/slog2.S m68040/fpsp/slogn.S \
53    m68040/fpsp/smovecr.S m68040/fpsp/srem_mod.S m68040/fpsp/ssin.S \
54    m68040/fpsp/ssinh.S m68040/fpsp/stan.S m68040/fpsp/stanh.S \
55    m68040/fpsp/sto_res.S m68040/fpsp/stwotox.S m68040/fpsp/tbldo.S \
56    m68040/fpsp/util.S m68040/fpsp/x_bsun.S m68040/fpsp/x_fline.S \
57    m68040/fpsp/x_operr.S m68040/fpsp/x_ovfl.S m68040/fpsp/x_snan.S \
58    m68040/fpsp/x_store.S m68040/fpsp/x_unfl.S m68040/fpsp/x_unimp.S \
59    m68040/fpsp/x_unsupp.S
60m68040_fpsp_rel_CPPFLAGS = $(AM_CPPFLAGS)
61m68040_fpsp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
62
63noinst_HEADERS = m68040/fpsp/fpsp.defs
64endif
65EXTRA_DIST = m68040/fpsp/README
66
67if mcf5206
68# mcf5206/include
69include_mcf5206dir = $(includedir)/mcf5206
70include_mcf5206_HEADERS = mcf5206/include/mcf5206e.h mcf5206/include/mcfmbus.h \
71    mcf5206/include/mcfuart.h
72
73## mcf5206/clock
74noinst_PROGRAMS += mcf5206/clock.rel
75mcf5206_clock_rel_SOURCES = mcf5206/clock/ckinit.c
76mcf5206_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
77mcf5206_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
78
79## mcf5206/mcfuart
80noinst_PROGRAMS += mcf5206/mcfuart.rel
81mcf5206_mcfuart_rel_SOURCES = mcf5206/console/mcfuart.c
82mcf5206_mcfuart_rel_CPPFLAGS = $(AM_CPPFLAGS)
83mcf5206_mcfuart_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
84
85## mcf5206/mbus
86noinst_PROGRAMS += mcf5206/mbus.rel
87mcf5206_mbus_rel_SOURCES = mcf5206/mbus/mcfmbus.c
88mcf5206_mbus_rel_CPPFLAGS = $(AM_CPPFLAGS)
89mcf5206_mbus_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
90
91## mcf5206/timer
92noinst_PROGRAMS += mcf5206/timer.rel
93mcf5206_timer_rel_SOURCES = mcf5206/timer/timer.c mcf5206/timer/timerisr.S
94mcf5206_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
95mcf5206_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
96endif
97
98if mcf5235
99## mcf5238/include
100include_mcf5235dir = $(includedir)/mcf5235
101include_mcf5235_HEADERS = mfc5235/include/mcf5235.h
102endif
103
104if mcf5272
105## mcf5272/include
106include_mcf5272dir = $(includedir)/mcf5272
107include_mcf5272_HEADERS = mcf5272/include/mcf5272.h
108
109## clock
110noinst_PROGRAMS += mcf5272/clock.rel
111mcf5272_clock_rel_SOURCES = mcf5272/clock/ckinit.c
112mcf5272_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
113mcf5272_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
114
115## timer
116noinst_PROGRAMS += mcf5272/timer.rel
117mcf5272_timer_rel_SOURCES = mcf5272/timer/timer.c mcf5272/timer/timerisr.S
118mcf5272_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
119mcf5272_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
120endif
121
122if mcf5282
123## mcf5282/include
124include_mcf5282dir = $(includedir)/mcf5282
125include_mcf5282_HEADERS = mcf5282/include/mcf5282.h
126endif
127
128if mcf5235
129## mcf5235/include
130include_mcf5235dir = $(includedir)/mcf5235
131include_mcf5235_HEADERS = mcf5235/include/mcf5235.h
132endif
133
134include $(srcdir)/preinstall.am
135
136include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.