summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/configure.ac
blob: 3c23790b038f9fa3b39dd2666f771b445080fe01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
## Process this file with autoconf to produce a configure script.
##
## $Id$

AC_PREREQ(2.59)
AC_INIT([rtems-ada-tests],[_RTEMS_VERSION],[http://www.rtems.org/bugzilla])
AC_CONFIG_SRCDIR([support])
RTEMS_TOP([../../..],[])

RTEMS_CANONICAL_TARGET_CPU

AM_INIT_AUTOMAKE([no-define foreign 1.9])
AM_MAINTAINER_MODE

AC_CHECK_PROGS([M4],[gm4 m4])
RTEMS_PROG_GNAT
RTEMS_CANONICALIZE_TOOLS

RTEMS_ENV_RTEMSBSP
RTEMS_PROJECT_ROOT

RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_CPUOPTS([RTEMS_MULTIPROCESSING])

AS_IF([test x"$HAVE_GNAT" = x"no"],[
  AC_MSG_ERROR([No acceptable GNATMAKE found.])
])

AM_CONDITIONAL(HAS_MP,[test "$rtems_cv_RTEMS_MULTIPROCESSING" = yes])

RTEMS_CHECK_TOOL([GNATPREP],[gnatprep],[])

# FIXME: Enable building the examples which are known to be broken
AM_CONDITIONAL([EXPADA],
  [test x"$enable_expada" = xyes && test x"$HAVE_GNAT" = xyes])

RTEMS_PROJECT_ROOT

AC_SUBST([rtems_ada_testsdir],["\$(libdir)/rtems-][RTEMS_API][/ada-tests"])

# Explicitly list all Makefiles here
AC_CONFIG_FILES([Makefile])

AC_CONFIG_FILES([support/Makefile])

AC_CONFIG_FILES([
samples/Makefile
samples/base_sp/Makefile
samples/hello/Makefile
samples/ticker/Makefile
samples/nsecs/Makefile
samples/base_mp/Makefile
samples/base_mp/node1/Makefile
samples/base_mp/node2/Makefile
])

AC_CONFIG_FILES([
sptests/Makefile
sptests/sp01/Makefile
sptests/sp02/Makefile
sptests/sp03/Makefile
sptests/sp04/Makefile
sptests/sp05/Makefile
sptests/sp06/Makefile
sptests/sp07/Makefile
sptests/sp08/Makefile
sptests/sp09/Makefile
sptests/sp11/Makefile
sptests/sp12/Makefile
sptests/sp13/Makefile
sptests/sp14/Makefile
sptests/sp15/Makefile
sptests/sp16/Makefile
sptests/sp17/Makefile
sptests/sp19/Makefile
sptests/sp20/Makefile
sptests/sp22/Makefile
sptests/sp23/Makefile
sptests/sp24/Makefile
sptests/sp25/Makefile
sptests/spname01/Makefile
])

AC_CONFIG_FILES([
tmtests/Makefile
tmtests/tm01/Makefile
tmtests/tm02/Makefile
tmtests/tm03/Makefile
tmtests/tm04/Makefile
tmtests/tm05/Makefile
tmtests/tm06/Makefile
tmtests/tm07/Makefile
tmtests/tm08/Makefile
tmtests/tm09/Makefile
tmtests/tm10/Makefile
tmtests/tm11/Makefile
tmtests/tm12/Makefile
tmtests/tm13/Makefile
tmtests/tm14/Makefile
tmtests/tm15/Makefile
tmtests/tm16/Makefile
tmtests/tm17/Makefile
tmtests/tm18/Makefile
tmtests/tm19/Makefile
tmtests/tm20/Makefile
tmtests/tm21/Makefile
tmtests/tm22/Makefile
tmtests/tm23/Makefile
tmtests/tm24/Makefile
tmtests/tm25/Makefile
tmtests/tm28/Makefile
tmtests/tm29/Makefile
tmtests/tmck/Makefile
tmtests/tmoverhd/Makefile
])

AC_CONFIG_FILES([
mptests/Makefile
mptests/mp01/Makefile
mptests/mp01/node1/Makefile
mptests/mp01/node2/Makefile
mptests/mp02/Makefile
mptests/mp02/node1/Makefile
mptests/mp02/node2/Makefile
mptests/mp03/Makefile
mptests/mp03/node1/Makefile
mptests/mp03/node2/Makefile
mptests/mp04/Makefile
mptests/mp04/node1/Makefile
mptests/mp04/node2/Makefile
mptests/mp05/Makefile
mptests/mp05/node1/Makefile
mptests/mp05/node2/Makefile
mptests/mp06/Makefile
mptests/mp06/node1/Makefile
mptests/mp06/node2/Makefile
mptests/mp07/Makefile
mptests/mp07/node1/Makefile
mptests/mp07/node2/Makefile
mptests/mp08/Makefile
mptests/mp08/node1/Makefile
mptests/mp08/node2/Makefile
mptests/mp09/Makefile
mptests/mp09/node1/Makefile
mptests/mp09/node2/Makefile
mptests/mp10/Makefile
mptests/mp10/node1/Makefile
mptests/mp10/node2/Makefile
mptests/mp11/Makefile
mptests/mp11/node1/Makefile
mptests/mp11/node2/Makefile
mptests/mp12/Makefile
mptests/mp12/node1/Makefile
mptests/mp12/node2/Makefile
mptests/mp13/Makefile
mptests/mp13/node1/Makefile
mptests/mp13/node2/Makefile
mptests/mp14/Makefile
mptests/mp14/node1/Makefile
mptests/mp14/node2/Makefile
])

AC_OUTPUT