summaryrefslogtreecommitdiffstats
path: root/configure.in
blob: 5ba77d2f8f847e3c9bdcdf530ae6584ecaa3cce6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61

dnl Process this file with autoconf to produce a configure script.
dnl
dnl  $Id$

AC_PREREQ(2.13)
AC_INIT(c)
RTEMS_TOP(.)

RTEMS_CANONICAL_TARGET_CPU
AM_INIT_AUTOMAKE(rtems,$RTEMS_VERSION,no)
AM_MAINTAINER_MODE

dnl RTEMS_ENABLE_BARE
dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp)

dnl These option are only in here to let --help report all supported
dnl options.
RTEMS_ENABLE_MULTIPROCESSING
RTEMS_ENABLE_POSIX
RTEMS_ENABLE_ITRON
RTEMS_ENABLE_NETWORKING
RTEMS_ENABLE_RDBG
RTEMS_ENABLE_INLINES
RTEMS_ENABLE_CXX
RTEMS_ENABLE_GCC28
RTEMS_ENABLE_LIBCDIR
RTEMS_ENABLE_TESTS
RTEMS_ENABLE_HWAPI

RTEMS_CHECK_CPU
RTEMS_CANONICAL_HOST

AC_CONFIG_SUBDIRS(tools/build)
AC_CONFIG_SUBDIRS(tools/update)
AC_CONFIG_SUBDIRS(tools/cpu)

# List all subdirectories to be compiled for the target here
RTEMS_CONFIG_SUBDIRS(c)

if test "$target_alias" != "$host_alias"; then
changequote(,)dnl
TARGET_SUBDIRS=`echo "$target_subdirs" | \
 sed -e "s%\([^ ]\+\)%$target_alias/\1%g"`
changequote([,])dnl
else
TARGET_SUBDIRS="$target_subdirs"
fi
AC_SUBST(TARGET_SUBDIRS)

# Explicitly list all Makefiles here
AC_OUTPUT( 
Makefile
tools/Makefile
make/Makefile
make/custom/Makefile
make/Templates/Makefile
make/compilers/Makefile
doc/Makefile)

RTEMS_OUTPUT_SUBDIRS(RTEMS_TGT_SUBDIRS)