source: rtems/c/src/lib/libcpu/m68k/configure.ac @ f8ac3ae3

4.104.114.84.95
Last change on this file since f8ac3ae3 was f8ac3ae3, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 6, 2002 at 8:23:58 PM

2002-08-06 Joel Sherrill <joel@…>

  • configure.ac: Be more specific about looking at CPU32 and CPU32+ CPU model names so we can turn on the best compile of memcpy.c.
  • Property mode set to 100644
File size: 1.9 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.52)
6AC_INIT([rtems-c-src-lib-libcpu-m68k],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com])
7AC_CONFIG_SRCDIR([m68040])
8RTEMS_TOP(../../../../..)
9AC_CONFIG_AUX_DIR(../../../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12
13AM_INIT_AUTOMAKE([no-define foreign 1.6])
14AM_MAINTAINER_MODE
15
16RTEMS_ENABLE_BARE
17RTEMS_ENV_RTEMSBSP
18
19RTEMS_CHECK_CPU
20RTEMS_CANONICAL_HOST
21
22RTEMS_PROJECT_ROOT
23
24RTEMS_PROG_CC_FOR_TARGET
25RTEMS_CANONICALIZE_TOOLS
26
27RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
28RTEMS_CHECK_BSP_CACHE(RTEMS_BSP)
29
30AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "m68020" \
31|| test "$RTEMS_CPU_MODEL" = "m68020" \
32|| test "$RTEMS_CPU_MODEL" = "m68030" \
33|| test "$RTEMS_CPU_MODEL" = "m68lc040" \
34|| test "$RTEMS_CPU_MODEL" = "m68040" \
35|| test "$RTEMS_CPU_MODEL" = "m68ec040" \
36|| test "$RTEMS_CPU_MODEL" = "m68lc040" \
37|| test "$RTEMS_CPU_MODEL" = "m68060" \
38|| test "$RTEMS_CPU_MODEL" = "m68340" \
39|| test "$RTEMS_CPU_MODEL" = "m68360" \
40|| test "$RTEMS_CPU_MODEL" = "m68331" \
41|| test "$RTEMS_CPU_MODEL" = "m68332" \
42|| test "$RTEMS_CPU_MODEL" = "mcpu32" \
43|| test "$RTEMS_CPU_MODEL" = "mcpu32p" \
44)
45
46AM_CONDITIONAL(m68040, test "$RTEMS_CPU_MODEL" = "m68040")
47
48AM_CONDITIONAL(mcf5206, test "$RTEMS_CPU_MODEL" = "mcf5206")
49
50AM_CONDITIONAL(mcpu32, test "$RTEMS_CPU_MODEL" = "m68340" \
51|| test "$RTEMS_CPU_MODEL" = "m68331" \
52|| test "$RTEMS_CPU_MODEL" = "m68332" \
53|| test "$RTEMS_CPU_MODEL" = "m68336" \
54|| test "$RTEMS_CPU_MODEL" = "m68337" \
55|| test "$RTEMS_CPU_MODEL" = "mcpu32" \
56)
57
58AM_CONDITIONAL(mcpu32p, test "$RTEMS_CPU_MODEL" = "m68360" \
59|| test "$RTEMS_CPU_MODEL" = "mcpu32p" \
60)
61
62case "$RTEMS_CPU_MODEL" in
63mcf5206 ) AC_CONFIG_SUBDIRS([mcf5206]);;
64*) ;;
65esac
66
67# Explicitly list all Makefiles here
68AC_CONFIG_FILES([Makefile
69shared/Makefile
70shared/cache/Makefile
71shared/misc/Makefile
72m68040/Makefile
73m68040/fpsp/Makefile])
74AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.