source: rtems/c/src/lib/configure.in @ 3ac8e590

4.104.114.84.95
Last change on this file since 3ac8e590 was 3ac8e590, checked in by Joel Sherrill <joel.sherrill@…>, on Oct 4, 1999 at 4:58:20 PM

This file was not updated in a recent patch from Ralf Corsepius.

  • Property mode set to 100644
File size: 2.4 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
40RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
41
42AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix")
43
44# find all the CPU dependent library Makefiles
45AC_CONFIG_SUBDIRS(libcpu)
46AC_CONFIG_SUBDIRS(libbsp)
47
48# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
49if test "$HAS_NETWORKING" = "yes"; then
50  cfg_subdirs="$cfg_subdirs libnetworking"
51  cfg_subdirs="$cfg_subdirs librpc"
52
53  if test "$RTEMS_HAS_RDBG" = "yes"; then
54    RTEMS_CHECK_RDBG(RTEMS_BSP)
55  fi
56fi
57
58
59if test "$HAS_RDBG" = "yes"; then
60  cfg_subdirs="$cfg_subdirs librdbg"
61fi
62
63# If the HWAPI is enabled, the find the HWAPI Makefiles
64RTEMS_ENABLE_HWAPI
65if test "$RTEMS_HAS_HWAPI" = "yes"; then
66  if test -d "${srcdir}/libhwapi"; then
67    cfg_subdirs="$cfg_subdirs libhwapi"
68  fi
69  LIBHWAPI="libhwapi"
70fi
71AC_SUBST(LIBHWAPI)
72
73if test -d "${srcdir}/start/$RTEMS_CPU"; then
74cfg_subdirs="$cfg_subdirs start/$RTEMS_CPU"
75RTEMS_CPU_STARTdir="$RTEMS_CPU"
76fi
77AC_SUBST(RTEMS_CPU_STARTdir)
78
79if test "$RTEMS_CPU" != "unix"; then
80## HACK: Suppress libchip for unix
81cfg_subdirs="$cfg_subdirs libchip"
82fi
83
84AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
85AM_CONDITIONAL(HAS_LIBCHIP,test "$RTEMS_CPU" != "unix")
86AM_CONDITIONAL(HAS_RDBG,test "$HAS_RDBG" = "yes")
87
88AC_CONFIG_SUBDIRS(libmisc)
89
90AC_CONFIG_SUBDIRS($cfg_subdirs)
91
92PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
93AC_SUBST(PROJECT_INCLUDE)
94
95# try to explicitly list a Makefile here
96AC_OUTPUT(
97Makefile
98include/Makefile
99include/sys/Makefile
100include/motorola/Makefile
101include/zilog/Makefile
102include/rpc/Makefile
103include/rdbg/Makefile
104include/rdbg/i386/Makefile
105include/rdbg/powerpc/Makefile
106libc/Makefile
107start/Makefile
108wrapup/Makefile)
Note: See TracBrowser for help on using the repository browser.