diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-11 08:15:46 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-05-11 08:15:46 +0000 |
commit | d23c91871de1a5de78a9a6757660b113e662ce0c (patch) | |
tree | 04a2d8b18fb9925e9d53faa443e21e8f02895047 /c | |
parent | New. (diff) | |
download | rtems-d23c91871de1a5de78a9a6757660b113e662ce0c.tar.bz2 |
Merge-in shared/Makefile.am.
Diffstat (limited to 'c')
-rw-r--r-- | c/src/lib/libcpu/m68k/Makefile.am | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/c/src/lib/libcpu/m68k/Makefile.am b/c/src/lib/libcpu/m68k/Makefile.am index 556b22051f..e9c578d04a 100644 --- a/c/src/lib/libcpu/m68k/Makefile.am +++ b/c/src/lib/libcpu/m68k/Makefile.am @@ -4,7 +4,44 @@ ACLOCAL_AMFLAGS = -I ../../../aclocal +include $(top_srcdir)/../../../automake/compile.am + SUBDIRS = shared m68040 mcf5206 mcf5272 mcf5282 +CLEANFILES = +DISTCLEANFILES = +noinst_PROGRAMS = + +if shared +include_libcpudir = $(includedir)/libcpu + +## shared/cache +include_libcpu_HEADERS = ../shared/include/cache.h + +noinst_PROGRAMS += shared/cache.rel +shared_cache_rel_SOURCES = shared/cache/cache.c shared/cache/cache_.h \ + ../shared/src/cache_aligned_malloc.c \ + ../shared/src/cache_manager.c +shared_cache_rel_CPPFLAGS = $(AM_CPPFLAGS) -I$(srcdir)/shared/cache +shared_cache_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) + +## shared/misc + +# gcc doesn't recognize difference between the cpu32 and cpu32+ so we have to +if mcpu32p +M68K_CPPFLAGS = -D__mcpu32p__ +endif +if mcf5272 +M68K_CPPFLAGS = -Dmcf5272 +endif + +noinst_PROGRAMS += shared/misc.rel +shared_misc_rel_SOURCES = shared/misc/memcpy.c shared/misc/m68kidle.c shared/misc/memProbe.c +shared_misc_rel_CPPFLAGS = $(AM_CPPFLAGS) $(M68K_CPPFLAGS) +shared_misc_rel_LDFLAGS = $(RTEMS_RELLDFLAGS) +endif + +include $(srcdir)/preinstall.am + include $(top_srcdir)/../../../automake/subdirs.am include $(top_srcdir)/../../../automake/local.am |