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

4.104.114.84.95
Last change on this file since e1d8abb was e1d8abb, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 7, 1999 at 1:45:03 PM

Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@…> which converted many
Makefile.in's to Makefile.am's. This added a lot of files.

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