1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | ACLOCAL_AMFLAGS = -I ../../../aclocal |
---|
6 | |
---|
7 | include $(top_srcdir)/../../../automake/compile.am |
---|
8 | |
---|
9 | SUBDIRS = mcf5206 mcf5272 mcf5282 |
---|
10 | |
---|
11 | CLEANFILES = |
---|
12 | DISTCLEANFILES = |
---|
13 | noinst_PROGRAMS = |
---|
14 | |
---|
15 | if shared |
---|
16 | include_libcpudir = $(includedir)/libcpu |
---|
17 | |
---|
18 | ## shared/cache |
---|
19 | include_libcpu_HEADERS = ../shared/include/cache.h |
---|
20 | |
---|
21 | noinst_PROGRAMS += shared/cache.rel |
---|
22 | shared_cache_rel_SOURCES = shared/cache/cache.c shared/cache/cache_.h \ |
---|
23 | ../shared/src/cache_aligned_malloc.c \ |
---|
24 | ../shared/src/cache_manager.c |
---|
25 | shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache |
---|
26 | shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
27 | |
---|
28 | ## shared/misc |
---|
29 | |
---|
30 | # gcc doesn't recognize difference between the cpu32 and cpu32+ so we have to |
---|
31 | if mcpu32p |
---|
32 | M68K_CPPFLAGS = -D__mcpu32p__ |
---|
33 | endif |
---|
34 | if mcf5272 |
---|
35 | M68K_CPPFLAGS = -Dmcf5272 |
---|
36 | endif |
---|
37 | |
---|
38 | noinst_PROGRAMS += shared/misc.rel |
---|
39 | shared_misc_rel_SOURCES = shared/misc/memcpy.c shared/misc/m68kidle.c shared/misc/memProbe.c |
---|
40 | shared_misc_rel_CPPFLAGS = $(AM_CPPFLAGS) $(M68K_CPPFLAGS) |
---|
41 | shared_misc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
42 | endif |
---|
43 | |
---|
44 | if m68040 |
---|
45 | noinst_PROGRAMS += m68040/fpsp.rel |
---|
46 | m68040_fpsp_rel_SOURCES = m68040/fpsp/rtems_fpsp.c m68040/fpsp/bindec.S \ |
---|
47 | m68040/fpsp/binstr.S m68040/fpsp/bugfix.S m68040/fpsp/decbin.S \ |
---|
48 | m68040/fpsp/do_func.S m68040/fpsp/gen_except.S m68040/fpsp/get_op.S \ |
---|
49 | m68040/fpsp/kernel_ex.S m68040/fpsp/res_func.S m68040/fpsp/round.S \ |
---|
50 | m68040/fpsp/rtems_skel.S m68040/fpsp/sacos.S m68040/fpsp/sasin.S \ |
---|
51 | m68040/fpsp/satan.S m68040/fpsp/satanh.S m68040/fpsp/scale.S \ |
---|
52 | m68040/fpsp/scosh.S m68040/fpsp/setox.S m68040/fpsp/sgetem.S \ |
---|
53 | m68040/fpsp/sint.S m68040/fpsp/slog2.S m68040/fpsp/slogn.S \ |
---|
54 | m68040/fpsp/smovecr.S m68040/fpsp/srem_mod.S m68040/fpsp/ssin.S \ |
---|
55 | m68040/fpsp/ssinh.S m68040/fpsp/stan.S m68040/fpsp/stanh.S \ |
---|
56 | m68040/fpsp/sto_res.S m68040/fpsp/stwotox.S m68040/fpsp/tbldo.S \ |
---|
57 | m68040/fpsp/util.S m68040/fpsp/x_bsun.S m68040/fpsp/x_fline.S \ |
---|
58 | m68040/fpsp/x_operr.S m68040/fpsp/x_ovfl.S m68040/fpsp/x_snan.S \ |
---|
59 | m68040/fpsp/x_store.S m68040/fpsp/x_unfl.S m68040/fpsp/x_unimp.S \ |
---|
60 | m68040/fpsp/x_unsupp.S |
---|
61 | m68040_fpsp_rel_CPPFLAGS = $(AM_CPPFLAGS) |
---|
62 | m68040_fpsp_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) |
---|
63 | |
---|
64 | noinst_HEADERS = m68040/fpsp/fpsp.defs |
---|
65 | endif |
---|
66 | EXTRA_DIST = m68040/fpsp/README |
---|
67 | |
---|
68 | include $(srcdir)/preinstall.am |
---|
69 | |
---|
70 | include $(top_srcdir)/../../../automake/subdirs.am |
---|
71 | include $(top_srcdir)/../../../automake/local.am |
---|