summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/configure.ac
blob: d3fcdd55fc8a469c743e9a3b368583b3cce0facf (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
## Process this file with autoconf to produce a configure script.
## 
## $Id$

AC_PREREQ(2.59)
AC_INIT([rtems-ada-tests],[_RTEMS_VERSION],[rtems-bugs@rtems.com])
AC_CONFIG_SRCDIR([support])
RTEMS_TOP(../../..)

RTEMS_CANONICAL_TARGET_CPU

AM_INIT_AUTOMAKE([no-define foreign 1.8])
AM_MAINTAINER_MODE

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

RTEMS_ENABLE_MULTILIB
RTEMS_ENABLE_MULTIPROCESSING
RTEMS_ENV_RTEMSBSP
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)

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

AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes")

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

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

RTEMS_PROJECT_ROOT

# 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
])

if test "$HAS_MP" = "yes"; then
AC_CONFIG_FILES([
samples/base_mp/Makefile
samples/base_mp/node1/Makefile
samples/base_mp/node2/Makefile
])
fi

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/sp21/Makefile
sptests/sp22/Makefile
sptests/sp23/Makefile
sptests/sp24/Makefile
sptests/sp25/Makefile
sptests/spsize/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
])

if test "$HAS_MP" = "yes"; then
AC_CONFIG_FILES([
mptests/Makefile
mptests/mp01/Makefile
mptests/mp01/node1/Makefile
mptests/mp01/node2/Makefile
])
#mptests/mp02/Makefile
#mptests/mp03/Makefile
#mptests/mp04/Makefile
#mptests/mp05/Makefile
#mptests/mp06/Makefile
#mptests/mp07/Makefile
#mptests/mp08/Makefile
#mptests/mp09/Makefile
#mptests/mp10/Makefile
#mptests/mp11/Makefile
#mptests/mp12/Makefile
#mptests/mp13/Makefile
#mptests/mp14/Makefile
fi

AC_OUTPUT