source: rtems/c/src/lib/configure.in @ 0efa9f0

4.104.114.84.95
Last change on this file since 0efa9f0 was 0efa9f0, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 4, 1999 at 6:53:31 PM

Patch from Ralf Corsepius <corsepiu@…> to make fix bug
where wrapup left pieces out of the librtemsall.a.

  • Property mode set to 100644
File size: 2.2 KB
Line 
1dnl Process this file with autoconf to produce a configure script.
2dnl
3dnl $Id$
4
5AC_PREREQ(2.13)
6AC_INIT(libbsp)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
11AM_INIT_AUTOMAKE(rtems-c-src-lib,RTEMS_VERSION,no)
12AM_MAINTAINER_MODE
13
14RTEMS_ENABLE_MULTIPROCESSING
15RTEMS_ENABLE_NETWORKING
16RTEMS_ENABLE_RDBG
17RTEMS_ENABLE_LIBCDIR
18RTEMS_ENABLE_BARE
19RTEMS_ENABLE_HWAPI
20
21RTEMS_ENV_RTEMSBSP
22
23RTEMS_CHECK_CPU
24RTEMS_CANONICAL_HOST
25
26RTEMS_PROJECT_ROOT
27
28dnl check target cc
29RTEMS_PROG_CC_FOR_TARGET
30RTEMS_CANONICALIZE_TOOLS
31
32dnl if this is an i386, does gas have good code16 support?
33RTEMS_I386_GAS_CODE16
34AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
35
36RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
37RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
38RTEMS_CHECK_NETWORKING(RTEMS_BSP)
39
40AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix")
41
42# find all the CPU dependent library Makefiles
43AC_CONFIG_SUBDIRS(libcpu)
44AC_CONFIG_SUBDIRS(libbsp)
45
46# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
47if test "$HAS_NETWORKING" = "yes"; then
48  if test "$RTEMS_HAS_RDBG" = "yes"; then
49    RTEMS_CHECK_RDBG(RTEMS_BSP)
50  fi
51fi
52
53if test "$HAS_RDBG" = "yes"; then
54  cfg_subdirs="$cfg_subdirs librdbg"
55fi
56
57# If the HWAPI is enabled, the find the HWAPI Makefiles
58RTEMS_ENABLE_HWAPI
59if test "$RTEMS_HAS_HWAPI" = "yes"; then
60  if test -d "${srcdir}/libhwapi"; then
61    cfg_subdirs="$cfg_subdirs libhwapi"
62  fi
63  LIBHWAPI="libhwapi"
64fi
65AC_SUBST(LIBHWAPI)
66
67if test -d "${srcdir}/start/$RTEMS_CPU"; then
68cfg_subdirs="$cfg_subdirs start/$RTEMS_CPU"
69RTEMS_CPU_STARTdir="$RTEMS_CPU"
70fi
71AC_SUBST(RTEMS_CPU_STARTdir)
72
73if test "$RTEMS_CPU" != "unix"; then
74## HACK: Suppress libchip for unix
75cfg_subdirs="$cfg_subdirs libchip"
76fi
77
78AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
79AM_CONDITIONAL(HAS_LIBCHIP,test "$RTEMS_CPU" != "unix")
80AM_CONDITIONAL(HAS_RDBG,test "$HAS_RDBG" = "yes")
81
82AC_CONFIG_SUBDIRS(libmisc)
83
84AC_CONFIG_SUBDIRS($cfg_subdirs)
85
86PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
87AC_SUBST(PROJECT_INCLUDE)
88
89# try to explicitly list a Makefile here
90AC_OUTPUT(
91Makefile
92include/Makefile
93include/sys/Makefile
94include/motorola/Makefile
95include/zilog/Makefile
96include/rdbg/Makefile
97include/rdbg/i386/Makefile
98include/rdbg/powerpc/Makefile
99libc/Makefile
100start/Makefile)
Note: See TracBrowser for help on using the repository browser.