source: rtems/c/src/lib/libcpu/powerpc/configure.ac @ db87589

4.104.114.84.95
Last change on this file since db87589 was fc235f44, checked in by Ralf Corsepius <ralf.corsepius@…>, on Mar 26, 2004 at 9:11:59 AM

2004-03-26 Ralf Corsepius <ralf_corsepius@…>

  • configure.ac: Add 2nd argument (rtems_updir) to RTEMS_TOP.
  • Property mode set to 100644
File size: 1.8 KB
Line 
1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
4
5AC_PREREQ(2.59)
6AC_INIT([rtems-c-src-lib-libcpu-powerpc],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
7AC_CONFIG_SRCDIR([mpc6xx])
8RTEMS_TOP([../../../../..],[../../..])
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE([no-define foreign 1.8.2])
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_BARE
16RTEMS_ENV_RTEMSBSP
17
18RTEMS_PROJECT_ROOT
19
20RTEMS_PROG_CC_FOR_TARGET
21RTEMS_CANONICALIZE_TOOLS
22RTEMS_PROG_CCAS
23
24AM_CONDITIONAL(shared, \
25test "$RTEMS_CPU_MODEL" = "mpc5xx" \
26|| test "$RTEMS_CPU_MODEL" = "mpc750" \
27|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
28|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
29|| test "$RTEMS_CPU_MODEL" = "mpc604" \
30|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
31|| test "$RTEMS_CPU_MODEL" = "mpc821" \
32|| test "$RTEMS_CPU_MODEL" = "mpc860" \
33|| test "$RTEMS_CPU_MODEL" = "mpc8260" \
34|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
35
36## test on CPU type
37AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
38AM_CONDITIONAL(mpc5xx, test "$RTEMS_CPU_MODEL" = "mpc5xx")
39AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
40|| test "$RTEMS_CPU_MODEL" = "mpc604" \
41|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
42|| test "$RTEMS_CPU_MODEL" = "mpc750" )
43AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
44|| test "$RTEMS_CPU_MODEL" = "mpc821" \
45|| test "$RTEMS_CPU_MODEL" = "mpc860" )
46AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260")
47
48# the ppc405 shares files with the ppc403
49AM_CONDITIONAL(ppc403,[test "$RTEMS_CPU_MODEL" = "ppc403" \
50|| test "$RTEMS_CPU_MODEL" = "ppc405"])
51AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405")
52
53# Explicitly list all Makefiles here
54AC_CONFIG_FILES([Makefile
55mpc5xx/Makefile
56mpc505/Makefile
57mpc8xx/Makefile
58ppc403/Makefile
59mpc6xx/Makefile
60mpc8260/Makefile
61shared/Makefile
62])
63AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.