source: rtems/c/src/exec/configure.ac @ 7660ccd8

4.104.114.84.95
Last change on this file since 7660ccd8 was 7660ccd8, checked in by Joel Sherrill <joel.sherrill@…>, on 10/17/01 at 13:12:45

2001-10-16 Ralf Corsepius <corsepiu@…>

  • configure.ac: Use RTEMS_CPU_SUBDIRS to make autoconf-2.52 happy.
  • Property mode set to 100644
File size: 2.1 KB
RevLine 
[66387986]1## Process this file with autoconf to produce a configure script.
2##
3## $Id$
[eb299afc]4
[66387986]5AC_PREREQ(2.52)
6AC_INIT
7AC_CONFIG_SRCDIR([score])
[eb299afc]8RTEMS_TOP(../../..)
9AC_CONFIG_AUX_DIR(../../..)
10
11RTEMS_CANONICAL_TARGET_CPU
12
[e1d8abb]13AM_INIT_AUTOMAKE(rtems-c-src-exec,$RTEMS_VERSION,no)
[eb299afc]14AM_MAINTAINER_MODE
[04e6f7bf]15
16RTEMS_ENABLE_MULTILIB
[eb299afc]17RTEMS_ENABLE_MULTIPROCESSING
18RTEMS_ENABLE_POSIX
[352c9b2]19RTEMS_ENABLE_ITRON
[eb299afc]20RTEMS_ENABLE_INLINES
21RTEMS_ENABLE_GCC28
[39607984]22RTEMS_ENABLE_RTEMS_DEBUG
[eb299afc]23
[04e6f7bf]24RTEMS_ENV_RTEMSCPU
[39607984]25RTEMS_CHECK_RTEMS_DEBUG
[eb299afc]26
27RTEMS_CHECK_CPU
28RTEMS_CANONICAL_HOST
29
30RTEMS_PROJECT_ROOT
31
[53c3a2c6]32RTEMS_PROG_CC_FOR_TARGET([-ansi -fasm])
[eb299afc]33RTEMS_CANONICALIZE_TOOLS
34
35RTEMS_CHECK_NEWLIB
36
[1896a650]37RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
[3a8915e]38RTEMS_CHECK_POSIX_API(RTEMS_BSP)
[352c9b2]39RTEMS_CHECK_ITRON_API(RTEMS_BSP)
[1896a650]40
[eb299afc]41# If RTEMS macros are enabled, then use them.  Otherwise, use inlines.
42if test "$RTEMS_USE_MACROS" = "yes"; then
[e1d8abb]43  INLINEdir="macros"
[eb299afc]44else
[e1d8abb]45  INLINEdir="inline"
[1896a650]46fi
[e1d8abb]47AM_CONDITIONAL(INLINE,test "$INLINEdir" = "inline" )
48AM_CONDITIONAL(MACROS,test "$INLINEdir" = "macros" )
[9608320]49AM_CONDITIONAL(HAS_MP,test "$HAS_MP" = "yes" )
[1896a650]50
[e1d8abb]51AC_SUBST(RTEMS_VERSION)
[1896a650]52
[e1d8abb]53AM_CONDITIONAL(HAS_POSIX,test "$HAS_POSIX_API" = "yes")
[352c9b2]54AM_CONDITIONAL(HAS_ITRON,test "$HAS_ITRON_API" = "yes")
[eb299afc]55
[e1d8abb]56if test "$HAS_POSIX_API" = "yes"; then
[81d4759]57  AC_CONFIG_SUBDIRS(posix)
[352c9b2]58fi
59if test "$HAS_ITRON_API" = "yes"; then
[81d4759]60  AC_CONFIG_SUBDIRS(itron)
[e1d8abb]61fi
[7660ccd8]62RTEMS_CPU_SUBDIRS([score/cpu])
[eb299afc]63
[b8a30d07]64RTEMS_DEFINE_POSIX_API
65RTEMS_DEFINE_ITRON_API
66RTEMS_DEFINE_MULTIPROCESSING
67
[c0394d4b]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
[e0ba3e8]73AM_CONFIG_HEADER(score/include/rtems/score/cpuopts-tmp.h)
74
[70810dc]75# Explicitly list all Makefiles here
[66387986]76AC_CONFIG_FILES([Makefile
[1896a650]77rtems/Makefile
78rtems/src/Makefile
79rtems/include/Makefile
80rtems/optman/Makefile
[e1d8abb]81rtems/inline/Makefile
82rtems/macros/Makefile
[1896a650]83sapi/Makefile
84sapi/src/Makefile
85sapi/include/Makefile
86sapi/include/rtems/sptables.h
[e1d8abb]87sapi/inline/Makefile
88sapi/macros/Makefile
[1896a650]89sapi/optman/Makefile
[eb299afc]90score/Makefile
91score/cpu/Makefile
92score/include/Makefile
[e1d8abb]93score/inline/Makefile
94score/macros/Makefile
[eb299afc]95score/src/Makefile
96wrapup/Makefile
97wrapup/rtems/Makefile
[352c9b2]98wrapup/itron/Makefile
[e1d8abb]99wrapup/posix/Makefile
[66387986]100])
101AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.