[2af6056] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
| 2 | ## |
---|
| 3 | ## $Id$ |
---|
| 4 | |
---|
[9b5c258] | 5 | AC_PREREQ(2.57) |
---|
[2af6056] | 6 | AC_INIT([rtems-ada-tests],[_RTEMS_VERSION],[rtems-bugs@OARcorp.com]) |
---|
| 7 | AC_CONFIG_SRCDIR([support]) |
---|
| 8 | RTEMS_TOP(../../..) |
---|
| 9 | |
---|
| 10 | RTEMS_CANONICAL_TARGET_CPU |
---|
| 11 | RTEMS_CANONICAL_HOST |
---|
| 12 | |
---|
[ccd81b60] | 13 | AM_INIT_AUTOMAKE([no-define foreign 1.7.2]) |
---|
[2af6056] | 14 | AM_MAINTAINER_MODE |
---|
| 15 | |
---|
[a846105] | 16 | AC_CHECK_PROGS([M4],[gm4 m4]) |
---|
[2af6056] | 17 | RTEMS_PROG_GNAT |
---|
| 18 | RTEMS_CANONICALIZE_TOOLS |
---|
| 19 | |
---|
| 20 | RTEMS_ENABLE_MULTILIB |
---|
| 21 | RTEMS_ENABLE_MULTIPROCESSING |
---|
| 22 | RTEMS_ENV_RTEMSBSP |
---|
| 23 | RTEMS_CHECK_CPU |
---|
| 24 | RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) |
---|
[ea14663] | 25 | RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) |
---|
[2af6056] | 26 | |
---|
[a846105] | 27 | AS_IF([test x"$HAVE_GNAT" = x"no"],[ |
---|
| 28 | AC_MSG_ERROR([No acceptable GNATMAKE found.]) |
---|
| 29 | ]) |
---|
| 30 | |
---|
[ea14663] | 31 | AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes") |
---|
| 32 | |
---|
[a846105] | 33 | RTEMS_CHECK_TOOL([GNATPREP],[gnatprep],[]) |
---|
[2af6056] | 34 | |
---|
| 35 | # FIXME: Enable building the examples which are known to be broken |
---|
| 36 | AM_CONDITIONAL([EXPADA], |
---|
| 37 | [test x"$enable_expada" = x"yes" && test x"$HAVE_GNAT" = x"yes"]) |
---|
| 38 | |
---|
| 39 | RTEMS_PROJECT_ROOT |
---|
| 40 | |
---|
| 41 | # Explicitly list all Makefiles here |
---|
| 42 | AC_CONFIG_FILES([Makefile]) |
---|
| 43 | |
---|
| 44 | AC_CONFIG_FILES([support/Makefile]) |
---|
| 45 | |
---|
| 46 | AC_CONFIG_FILES([ |
---|
| 47 | samples/Makefile |
---|
[ea14663] | 48 | samples/base_sp/Makefile |
---|
[2af6056] | 49 | samples/hello/Makefile |
---|
| 50 | samples/ticker/Makefile |
---|
[ea14663] | 51 | ]) |
---|
| 52 | |
---|
| 53 | if test "$HAS_MP" = "yes"; then |
---|
| 54 | AC_CONFIG_FILES([ |
---|
[2af6056] | 55 | samples/base_mp/Makefile |
---|
[0c7ef52] | 56 | samples/base_mp/node1/Makefile |
---|
| 57 | samples/base_mp/node2/Makefile |
---|
[2af6056] | 58 | ]) |
---|
[ea14663] | 59 | fi |
---|
[2af6056] | 60 | |
---|
| 61 | AC_CONFIG_FILES([ |
---|
| 62 | sptests/Makefile |
---|
| 63 | sptests/sp01/Makefile |
---|
| 64 | sptests/sp02/Makefile |
---|
| 65 | sptests/sp03/Makefile |
---|
| 66 | sptests/sp04/Makefile |
---|
| 67 | sptests/sp05/Makefile |
---|
| 68 | sptests/sp06/Makefile |
---|
| 69 | sptests/sp07/Makefile |
---|
| 70 | sptests/sp08/Makefile |
---|
| 71 | sptests/sp09/Makefile |
---|
| 72 | sptests/sp11/Makefile |
---|
| 73 | sptests/sp12/Makefile |
---|
| 74 | sptests/sp13/Makefile |
---|
| 75 | sptests/sp14/Makefile |
---|
| 76 | sptests/sp15/Makefile |
---|
| 77 | sptests/sp16/Makefile |
---|
| 78 | sptests/sp17/Makefile |
---|
| 79 | sptests/sp19/Makefile |
---|
| 80 | sptests/sp20/Makefile |
---|
| 81 | sptests/sp21/Makefile |
---|
| 82 | sptests/sp22/Makefile |
---|
| 83 | sptests/sp23/Makefile |
---|
| 84 | sptests/sp24/Makefile |
---|
| 85 | sptests/sp25/Makefile |
---|
| 86 | sptests/spsize/Makefile |
---|
| 87 | ]) |
---|
| 88 | |
---|
[7edb3d3a] | 89 | AC_CONFIG_FILES([ |
---|
| 90 | tmtests/Makefile |
---|
| 91 | tmtests/tm01/Makefile |
---|
| 92 | tmtests/tm02/Makefile |
---|
| 93 | tmtests/tm03/Makefile |
---|
| 94 | tmtests/tm04/Makefile |
---|
| 95 | tmtests/tm05/Makefile |
---|
| 96 | tmtests/tm06/Makefile |
---|
| 97 | tmtests/tm07/Makefile |
---|
| 98 | tmtests/tm08/Makefile |
---|
| 99 | tmtests/tm09/Makefile |
---|
| 100 | tmtests/tm10/Makefile |
---|
| 101 | tmtests/tm11/Makefile |
---|
| 102 | tmtests/tm12/Makefile |
---|
| 103 | tmtests/tm13/Makefile |
---|
| 104 | tmtests/tm14/Makefile |
---|
| 105 | tmtests/tm15/Makefile |
---|
| 106 | tmtests/tm16/Makefile |
---|
| 107 | tmtests/tm17/Makefile |
---|
| 108 | tmtests/tm18/Makefile |
---|
| 109 | tmtests/tm19/Makefile |
---|
| 110 | tmtests/tm20/Makefile |
---|
| 111 | tmtests/tm21/Makefile |
---|
| 112 | tmtests/tm22/Makefile |
---|
| 113 | tmtests/tm23/Makefile |
---|
| 114 | tmtests/tm24/Makefile |
---|
| 115 | tmtests/tm25/Makefile |
---|
| 116 | tmtests/tm28/Makefile |
---|
| 117 | tmtests/tm29/Makefile |
---|
| 118 | tmtests/tmck/Makefile |
---|
| 119 | tmtests/tmoverhd/Makefile |
---|
| 120 | ]) |
---|
[2af6056] | 121 | |
---|
[ea14663] | 122 | if test "$HAS_MP" = "yes"; then |
---|
[0c7ef52] | 123 | AC_CONFIG_FILES([ |
---|
| 124 | mptests/Makefile |
---|
| 125 | mptests/mp01/Makefile |
---|
| 126 | mptests/mp01/node1/Makefile |
---|
| 127 | mptests/mp01/node2/Makefile |
---|
| 128 | ]) |
---|
[2af6056] | 129 | #mptests/mp02/Makefile |
---|
[0c7ef52] | 130 | #mptests/mp03/Makefile |
---|
| 131 | #mptests/mp04/Makefile |
---|
| 132 | #mptests/mp05/Makefile |
---|
| 133 | #mptests/mp06/Makefile |
---|
| 134 | #mptests/mp07/Makefile |
---|
| 135 | #mptests/mp08/Makefile |
---|
| 136 | #mptests/mp09/Makefile |
---|
| 137 | #mptests/mp10/Makefile |
---|
| 138 | #mptests/mp11/Makefile |
---|
| 139 | #mptests/mp12/Makefile |
---|
| 140 | #mptests/mp13/Makefile |
---|
| 141 | #mptests/mp14/Makefile |
---|
[ea14663] | 142 | fi |
---|
[2af6056] | 143 | |
---|
| 144 | AC_OUTPUT |
---|