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

4.104.114.84.9
Last change on this file since ba4eefd was ba4eefd, checked in by Ralf Corsepius <ralf.corsepius@…>, on Jan 21, 2004 at 6:05:13 PM

2004-01-21 Ralf Corsepius <corsepiu@…>

  • configure.ac: Require automake >= 1.8.2.
  • Makefile.am, mpc505/Makefile.am, mpc6xx/Makefile.am, mpc8260/Makefile.am, mpc8xx/Makefile.am, ppc403/Makefile.am, shared/Makefile.am: Use automake compilation rules. Add PREINSTALL_DIRS.
  • Property mode set to 100644
File size: 1.6 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, test "$RTEMS_CPU_MODEL" = "mpc750" \
25|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
26|| test "$RTEMS_CPU_MODEL" = "ppc603e" \
27|| test "$RTEMS_CPU_MODEL" = "mpc604" \
28|| test "$RTEMS_CPU_MODEL" = "mpc6xx" \
29|| test "$RTEMS_CPU_MODEL" = "mpc821" \
30|| test "$RTEMS_CPU_MODEL" = "mpc860" \
31|| test "$RTEMS_CPU_MODEL" = "mpc8260" \
32|| test "$RTEMS_CPU_MODEL" = "mpc8xx" )
33
34## test on CPU type
35AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505")
36AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \
37|| test "$RTEMS_CPU_MODEL" = "mpc604" \
38|| test "$RTEMS_CPU_MODEL" = "mpc7400" \
39|| test "$RTEMS_CPU_MODEL" = "mpc750" )
40AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \
41|| test "$RTEMS_CPU_MODEL" = "mpc821" \
42|| test "$RTEMS_CPU_MODEL" = "mpc860" )
43AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260")
44
45# the ppc405 shares files with the ppc403
46AM_CONDITIONAL(ppc403,[test "$RTEMS_CPU_MODEL" = "ppc403" \
47|| test "$RTEMS_CPU_MODEL" = "ppc405"])
48AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405")
49
50# Explicitly list all Makefiles here
51AC_CONFIG_FILES([Makefile
52mpc505/Makefile
53mpc8xx/Makefile
54ppc403/Makefile
55mpc6xx/Makefile
56mpc8260/Makefile
57shared/Makefile
58wrapup/Makefile])
59AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.