source:
rtems/c/src/lib/configure.in
@
5a23ca84
Last change on this file since 5a23ca84 was 70810dc, checked in by Joel Sherrill <joel.sherrill@…>, on Feb 8, 2000 at 10:33:25 PM | |
---|---|
|
|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[eb299af] | 1 | dnl Process this file with autoconf to produce a configure script. |
2 | dnl | |
[3ac8e590] | 3 | dnl $Id$ |
[eb299af] | 4 | |
5 | AC_PREREQ(2.13) | |
6 | AC_INIT(libbsp) | |
7 | RTEMS_TOP(../../..) | |
8 | AC_CONFIG_AUX_DIR(../../..) | |
9 | ||
10 | RTEMS_CANONICAL_TARGET_CPU | |
[7e642ba] | 11 | AM_INIT_AUTOMAKE(rtems-c-src-lib,$RTEMS_VERSION,no) |
[eb299af] | 12 | AM_MAINTAINER_MODE |
13 | ||
14 | RTEMS_ENABLE_MULTIPROCESSING | |
15 | RTEMS_ENABLE_NETWORKING | |
16 | RTEMS_ENABLE_BARE | |
17 | RTEMS_ENABLE_HWAPI | |
18 | ||
19 | RTEMS_ENV_RTEMSBSP | |
20 | ||
21 | RTEMS_CHECK_CPU | |
22 | RTEMS_CANONICAL_HOST | |
23 | ||
24 | RTEMS_PROJECT_ROOT | |
25 | ||
26 | RTEMS_PROG_CC_FOR_TARGET | |
27 | RTEMS_CANONICALIZE_TOOLS | |
28 | ||
29 | RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP) | |
[1896a650] | 30 | RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP) |
[3a8915e] | 31 | RTEMS_CHECK_NETWORKING(RTEMS_BSP) |
[eb299af] | 32 | |
33 | AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix") | |
[e1d8abb] | 34 | |
[eb299af] | 35 | # find all the CPU dependent library Makefiles |
[e1d8abb] | 36 | AC_CONFIG_SUBDIRS(libcpu) |
37 | AC_CONFIG_SUBDIRS(libbsp) | |
[eb299af] | 38 | |
39 | RTEMS_ENABLE_HWAPI | |
40 | if test "$RTEMS_HAS_HWAPI" = "yes"; then | |
[e1d8abb] | 41 | if test -d "${srcdir}/libhwapi"; then |
42 | cfg_subdirs="$cfg_subdirs libhwapi" | |
[eb299af] | 43 | fi |
[e1d8abb] | 44 | LIBHWAPI="libhwapi" |
[eb299af] | 45 | fi |
[e1d8abb] | 46 | AC_SUBST(LIBHWAPI) |
[eb299af] | 47 | |
[e1d8abb] | 48 | AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes") |
49 | ||
50 | AC_CONFIG_SUBDIRS($cfg_subdirs) | |
[eb299af] | 51 | |
[70810dc] | 52 | # Explicitly list all Makefiles here |
[eb299af] | 53 | AC_OUTPUT( |
54 | Makefile | |
55 | include/Makefile | |
[e1d8abb] | 56 | include/sys/Makefile |
57 | include/motorola/Makefile | |
58 | include/zilog/Makefile | |
[ce18601a] | 59 | libc/Makefile) |
Note: See TracBrowser
for help on using the repository browser.