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

4.104.114.9
Last change on this file since 775f8e5 was 775f8e5, checked in by Chris Johns <chrisj@…>, on Jun 19, 2008 at 5:38:57 AM

2008-06-19 Matthew Riek <matthew.riek@…>

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