OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [configure.in] - Blame information for rev 173

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 30 unneback
dnl Process this file with autoconf to produce a configure script.
2
dnl
3
dnl  $Id: configure.in,v 1.2 2001-09-27 11:59:11 chris Exp $
4
 
5
AC_PREREQ(2.13)
6
AC_INIT(exec)
7
RTEMS_TOP(../..)
8
AC_CONFIG_AUX_DIR(../..)
9
 
10
RTEMS_ENABLE_CXX
11
RTEMS_ENABLE_NETWORKING
12
RTEMS_ENABLE_RDBG
13
 
14
RTEMS_CANONICAL_TARGET_CPU
15
RTEMS_CANONICAL_HOST
16
 
17
AM_INIT_AUTOMAKE(rtems-c-src,$RTEMS_VERSION,no)
18
AM_MAINTAINER_MODE
19
 
20
RTEMS_ENV_RTEMSBSP
21
RTEMS_CHECK_CPU
22
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
23
 
24
RTEMS_CHECK_NETWORKING(RTEMS_BSP)
25
 
26
## Note: the order of the directories below is essential
27
cfg_subdirs="make"
28
cfg_subdirs="$cfg_subdirs exec"
29
cfg_subdirs="$cfg_subdirs lib"
30
cfg_subdirs="$cfg_subdirs libmisc"
31
 
32
if test "$RTEMS_CPU" != "unix"; then
33
## HACK: Suppress libchip for unix
34
cfg_subdirs="$cfg_subdirs libchip"
35
fi
36
 
37
if test "$HAS_NETWORKING" = "yes"; then
38
  cfg_subdirs="$cfg_subdirs libnetworking librpc"
39
  if test "$RTEMS_HAS_RDBG" = "yes"; then
40
    RTEMS_CHECK_RDBG(RTEMS_BSP)
41
  fi
42
fi
43
 
44
if test "$HAS_RDBG" = "yes"; then
45
  cfg_subdirs="$cfg_subdirs librdbg"
46
fi
47
AM_CONDITIONAL(HAS_NETWORKING, test "$HAS_NETWORKING" = "yes" )
48
AM_CONDITIONAL(HAS_RDBG, test "$HAS_RDBG" = "yes" )
49
 
50
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
51
  cfg_subdirs="$cfg_subdirs librtems++";
52
fi
53
 
54
AC_CONFIG_SUBDIRS($cfg_subdirs)
55
AC_SUBST(cfg_subdirs)
56
AC_CONFIG_SUBDIRS(tests)
57
 
58
RTEMS_PROJECT_ROOT
59
 
60
# Explicitly list all Makefiles here
61
AC_OUTPUT(
62
Makefile
63
wrapup/Makefile
64
)

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.