source: rtems/cpukit/configure.ac @ cc27933

4.104.114.84.95
Last change on this file since cc27933 was cc27933, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 4, 2002 at 7:36:11 PM

2002-01-04 Joel Sherrill <joel@…>

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