source: rtems/c/src/configure.in @ 7b0001f7

4.104.114.84.95
Last change on this file since 7b0001f7 was 4a2faa7c, checked in by Joel Sherrill <joel.sherrill@…>, on 10/24/00 at 22:06:58

2000-10-24 Ralf Corsepius <corsepiu@…>

  • Makefile.am, acinclude.m4, configure.in: Introduce GNU canonicalization to libfs/. The approach is currently a bit of a hack as GNU canonicalization does not support the per-BSP build some of the other directories require. As more of the tree is converted, this will become less of an issue.
  • Property mode set to 100644
File size: 1.7 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
30## Exclude exec from building if multilibs are enabled
31if test x"$multilib" = x"no"; then
32cfg_subdirs="$cfg_subdirs exec"
33fi
34cfg_subdirs="$cfg_subdirs lib"
35cfg_subdirs="$cfg_subdirs lib/libcpu lib/libbsp"
36hst_subdirs="libfs"
37cfg_subdirs2="libmisc"
38
39if test "$RTEMS_CPU" != "unix"; then
40## HACK: Suppress libchip for unix
41cfg_subdirs2="$cfg_subdirs2 libchip"
42fi
43
44if test "$HAS_NETWORKING" = "yes"; then
45  cfg_subdirs2="$cfg_subdirs2 libnetworking librpc"
46  if test "$RTEMS_HAS_RDBG" = "yes"; then
47    RTEMS_CHECK_RDBG(RTEMS_BSP)
48  fi
49fi
50
51if test "$HAS_RDBG" = "yes"; then
52  cfg_subdirs2="$cfg_subdirs2 librdbg"
53fi
54AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
55AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
56
57if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
58  cfg_subdirs2="$cfg_subdirs2 librtems++";
59fi
60
61RTEMS_CONFIG_HOST_SUBDIRS($hst_subdirs)
62AC_SUBST(hst_subdirs)
63
64AC_CONFIG_SUBDIRS($cfg_subdirs)
65AC_SUBST(cfg_subdirs)
66
67AC_CONFIG_SUBDIRS($cfg_subdirs2)
68AC_SUBST(cfg_subdirs2)
69
70AC_CONFIG_SUBDIRS(tests)
71
72RTEMS_PROJECT_ROOT
73
74RTEMS_PROG_CC_FOR_TARGET
75RTEMS_CANONICALIZE_TOOLS
76
77# Explicitly list all Makefiles here
78AC_OUTPUT(
79Makefile
80wrapup/Makefile
81)
82
83RTEMS_OUTPUT_HOST_SUBDIRS(RTEMS_HOST_SUBDIRS)
Note: See TracBrowser for help on using the repository browser.