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 10/04/99 at 16:58:20

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

  • Property mode set to 100644
File size: 2.4 KB
RevLine 
[eb299afc]1dnl Process this file with autoconf to produce a configure script.
2dnl
[3ac8e590]3dnl $Id$
[eb299afc]4
5AC_PREREQ(2.13)
6AC_INIT(libbsp)
7RTEMS_TOP(../../..)
8AC_CONFIG_AUX_DIR(../../..)
9
10RTEMS_CANONICAL_TARGET_CPU
[3ac8e590]11AM_INIT_AUTOMAKE(rtems-c-src-lib,RTEMS_VERSION,no)
[eb299afc]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)
[1896a650]37RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
[3a8915e]38RTEMS_CHECK_NETWORKING(RTEMS_BSP)
[eb299afc]39
40RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
41
42AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix")
[e1d8abb]43
[eb299afc]44# find all the CPU dependent library Makefiles
[e1d8abb]45AC_CONFIG_SUBDIRS(libcpu)
46AC_CONFIG_SUBDIRS(libbsp)
[eb299afc]47
48# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
[01be59d]49if test "$HAS_NETWORKING" = "yes"; then
[e1d8abb]50  cfg_subdirs="$cfg_subdirs libnetworking"
51  cfg_subdirs="$cfg_subdirs librpc"
[eb299afc]52
[6fc973e]53  if test "$RTEMS_HAS_RDBG" = "yes"; then
[1896a650]54    RTEMS_CHECK_RDBG(RTEMS_BSP)
[eb299afc]55  fi
56fi
57
[e1d8abb]58
59if test "$HAS_RDBG" = "yes"; then
60  cfg_subdirs="$cfg_subdirs librdbg"
61fi
62
[eb299afc]63# If the HWAPI is enabled, the find the HWAPI Makefiles
64RTEMS_ENABLE_HWAPI
65if test "$RTEMS_HAS_HWAPI" = "yes"; then
[e1d8abb]66  if test -d "${srcdir}/libhwapi"; then
67    cfg_subdirs="$cfg_subdirs libhwapi"
[eb299afc]68  fi
[e1d8abb]69  LIBHWAPI="libhwapi"
[eb299afc]70fi
[e1d8abb]71AC_SUBST(LIBHWAPI)
[eb299afc]72
[e1d8abb]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)
[eb299afc]78
[01be59d]79if test "$RTEMS_CPU" != "unix"; then
80## HACK: Suppress libchip for unix
[e1d8abb]81cfg_subdirs="$cfg_subdirs libchip"
[01be59d]82fi
83
[e1d8abb]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)
[eb299afc]89
[e1d8abb]90AC_CONFIG_SUBDIRS($cfg_subdirs)
[eb299afc]91
[e1d8abb]92PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
93AC_SUBST(PROJECT_INCLUDE)
[eb299afc]94
95# try to explicitly list a Makefile here
96AC_OUTPUT(
97Makefile
98include/Makefile
[e1d8abb]99include/sys/Makefile
100include/motorola/Makefile
101include/zilog/Makefile
102include/rpc/Makefile
103include/rdbg/Makefile
104include/rdbg/i386/Makefile
105include/rdbg/powerpc/Makefile
[eb299afc]106libc/Makefile
107start/Makefile
[e1d8abb]108wrapup/Makefile)
Note: See TracBrowser for help on using the repository browser.