source: rtems/c/src/configure.in @ a059062a

4.104.114.84.95
Last change on this file since a059062a was 00966ba, checked in by Joel Sherrill <joel.sherrill@…>, on 08/30/00 at 08:00:05

2000-08-30 Ralf Corsepius <corsepiu@…>

  • configure.in: Add lib/libcpu and lib/libbsp to cfg_subdirs
  • Property mode set to 100644
File size: 1.5 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl  $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(exec)
7RTEMS_TOP(../..)
8AC_CONFIG_AUX_DIR(../..)
9
10RTEMS_ENABLE_CXX
11RTEMS_ENABLE_NETWORKING
12RTEMS_ENABLE_RDBG
13
14RTEMS_CANONICAL_TARGET_CPU
15RTEMS_CANONICAL_HOST
16
17AM_INIT_AUTOMAKE(rtems-c-src,$RTEMS_VERSION,no)
18AM_MAINTAINER_MODE
19
20RTEMS_ENABLE_MULTILIB
21RTEMS_ENV_RTEMSBSP
22RTEMS_CHECK_CPU
23RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
24
25RTEMS_CHECK_NETWORKING(RTEMS_BSP)
26
27## Note: the order of the directories below is essential
28cfg_subdirs="make"
29## Exclude exec from building if multilibs are enabled
30if test x"$multilib" = x"no"; then
31cfg_subdirs="$cfg_subdirs exec"
32fi
33cfg_subdirs="$cfg_subdirs lib"
34cfg_subdirs="$cfg_subdirs lib/libcpu lib/libbsp"
35cfg_subdirs="$cfg_subdirs libmisc"
36
37if test "$RTEMS_CPU" != "unix"; then
38## HACK: Suppress libchip for unix
39cfg_subdirs="$cfg_subdirs libchip"
40fi
41
42if test "$HAS_NETWORKING" = "yes"; then
43  cfg_subdirs="$cfg_subdirs libnetworking librpc"
44  if test "$RTEMS_HAS_RDBG" = "yes"; then
45    RTEMS_CHECK_RDBG(RTEMS_BSP)
46  fi
47fi
48
49if test "$HAS_RDBG" = "yes"; then
50  cfg_subdirs="$cfg_subdirs librdbg"
51fi
52AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
53AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
54
55if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
56  cfg_subdirs="$cfg_subdirs librtems++";
57fi
58
59AC_CONFIG_SUBDIRS($cfg_subdirs)
60AC_SUBST(cfg_subdirs)
61AC_CONFIG_SUBDIRS(tests)
62
63RTEMS_PROJECT_ROOT
64
65# Explicitly list all Makefiles here
66AC_OUTPUT(
67Makefile
68wrapup/Makefile
69)
Note: See TracBrowser for help on using the repository browser.