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

4.104.114.84.95
Last change on this file since a6eabdb6 was a6eabdb6, checked in by Joel Sherrill <joel.sherrill@…>, on 10/26/00 at 13:05:34

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

  • configure.in: add lib/libcpu to the GNU canonicalized subdirectories,
  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[eb299afc]1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl  $Id$
4
5AC_PREREQ(2.13)
[f724a870]6AC_INIT(exec)
[eb299afc]7RTEMS_TOP(../..)
8AC_CONFIG_AUX_DIR(../..)
9
[e1d8abb]10RTEMS_ENABLE_CXX
[b62a92c]11RTEMS_ENABLE_NETWORKING
[45269dc]12RTEMS_ENABLE_RDBG
[e1d8abb]13
[eb299afc]14RTEMS_CANONICAL_TARGET_CPU
[b62a92c]15RTEMS_CANONICAL_HOST
[eb299afc]16
17AM_INIT_AUTOMAKE(rtems-c-src,$RTEMS_VERSION,no)
18AM_MAINTAINER_MODE
19
[04e6f7bf]20RTEMS_ENABLE_MULTILIB
[eb299afc]21RTEMS_ENV_RTEMSBSP
22RTEMS_CHECK_CPU
23RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
24
[b62a92c]25RTEMS_CHECK_NETWORKING(RTEMS_BSP)
26
[e1d8abb]27## Note: the order of the directories below is essential
[e590416a]28cfg_subdirs1="make"
[4a2faa7c]29
[04e6f7bf]30## Exclude exec from building if multilibs are enabled
31if test x"$multilib" = x"no"; then
[e590416a]32hst_subdirs1="$hst_subdirs1 exec"
[04e6f7bf]33fi
[a6eabdb6]34hst_subdirs1="$hst_subdirs1 lib lib/libcpu"
35cfg_subdirs="$cfg_subdirs lib/libbsp"
[4a2faa7c]36hst_subdirs="libfs"
[fa60c5b]37hst_subdirs="$hst_subdirs libmisc"
[45269dc]38
[2782e69]39if test "$RTEMS_CPU" != "unix"; then
40## HACK: Suppress libchip for unix
[fa60c5b]41hst_subdirs="$hst_subdirs libchip"
[2782e69]42fi
43
[b62a92c]44if test "$HAS_NETWORKING" = "yes"; then
[3724b7f]45  hst_subdirs="$hst_subdirs libnetworking librpc"
[45269dc]46  if test "$RTEMS_HAS_RDBG" = "yes"; then
47    RTEMS_CHECK_RDBG(RTEMS_BSP)
48  fi
49fi
50
51if test "$HAS_RDBG" = "yes"; then
[3724b7f]52  hst_subdirs="$hst_subdirs librdbg"
[b62a92c]53fi
[4bdebdfe]54AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
55AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
[45269dc]56
[e1d8abb]57if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
[0864bf93]58  hst_subdirs="$hst_subdirs librtems++";
[e1d8abb]59fi
[45269dc]60
[e590416a]61RTEMS_CONFIG_HOST_SUBDIRS($hst_subdirs1)
62AC_SUBST(hst_subdirs1)
[4a2faa7c]63RTEMS_CONFIG_HOST_SUBDIRS($hst_subdirs)
64AC_SUBST(hst_subdirs)
65
[e590416a]66AC_CONFIG_SUBDIRS($cfg_subdirs1)
67AC_SUBST(cfg_subdirs1)
[e1d8abb]68AC_CONFIG_SUBDIRS($cfg_subdirs)
[0efa9f0]69AC_SUBST(cfg_subdirs)
[4a2faa7c]70
[eb299afc]71AC_CONFIG_SUBDIRS(tests)
72
[b62a92c]73RTEMS_PROJECT_ROOT
74
[00438014]75RTEMS_PROG_CC_FOR_TARGET
76RTEMS_CANONICALIZE_TOOLS
77
[70810dc]78# Explicitly list all Makefiles here
[eb299afc]79AC_OUTPUT(
80Makefile
[c05edee]81wrapup/Makefile,,
82test -d lib || mkdir lib
[eb299afc]83)
[4a2faa7c]84
85RTEMS_OUTPUT_HOST_SUBDIRS(RTEMS_HOST_SUBDIRS)
Note: See TracBrowser for help on using the repository browser.