1 | ## Process this file with autoconf to produce a configure script. |
---|
2 | ## |
---|
3 | ## $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.57) |
---|
6 | AC_INIT([rtems-c-src-lib-libcpu-powerpc],[_RTEMS_VERSION],[rtems-bugs@rtems.com]) |
---|
7 | AC_CONFIG_SRCDIR([mpc6xx]) |
---|
8 | RTEMS_TOP(../../../../..) |
---|
9 | |
---|
10 | RTEMS_CANONICAL_TARGET_CPU |
---|
11 | |
---|
12 | AM_INIT_AUTOMAKE([no-define foreign 1.7.2]) |
---|
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 | RTEMS_PROG_CCAS |
---|
26 | |
---|
27 | AM_CONDITIONAL(shared, test "$RTEMS_CPU_MODEL" = "mpc750" \ |
---|
28 | || test "$RTEMS_CPU_MODEL" = "mpc7400" \ |
---|
29 | || test "$RTEMS_CPU_MODEL" = "ppc603e" \ |
---|
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" = "mpc8240" \ |
---|
35 | || test "$RTEMS_CPU_MODEL" = "mpc8245" \ |
---|
36 | || test "$RTEMS_CPU_MODEL" = "mpc8260" \ |
---|
37 | || test "$RTEMS_CPU_MODEL" = "mpc8xx" ) |
---|
38 | |
---|
39 | ## test on CPU type |
---|
40 | AM_CONDITIONAL(mpc505, test "$RTEMS_CPU_MODEL" = "mpc505") |
---|
41 | AM_CONDITIONAL(mpc6xx, test "$RTEMS_CPU_MODEL" = "mpc6xx" \ |
---|
42 | || test "$RTEMS_CPU_MODEL" = "mpc604" \ |
---|
43 | || test "$RTEMS_CPU_MODEL" = "mpc7400" \ |
---|
44 | || test "$RTEMS_CPU_MODEL" = "mpc750" \ |
---|
45 | || test "$RTEMS_CPU_MODEL" = "mpc8240" \ |
---|
46 | || test "$RTENS_CPU_MODEL" = "mpc8245" ) |
---|
47 | AM_CONDITIONAL(mpc8xx, test "$RTEMS_CPU_MODEL" = "mpc8xx" \ |
---|
48 | || test "$RTEMS_CPU_MODEL" = "mpc821" \ |
---|
49 | || test "$RTEMS_CPU_MODEL" = "mpc860" ) |
---|
50 | AM_CONDITIONAL(mpc8260, test "$RTEMS_CPU_MODEL" = "mpc8260") |
---|
51 | AM_CONDITIONAL(ppc403, test "$RTEMS_CPU_MODEL" = "ppc403") |
---|
52 | AM_CONDITIONAL(ppc405, test "$RTEMS_CPU_MODEL" = "ppc405") |
---|
53 | |
---|
54 | # Explicitly list all Makefiles here |
---|
55 | AC_CONFIG_FILES([Makefile |
---|
56 | mpc505/Makefile |
---|
57 | mpc505/timer/Makefile |
---|
58 | mpc505/vectors/Makefile |
---|
59 | mpc505/ictrl/Makefile |
---|
60 | mpc8xx/Makefile |
---|
61 | mpc8xx/clock/Makefile |
---|
62 | mpc8xx/console-generic/Makefile |
---|
63 | mpc8xx/cpm/Makefile |
---|
64 | mpc8xx/exceptions/Makefile |
---|
65 | mpc8xx/mmu/Makefile |
---|
66 | mpc8xx/timer/Makefile |
---|
67 | ppc403/Makefile |
---|
68 | ppc403/clock/Makefile |
---|
69 | ppc403/console/Makefile |
---|
70 | ppc403/tty_drv/Makefile |
---|
71 | ppc403/ictrl/Makefile |
---|
72 | ppc403/timer/Makefile |
---|
73 | ppc403/vectors/Makefile |
---|
74 | mpc6xx/Makefile |
---|
75 | mpc6xx/clock/Makefile |
---|
76 | mpc6xx/timer/Makefile |
---|
77 | mpc6xx/exceptions/Makefile |
---|
78 | mpc6xx/mmu/Makefile |
---|
79 | mpc6xx/wrapup/Makefile |
---|
80 | mpc8260/Makefile |
---|
81 | mpc8260/clock/Makefile |
---|
82 | mpc8260/console-generic/Makefile |
---|
83 | mpc8260/timer/Makefile |
---|
84 | mpc8260/exceptions/Makefile |
---|
85 | mpc8260/mmu/Makefile |
---|
86 | mpc8260/cpm/Makefile |
---|
87 | shared/Makefile |
---|
88 | shared/include/Makefile |
---|
89 | shared/src/Makefile |
---|
90 | wrapup/Makefile]) |
---|
91 | AC_OUTPUT |
---|