source: rtems/c/src/ada-tests/configure.ac @ 0f9e7f96

4.104.114.84.95
Last change on this file since 0f9e7f96 was ea14663, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 3, 2003 at 9:14:04 PM

2003-01-03 Joel Sherrill <joel@…>

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