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

4.104.114.84.95
Last change on this file since ad502d18 was 352c9b2, checked in by Joel Sherrill <joel.sherrill@…>, on 11/09/99 at 22:07:23

This patch adds the basic framework for the ITRON 3.0 API implementation
for RTEMS.

  • Property mode set to 100644
File size: 2.7 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
14RTEMS_ENABLE_MULTIPROCESSING
15RTEMS_ENABLE_POSIX
16RTEMS_ENABLE_ITRON
17RTEMS_ENABLE_INLINES
18RTEMS_ENABLE_GCC28
19RTEMS_ENABLE_LIBCDIR
20
21RTEMS_ENV_RTEMSBSP
22
23RTEMS_CHECK_CPU
24RTEMS_CANONICAL_HOST
25
26RTEMS_PROJECT_ROOT
27
28dnl check target cc
29RTEMS_PROG_CC_FOR_TARGET
30RTEMS_CANONICALIZE_TOOLS
31
32RTEMS_CHECK_NEWLIB
33
34# Check if there is custom/*.cfg for this BSP
35RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
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"
43  if test "$HAS_POSIX_API" = "yes"; then
44    # The problem is that there is currently no code in posix/macros :)
45    AC_MSG_ERROR(Macros are not implemented for the POSIX API)
46  fi
47  if test "$HAS_ITRON_API" = "yes"; then
48    # The problem is that there is currently no code in itron/macros :)
49    AC_MSG_ERROR(Macros are not implemented for the ITRON API)
50  fi
51else
52  INLINEdir="inline"
53fi
54AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
55AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
56
57AC_SUBST(RTEMS_VERSION)
58
59AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
60AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
61
62if test "$HAS_POSIX_API" = "yes"; then
63  cfg_subdirs="posix"
64fi
65if test "$HAS_ITRON_API" = "yes"; then
66  cfg_subdirs="$cfg_subdirs itron"
67fi
68AC_CONFIG_SUBDIRS($cfg_subdirs)
69AC_CONFIG_SUBDIRS(score/cpu)
70
71PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
72AC_SUBST(PROJECT_INCLUDE)
73
74# Try to explicitly list a Makefile here
75AC_OUTPUT(
76Makefile
77rtems/Makefile
78rtems/src/Makefile
79rtems/include/Makefile
80rtems/include/rtems/Makefile
81rtems/include/rtems/rtems/Makefile
82rtems/optman/Makefile
83rtems/inline/Makefile
84rtems/inline/rtems/Makefile
85rtems/inline/rtems/rtems/Makefile
86rtems/macros/Makefile
87rtems/macros/rtems/Makefile
88rtems/macros/rtems/rtems/Makefile
89sapi/Makefile
90sapi/src/Makefile
91sapi/include/Makefile
92sapi/include/rtems/Makefile
93sapi/include/rtems/sptables.h
94sapi/inline/Makefile
95sapi/inline/rtems/Makefile
96sapi/macros/Makefile
97sapi/macros/rtems/Makefile
98sapi/optman/Makefile
99score/Makefile
100score/cpu/Makefile
101score/include/Makefile
102score/include/rtems/Makefile
103score/include/rtems/score/Makefile
104score/inline/Makefile
105score/inline/rtems/Makefile
106score/inline/rtems/score/Makefile
107score/macros/Makefile
108score/macros/rtems/Makefile
109score/macros/rtems/score/Makefile
110score/src/Makefile
111wrapup/Makefile
112wrapup/rtems/Makefile
113wrapup/itron/Makefile
114wrapup/posix/Makefile
115)
Note: See TracBrowser for help on using the repository browser.