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

4.104.114.84.95
Last change on this file since 132d0a8 was 132d0a8, checked in by Ralf Corsepius <ralf.corsepius@…>, on 05/11/05 at 08:52:40

Merge-in mcf5282/Makefile.am.

  • Property mode set to 100644
File size: 3.9 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 mcf5272
99## mcf5272/include
100include_mcf5272dir = $(includedir)/mcf5272
101include_mcf5272_HEADERS = mcf5272/include/mcf5272.h
102
103## clock
104noinst_PROGRAMS += mcf5272/clock.rel
105mcf5272_clock_rel_SOURCES = mcf5272/clock/ckinit.c
106mcf5272_clock_rel_CPPFLAGS = $(AM_CPPFLAGS)
107mcf5272_clock_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
108
109## timer
110noinst_PROGRAMS += mcf5272/timer.rel
111mcf5272_timer_rel_SOURCES = mcf5272/timer/timer.c mcf5272/timer/timerisr.S
112mcf5272_timer_rel_CPPFLAGS = $(AM_CPPFLAGS)
113mcf5272_timer_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
114endif
115
116if mcf5282
117## mcf5282/include
118include_mcf5282dir = $(includedir)/mcf5282
119include_mcf5282_HEADERS = mcf5282/include/mcf5282.h
120endif
121
122include $(srcdir)/preinstall.am
123
124include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.