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

4.104.114.84.9
Last change on this file since d16ca93 was d16ca93, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 27, 2000 at 2:04:18 PM

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

  • configure.in: add lib/libbsp to the GNU canonicalized subdirectories, remove cfg_subdirs, cfg_subdirs1, hst_subdirs1.
  • Makefile.am: remove cfg_subdirs, cfg_subdirs1, hst_subdirs1.
  • ChangeLog?: Fix typos.
  • 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
28AC_CONFIG_SUBDIRS(make)
29
30## Exclude exec from building if multilibs are enabled
31if test x"$multilib" = x"no"; then
32hst_subdirs="$hst_subdirs exec"
33fi
34hst_subdirs="$hst_subdirs lib"
35hst_subdirs="$hst_subdirs lib/libcpu"
36hst_subdirs="$hst_subdirs lib/libbsp"
37hst_subdirs="$hst_subdirs libfs"
38hst_subdirs="$hst_subdirs libmisc"
39
40if test "$RTEMS_CPU" != "unix"; then
41## HACK: Suppress libchip for unix
42hst_subdirs="$hst_subdirs libchip"
43fi
44
45if test "$HAS_NETWORKING" = "yes"; then
46  hst_subdirs="$hst_subdirs libnetworking librpc"
47  if test "$RTEMS_HAS_RDBG" = "yes"; then
48    RTEMS_CHECK_RDBG(RTEMS_BSP)
49  fi
50fi
51
52if test "$HAS_RDBG" = "yes"; then
53  hst_subdirs="$hst_subdirs librdbg"
54fi
55AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
56AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
57
58if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
59  hst_subdirs="$hst_subdirs librtems++";
60fi
61
62RTEMS_CONFIG_HOST_SUBDIRS($hst_subdirs)
63AC_SUBST(hst_subdirs)
64
65RTEMS_CONFIG_HOST_SUBDIRS(tests)
66
67RTEMS_PROJECT_ROOT
68
69RTEMS_PROG_CC_FOR_TARGET
70RTEMS_CANONICALIZE_TOOLS
71
72# Explicitly list all Makefiles here
73AC_OUTPUT(
74Makefile
75wrapup/Makefile,,
76test -d lib || mkdir lib
77)
78
79RTEMS_OUTPUT_HOST_SUBDIRS(RTEMS_HOST_SUBDIRS)
Note: See TracBrowser for help on using the repository browser.