source: rtems/c/src/exec/configure.in @ de05cbb9

4.104.114.84.95
Last change on this file since de05cbb9 was 53c3a2c6, checked in by Joel Sherrill <joel.sherrill@…>, on 05/07/01 at 13:16:57

2001-04-27 Ralf Corsepius <corsepiu@…>

  • configure.in: Add [-ansi -fasm] to RTEMS_PROG_CC_FOR_TARGET.
  • Property mode set to 100644
File size: 2.6 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl  $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(score)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11
12AM_INIT_AUTOMAKE(rtems-c-src-exec,$RTEMS_VERSION,no)
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_MULTILIB
16RTEMS_ENABLE_MULTIPROCESSING
17RTEMS_ENABLE_POSIX
18RTEMS_ENABLE_ITRON
19RTEMS_ENABLE_INLINES
20RTEMS_ENABLE_GCC28
21RTEMS_ENABLE_RTEMS_DEBUG
22
23RTEMS_ENV_RTEMSCPU
24RTEMS_CHECK_RTEMS_DEBUG
25
26RTEMS_CHECK_CPU
27RTEMS_CANONICAL_HOST
28
29RTEMS_PROJECT_ROOT
30
31RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
32RTEMS_CANONICALIZE_TOOLS
33
34RTEMS_CHECK_NEWLIB
35
36RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
37RTEMS_CHECK_POSIX_API(RTEMS_BSP)
38RTEMS_CHECK_ITRON_API(RTEMS_BSP)
39
40# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
41if test "$RTEMS_USE_MACROS" = "yes"; then
42  INLINEdir="macros"
43else
44  INLINEdir="inline"
45fi
46AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
47AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
48AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
49
50AC_SUBST(RTEMS_VERSION)
51
52AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
53AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
54
55if test "$HAS_POSIX_API" = "yes"; then
56  cfg_subdirs="posix"
57fi
58if test "$HAS_ITRON_API" = "yes"; then
59  cfg_subdirs="$cfg_subdirs itron"
60fi
61AC_CONFIG_SUBDIRS($cfg_subdirs)
62AC_CONFIG_SUBDIRS(score/cpu/$RTEMS_CPU)
63
64RTEMS_DEFINE_POSIX_API
65RTEMS_DEFINE_ITRON_API
66RTEMS_DEFINE_MULTIPROCESSING
67
68# HACK: We should use a feature-based configuration.
69if test x"${RTEMS_CPU}" = x"unix"; then
70AC_DEFINE_UNQUOTED(RTEMS_UNIX,1,[to indicate RTEMS unix])
71fi
72
73AM_CONFIG_HEADER(score/include/rtems/score/cpuopts-tmp.h)
74
75# Explicitly list all Makefiles here
76AC_OUTPUT(
77Makefile
78rtems/Makefile
79rtems/src/Makefile
80rtems/include/Makefile
81rtems/include/rtems/Makefile
82rtems/include/rtems/rtems/Makefile
83rtems/optman/Makefile
84rtems/inline/Makefile
85rtems/inline/rtems/Makefile
86rtems/inline/rtems/rtems/Makefile
87rtems/macros/Makefile
88rtems/macros/rtems/Makefile
89rtems/macros/rtems/rtems/Makefile
90sapi/Makefile
91sapi/src/Makefile
92sapi/include/Makefile
93sapi/include/rtems/Makefile
94sapi/include/rtems/sptables.h
95sapi/inline/Makefile
96sapi/inline/rtems/Makefile
97sapi/macros/Makefile
98sapi/macros/rtems/Makefile
99sapi/optman/Makefile
100score/Makefile
101score/cpu/Makefile
102score/include/Makefile
103score/include/rtems/Makefile
104score/include/rtems/score/Makefile
105score/inline/Makefile
106score/inline/rtems/Makefile
107score/inline/rtems/score/Makefile
108score/macros/Makefile
109score/macros/rtems/Makefile
110score/macros/rtems/score/Makefile
111score/src/Makefile
112wrapup/Makefile
113wrapup/rtems/Makefile
114wrapup/itron/Makefile
115wrapup/posix/Makefile
116)
Note: See TracBrowser for help on using the repository browser.