1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | dnl |
---|
3 | dnl $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.13) |
---|
6 | AC_INIT(mpc6xx) |
---|
7 | RTEMS_TOP(../../../../..) |
---|
8 | AC_CONFIG_AUX_DIR(../../../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | |
---|
12 | AM_INIT_AUTOMAKE(rtems-c-src-lib-libcpu-powerpc,$RTEMS_VERSION,no) |
---|
13 | AM_MAINTAINER_MODE |
---|
14 | |
---|
15 | RTEMS_ENABLE_BARE |
---|
16 | RTEMS_ENV_RTEMSBSP |
---|
17 | |
---|
18 | RTEMS_CHECK_CPU |
---|
19 | RTEMS_CANONICAL_HOST |
---|
20 | |
---|
21 | RTEMS_PROJECT_ROOT |
---|
22 | |
---|
23 | RTEMS_PROG_CC_FOR_TARGET |
---|
24 | RTEMS_CANONICALIZE_TOOLS |
---|
25 | |
---|
26 | RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) |
---|
27 | RTEMS_CHECK_BSP_CACHE(RTEMS_BSP) |
---|
28 | |
---|
29 | AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "mpc750" \ |
---|
30 | || test "$RTEMS_CPU_MODEL" = "mpc604" \ |
---|
31 | || test "$RTEMS_CPU_MODEL" = "mpc6xx" \ |
---|
32 | || test "$RTEMS_CPU_MODEL" = "mpc821" \ |
---|
33 | || test "$RTEMS_CPU_MODEL" = "mpc860" \ |
---|
34 | || test "$RTEMS_CPU_MODEL" = "mpc8xx" ) |
---|
35 | |
---|
36 | AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505") |
---|
37 | AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \ |
---|
38 | || test "$RTEMS_CPU_MODEL" = "mpc604" \ |
---|
39 | || test "$RTEMS_CPU_MODEL" = "mpc750" ) |
---|
40 | AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \ |
---|
41 | || test "$RTEMS_CPU_MODEL" = "mpc821" \ |
---|
42 | || test "$RTEMS_CPU_MODEL" = "mpc860" ) |
---|
43 | AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403") |
---|
44 | |
---|
45 | # Explicitly list all Makefiles here |
---|
46 | AC_OUTPUT( |
---|
47 | Makefile |
---|
48 | mpc505/Makefile |
---|
49 | mpc505/timer/Makefile |
---|
50 | mpc505/vectors/Makefile |
---|
51 | mpc8xx/Makefile |
---|
52 | mpc8xx/clock/Makefile |
---|
53 | mpc8xx/console-generic/Makefile |
---|
54 | mpc8xx/cpm/Makefile |
---|
55 | mpc8xx/include/Makefile |
---|
56 | mpc8xx/mmu/Makefile |
---|
57 | mpc8xx/timer/Makefile |
---|
58 | mpc8xx/vectors/Makefile |
---|
59 | ppc403/Makefile |
---|
60 | ppc403/clock/Makefile |
---|
61 | ppc403/console/Makefile |
---|
62 | ppc403/ictrl/Makefile |
---|
63 | ppc403/timer/Makefile |
---|
64 | ppc403/vectors/Makefile |
---|
65 | mpc6xx/Makefile |
---|
66 | mpc6xx/clock/Makefile |
---|
67 | mpc6xx/timer/Makefile |
---|
68 | mpc6xx/exceptions/Makefile |
---|
69 | mpc6xx/mmu/Makefile |
---|
70 | mpc6xx/timer/Makefile |
---|
71 | mpc6xx/wrapup/Makefile |
---|
72 | shared/Makefile |
---|
73 | shared/include/Makefile |
---|
74 | shared/src/Makefile |
---|
75 | wrapup/Makefile) |
---|