4.104.114.84.95
Line | |
---|
1 | dnl Process this file with autoconf to produce a configure script. |
---|
2 | dnl |
---|
3 | dnl $Id$ |
---|
4 | |
---|
5 | AC_PREREQ(2.13) |
---|
6 | AC_INIT(c) |
---|
7 | RTEMS_TOP(.) |
---|
8 | |
---|
9 | # Abort if trying to build inside of the source tree. |
---|
10 | if test -f VERSION; then |
---|
11 | rm -f config.cache config.log confdefs.h |
---|
12 | AC_MSG_ERROR([***] |
---|
13 | [Attempt to build inside of the source tree] |
---|
14 | [Please use a separate build directory, instead] ) |
---|
15 | fi |
---|
16 | |
---|
17 | RTEMS_CANONICAL_TARGET_CPU |
---|
18 | AM_INIT_AUTOMAKE(rtems,$RTEMS_VERSION,no) |
---|
19 | AM_MAINTAINER_MODE |
---|
20 | |
---|
21 | dnl RTEMS_ENABLE_BARE |
---|
22 | dnl RTEMS_ENABLE_RTEMSBSP(rtems_bsp) |
---|
23 | |
---|
24 | dnl These option are only in here to let --help report all supported |
---|
25 | dnl options. |
---|
26 | RTEMS_ENABLE_MULTIPROCESSING |
---|
27 | RTEMS_ENABLE_POSIX |
---|
28 | RTEMS_ENABLE_ITRON |
---|
29 | RTEMS_ENABLE_NETWORKING |
---|
30 | RTEMS_ENABLE_RDBG |
---|
31 | RTEMS_ENABLE_INLINES |
---|
32 | RTEMS_ENABLE_CXX |
---|
33 | RTEMS_ENABLE_GCC28 |
---|
34 | RTEMS_ENABLE_LIBCDIR |
---|
35 | RTEMS_ENABLE_TESTS |
---|
36 | |
---|
37 | RTEMS_CHECK_CPU |
---|
38 | RTEMS_CANONICAL_HOST |
---|
39 | |
---|
40 | AC_CONFIG_SUBDIRS(tools/build) |
---|
41 | AC_CONFIG_SUBDIRS(tools/update) |
---|
42 | AC_CONFIG_SUBDIRS(tools/cpu) |
---|
43 | |
---|
44 | # List all subdirectories to be compiled for the target here |
---|
45 | RTEMS_CONFIG_SUBDIRS(c) |
---|
46 | |
---|
47 | if test "$target_alias" != "$host_alias"; then |
---|
48 | changequote(,)dnl |
---|
49 | TARGET_SUBDIRS=`echo "$target_subdirs" | \ |
---|
50 | sed -e "s%\([a-zA-Z0-9][a-zA-Z0-9]*\)%${target_alias}/\1%g"` |
---|
51 | changequote([,])dnl |
---|
52 | else |
---|
53 | TARGET_SUBDIRS="$target_subdirs" |
---|
54 | fi |
---|
55 | AC_SUBST(TARGET_SUBDIRS) |
---|
56 | |
---|
57 | # Explicitly list all Makefiles here |
---|
58 | AC_OUTPUT( |
---|
59 | Makefile |
---|
60 | tools/Makefile |
---|
61 | make/Makefile |
---|
62 | make/custom/Makefile |
---|
63 | make/Templates/Makefile |
---|
64 | make/compilers/Makefile |
---|
65 | doc/Makefile) |
---|
66 | |
---|
67 | RTEMS_OUTPUT_SUBDIRS(RTEMS_TGT_SUBDIRS) |
---|
Note: See
TracBrowser
for help on using the repository browser.