source: rtems/c/src/lib/configure.in @ e1d8abb

4.104.114.84.95
Last change on this file since e1d8abb was e1d8abb, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 7, 1999 at 1:45:03 PM

Applied patch rtems-rc-19990820-6.diff.gz from
Ralf Corsepius <corsepiu@…> which converted many
Makefile.in's to Makefile.am's. This added a lot of files.

  • 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
10AC_PROG_MAKE_SET
11RTEMS_CANONICAL_TARGET_CPU
12
13AM_MAINTAINER_MODE
14
15RTEMS_ENABLE_MULTIPROCESSING
16RTEMS_ENABLE_NETWORKING
17RTEMS_ENABLE_RDBG
18RTEMS_ENABLE_CXX
19RTEMS_ENABLE_GCC28
20RTEMS_ENABLE_LIBCDIR
21RTEMS_ENABLE_BARE
22RTEMS_ENABLE_HWAPI
23
24RTEMS_ENV_RTEMSBSP
25
26AC_PROG_INSTALL
27
28RTEMS_CHECK_CPU
29RTEMS_CANONICAL_HOST
30
31RTEMS_PROJECT_ROOT
32
33dnl check target cc
34RTEMS_PROG_CC_FOR_TARGET
35RTEMS_CANONICALIZE_TOOLS
36
37dnl if this is an i386, does gas have good code16 support?
38RTEMS_I386_GAS_CODE16
39AM_CONDITIONAL(RTEMS_GAS_CODE16,test "$RTEMS_GAS_CODE16" = "yes");
40
41RTEMS_CHECK_CUSTOM_BSP(RTEMS_BSP)
42RTEMS_CHECK_MULTIPROCESSING(RTEMS_BSP)
43RTEMS_CHECK_NETWORKING(RTEMS_BSP)
44
45RTEMS_BSP_ALIAS(${RTEMS_BSP},bspdir)
46
47AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix")
48
49# find all the CPU dependent library Makefiles
50AC_CONFIG_SUBDIRS(libcpu)
51AC_CONFIG_SUBDIRS(libbsp)
52
53# If the TCP/IP stack is enabled, then find all TCP/IP Makefiles
54if test "$HAS_NETWORKING" = "yes"; then
55  cfg_subdirs="$cfg_subdirs libnetworking"
56  cfg_subdirs="$cfg_subdirs librpc"
57
58  if test "$RTEMS_HAS_RDBG" = "yes"; then
59    RTEMS_CHECK_RDBG(RTEMS_BSP)
60  fi
61fi
62
63
64if test "$HAS_RDBG" = "yes"; then
65  cfg_subdirs="$cfg_subdirs librdbg"
66fi
67
68# If the HWAPI is enabled, the find the HWAPI Makefiles
69RTEMS_ENABLE_HWAPI
70if test "$RTEMS_HAS_HWAPI" = "yes"; then
71  if test -d "${srcdir}/libhwapi"; then
72    cfg_subdirs="$cfg_subdirs libhwapi"
73  fi
74  LIBHWAPI="libhwapi"
75fi
76AC_SUBST(LIBHWAPI)
77
78if test -d "${srcdir}/start/$RTEMS_CPU"; then
79cfg_subdirs="$cfg_subdirs start/$RTEMS_CPU"
80RTEMS_CPU_STARTdir="$RTEMS_CPU"
81fi
82AC_SUBST(RTEMS_CPU_STARTdir)
83
84if test "$RTEMS_CPU" != "unix"; then
85## HACK: Suppress libchip for unix
86cfg_subdirs="$cfg_subdirs libchip"
87fi
88
89AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
90AM_CONDITIONAL(HAS_LIBCHIP,test "$RTEMS_CPU" != "unix")
91AM_CONDITIONAL(HAS_RDBG,test "$HAS_RDBG" = "yes")
92
93AC_CONFIG_SUBDIRS(libmisc)
94
95AC_CONFIG_SUBDIRS($cfg_subdirs)
96
97PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
98AC_SUBST(PROJECT_INCLUDE)
99
100# try to explicitly list a Makefile here
101AC_OUTPUT(
102Makefile
103include/Makefile
104include/sys/Makefile
105include/motorola/Makefile
106include/zilog/Makefile
107include/rpc/Makefile
108include/rdbg/Makefile
109include/rdbg/i386/Makefile
110include/rdbg/powerpc/Makefile
111libc/Makefile
112start/Makefile
113wrapup/Makefile)
Note: See TracBrowser for help on using the repository browser.