source: rtems/c/src/lib/configure.in @ 2782e69

4.104.114.84.95
Last change on this file since 2782e69 was 2782e69, checked in by Joel Sherrill <joel.sherrill@…>, on 10/26/99 at 12:39:24

idir=/opt/tmp/opt/rtems
rdir=/opt/rtems

cd $idir
find . -type f | while read file
do

if [ ! -f ${file} ] ; then

echo ${file} missing

fi

done

  • Property mode set to 100644
File size: 1.6 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
40AM_CONDITIONAL(UNIX,test "$RTEMS_CPU" = "unix")
[e1d8abb]41
[eb299afc]42# find all the CPU dependent library Makefiles
[e1d8abb]43AC_CONFIG_SUBDIRS(libcpu)
44AC_CONFIG_SUBDIRS(libbsp)
[eb299afc]45
46RTEMS_ENABLE_HWAPI
47if test "$RTEMS_HAS_HWAPI" = "yes"; then
[e1d8abb]48  if test -d "${srcdir}/libhwapi"; then
49    cfg_subdirs="$cfg_subdirs libhwapi"
[eb299afc]50  fi
[e1d8abb]51  LIBHWAPI="libhwapi"
[eb299afc]52fi
[e1d8abb]53AC_SUBST(LIBHWAPI)
[eb299afc]54
[e1d8abb]55if test -d "${srcdir}/start/$RTEMS_CPU"; then
56cfg_subdirs="$cfg_subdirs start/$RTEMS_CPU"
57RTEMS_CPU_STARTdir="$RTEMS_CPU"
58fi
59AC_SUBST(RTEMS_CPU_STARTdir)
[eb299afc]60
[e1d8abb]61AM_CONDITIONAL(HAS_NETWORKING,test "$HAS_NETWORKING" = "yes")
62
63AC_CONFIG_SUBDIRS($cfg_subdirs)
[eb299afc]64
[e1d8abb]65PROJECT_INCLUDE="\$(PROJECT_ROOT)/$RTEMS_BSP/lib/include"
66AC_SUBST(PROJECT_INCLUDE)
[eb299afc]67
68# try to explicitly list a Makefile here
69AC_OUTPUT(
70Makefile
71include/Makefile
[e1d8abb]72include/sys/Makefile
73include/motorola/Makefile
74include/zilog/Makefile
[eb299afc]75libc/Makefile
[0efa9f0]76start/Makefile)
Note: See TracBrowser for help on using the repository browser.