[2af6056] | 1 | ## Process this file with autoconf to produce a configure script. |
---|
[309dbd0] | 2 | ## |
---|
[2af6056] | 3 | ## $Id$ |
---|
| 4 | |
---|
[8ee3775] | 5 | AC_PREREQ([2.68]) |
---|
[fcb0cd46] | 6 | AC_INIT([rtems-ada-tests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla]) |
---|
[2af6056] | 7 | AC_CONFIG_SRCDIR([support]) |
---|
[a1cf46b] | 8 | RTEMS_TOP([../../..],[]) |
---|
[2af6056] | 9 | |
---|
| 10 | RTEMS_CANONICAL_TARGET_CPU |
---|
| 11 | |
---|
[8ee3775] | 12 | AM_INIT_AUTOMAKE([no-define foreign 1.11.1]) |
---|
[2af6056] | 13 | AM_MAINTAINER_MODE |
---|
| 14 | |
---|
[309dbd0] | 15 | AC_CHECK_PROGS([M4],[gm4 m4]) |
---|
[2af6056] | 16 | RTEMS_PROG_GNAT |
---|
| 17 | RTEMS_CANONICALIZE_TOOLS |
---|
| 18 | |
---|
| 19 | RTEMS_ENV_RTEMSBSP |
---|
[d75e9b1] | 20 | RTEMS_PROJECT_ROOT |
---|
| 21 | |
---|
[2af6056] | 22 | RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) |
---|
[d75e9b1] | 23 | RTEMS_CHECK_CPUOPTS([RTEMS_MULTIPROCESSING]) |
---|
[2af6056] | 24 | |
---|
[a846105] | 25 | AS_IF([test x"$HAVE_GNAT" = x"no"],[ |
---|
| 26 | AC_MSG_ERROR([No acceptable GNATMAKE found.]) |
---|
| 27 | ]) |
---|
| 28 | |
---|
[d75e9b1] | 29 | AM_CONDITIONAL(HAS_MP,[test "$rtems_cv_RTEMS_MULTIPROCESSING" = yes]) |
---|
[ea14663] | 30 | |
---|
[a846105] | 31 | RTEMS_CHECK_TOOL([GNATPREP],[gnatprep],[]) |
---|
[2af6056] | 32 | |
---|
| 33 | # FIXME: Enable building the examples which are known to be broken |
---|
| 34 | AM_CONDITIONAL([EXPADA], |
---|
[d75e9b1] | 35 | [test x"$enable_expada" = xyes && test x"$HAVE_GNAT" = xyes]) |
---|
[2af6056] | 36 | |
---|
| 37 | RTEMS_PROJECT_ROOT |
---|
| 38 | |
---|
[1245c44] | 39 | AC_SUBST([rtems_ada_testsdir],["\$(libdir)/rtems-][RTEMS_API][/ada-tests"]) |
---|
| 40 | |
---|
[2af6056] | 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 |
---|
[42f07c5] | 51 | samples/nsecs/Makefile |
---|
[2af6056] | 52 | samples/base_mp/Makefile |
---|
[0c7ef52] | 53 | samples/base_mp/node1/Makefile |
---|
| 54 | samples/base_mp/node2/Makefile |
---|
[2af6056] | 55 | ]) |
---|
| 56 | |
---|
| 57 | AC_CONFIG_FILES([ |
---|
| 58 | sptests/Makefile |
---|
| 59 | sptests/sp01/Makefile |
---|
| 60 | sptests/sp02/Makefile |
---|
| 61 | sptests/sp03/Makefile |
---|
| 62 | sptests/sp04/Makefile |
---|
| 63 | sptests/sp05/Makefile |
---|
| 64 | sptests/sp06/Makefile |
---|
| 65 | sptests/sp07/Makefile |
---|
| 66 | sptests/sp08/Makefile |
---|
| 67 | sptests/sp09/Makefile |
---|
| 68 | sptests/sp11/Makefile |
---|
| 69 | sptests/sp12/Makefile |
---|
| 70 | sptests/sp13/Makefile |
---|
| 71 | sptests/sp14/Makefile |
---|
| 72 | sptests/sp15/Makefile |
---|
| 73 | sptests/sp16/Makefile |
---|
| 74 | sptests/sp17/Makefile |
---|
| 75 | sptests/sp19/Makefile |
---|
| 76 | sptests/sp20/Makefile |
---|
| 77 | sptests/sp22/Makefile |
---|
| 78 | sptests/sp23/Makefile |
---|
| 79 | sptests/sp24/Makefile |
---|
| 80 | sptests/sp25/Makefile |
---|
[3ca942a] | 81 | sptests/spname01/Makefile |
---|
[2af6056] | 82 | ]) |
---|
| 83 | |
---|
[7edb3d3a] | 84 | AC_CONFIG_FILES([ |
---|
| 85 | tmtests/Makefile |
---|
| 86 | tmtests/tm01/Makefile |
---|
| 87 | tmtests/tm02/Makefile |
---|
| 88 | tmtests/tm03/Makefile |
---|
| 89 | tmtests/tm04/Makefile |
---|
| 90 | tmtests/tm05/Makefile |
---|
| 91 | tmtests/tm06/Makefile |
---|
| 92 | tmtests/tm07/Makefile |
---|
| 93 | tmtests/tm08/Makefile |
---|
| 94 | tmtests/tm09/Makefile |
---|
| 95 | tmtests/tm10/Makefile |
---|
| 96 | tmtests/tm11/Makefile |
---|
| 97 | tmtests/tm12/Makefile |
---|
| 98 | tmtests/tm13/Makefile |
---|
| 99 | tmtests/tm14/Makefile |
---|
| 100 | tmtests/tm15/Makefile |
---|
| 101 | tmtests/tm16/Makefile |
---|
| 102 | tmtests/tm17/Makefile |
---|
| 103 | tmtests/tm18/Makefile |
---|
| 104 | tmtests/tm19/Makefile |
---|
| 105 | tmtests/tm20/Makefile |
---|
| 106 | tmtests/tm21/Makefile |
---|
| 107 | tmtests/tm22/Makefile |
---|
| 108 | tmtests/tm23/Makefile |
---|
| 109 | tmtests/tm24/Makefile |
---|
| 110 | tmtests/tm25/Makefile |
---|
| 111 | tmtests/tm28/Makefile |
---|
| 112 | tmtests/tm29/Makefile |
---|
| 113 | tmtests/tmck/Makefile |
---|
| 114 | tmtests/tmoverhd/Makefile |
---|
| 115 | ]) |
---|
[2af6056] | 116 | |
---|
[0c7ef52] | 117 | AC_CONFIG_FILES([ |
---|
| 118 | mptests/Makefile |
---|
| 119 | mptests/mp01/Makefile |
---|
| 120 | mptests/mp01/node1/Makefile |
---|
| 121 | mptests/mp01/node2/Makefile |
---|
[82f0ad1] | 122 | mptests/mp02/Makefile |
---|
| 123 | mptests/mp02/node1/Makefile |
---|
| 124 | mptests/mp02/node2/Makefile |
---|
| 125 | mptests/mp03/Makefile |
---|
| 126 | mptests/mp03/node1/Makefile |
---|
| 127 | mptests/mp03/node2/Makefile |
---|
| 128 | mptests/mp04/Makefile |
---|
| 129 | mptests/mp04/node1/Makefile |
---|
| 130 | mptests/mp04/node2/Makefile |
---|
| 131 | mptests/mp05/Makefile |
---|
| 132 | mptests/mp05/node1/Makefile |
---|
| 133 | mptests/mp05/node2/Makefile |
---|
| 134 | mptests/mp06/Makefile |
---|
| 135 | mptests/mp06/node1/Makefile |
---|
| 136 | mptests/mp06/node2/Makefile |
---|
| 137 | mptests/mp07/Makefile |
---|
| 138 | mptests/mp07/node1/Makefile |
---|
| 139 | mptests/mp07/node2/Makefile |
---|
| 140 | mptests/mp08/Makefile |
---|
| 141 | mptests/mp08/node1/Makefile |
---|
| 142 | mptests/mp08/node2/Makefile |
---|
| 143 | mptests/mp09/Makefile |
---|
| 144 | mptests/mp09/node1/Makefile |
---|
| 145 | mptests/mp09/node2/Makefile |
---|
| 146 | mptests/mp10/Makefile |
---|
| 147 | mptests/mp10/node1/Makefile |
---|
| 148 | mptests/mp10/node2/Makefile |
---|
| 149 | mptests/mp11/Makefile |
---|
| 150 | mptests/mp11/node1/Makefile |
---|
| 151 | mptests/mp11/node2/Makefile |
---|
| 152 | mptests/mp12/Makefile |
---|
| 153 | mptests/mp12/node1/Makefile |
---|
| 154 | mptests/mp12/node2/Makefile |
---|
| 155 | mptests/mp13/Makefile |
---|
| 156 | mptests/mp13/node1/Makefile |
---|
| 157 | mptests/mp13/node2/Makefile |
---|
| 158 | mptests/mp14/Makefile |
---|
| 159 | mptests/mp14/node1/Makefile |
---|
| 160 | mptests/mp14/node2/Makefile |
---|
[0c7ef52] | 161 | ]) |
---|
[2af6056] | 162 | |
---|
| 163 | AC_OUTPUT |
---|