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

Subversion Repositories openrisc

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

Go to most recent revision | 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 12:02:07 chris Exp $
4
 
5
AC_PREREQ(2.13)
6
AC_INIT(samples)
7
RTEMS_TOP(../../..)
8
AC_CONFIG_AUX_DIR(../../..)
9
 
10
RTEMS_CANONICAL_TARGET_CPU
11
 
12
AM_INIT_AUTOMAKE(rtems-c-src-tests,$RTEMS_VERSION,no)
13
AM_MAINTAINER_MODE
14
 
15
RTEMS_ENABLE_MULTIPROCESSING
16
RTEMS_ENABLE_POSIX
17
RTEMS_ENABLE_ITRON
18
RTEMS_ENABLE_NETWORKING
19
RTEMS_ENABLE_INLINES
20
RTEMS_ENABLE_CXX
21
RTEMS_ENABLE_GCC28
22
RTEMS_ENABLE_BARE
23
RTEMS_ENABLE_TESTS
24
 
25
RTEMS_ENV_RTEMSBSP
26
RTEMS_CHECK_CPU
27
RTEMS_CANONICAL_HOST
28
 
29
RTEMS_PROJECT_ROOT
30
 
31
RTEMS_PROG_CC_FOR_TARGET
32
 
33
dnl check for g++
34
if test "$RTEMS_HAS_CPLUSPLUS" = "yes"; then
35
  RTEMS_PROG_CXX_FOR_TARGET
36
fi
37
 
38
RTEMS_CANONICALIZE_TOOLS
39
 
40
RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
41
RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
42
RTEMS_CHECK_POSIX_API(RTEMS_BSP)
43
RTEMS_CHECK_ITRON_API(RTEMS_BSP)
44
 
45
if test "$tests_enabled" = "yes"; then
46
  # do functionality tests first, then performance tests
47
  cfg_subdirs="libtests sptests"
48
  if test "$HAS_MP" = "yes"; then
49
    cfg_subdirs="$cfg_subdirs mptests"
50
  fi
51
  if test "$HAS_POSIX_API" = "yes"; then
52
    cfg_subdirs="$cfg_subdirs psxtests"
53
  fi
54
  if test "$HAS_ITRON_API" = "yes"; then
55
    cfg_subdirs="$cfg_subdirs itrontests"
56
  fi
57
  # Now do performance tests
58
  cfg_subdirs="$cfg_subdirs tmtests"
59
  if test "$HAS_ITRON_API" = "yes"; then
60
    cfg_subdirs="$cfg_subdirs tmitrontests"
61
  fi
62
fi
63
 
64
AC_SUBST(BARE_CPU_CFLAGS)
65
AC_SUBST(BARE_CPU_MODEL)
66
 
67
AC_CONFIG_SUBDIRS(tools)
68
AC_CONFIG_SUBDIRS(support)
69
AC_CONFIG_SUBDIRS(samples)
70
AC_CONFIG_SUBDIRS($cfg_subdirs)
71
 
72
# Explicitly list all Makefiles here
73
AC_OUTPUT(
74
Makefile
75
)

powered by: WebSVN 2.1.0

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