source: rtems/cpukit/aclocal/env-rtemscpu.m4 @ 385b2e2

Last change on this file since 385b2e2 was 385b2e2, checked in by Ralf Corsepius <ralf.corsepius@…>, on Feb 18, 2003 at 12:58:44 PM

2003-02-18 Ralf Corsepius <corsepiu@…>

  • automake/local.am: Introduce depend-gcc. Remove ${ARCH}.
  • automake/compile.am: Remove GCCSPECS, GCC_SPECS, CONFIG.CC, CC, CPP. Add ${ARCH}. depend-gcc.
  • aclocal/prog-cc.m4: Set up RTEMS_CPPFLAGS.
  • aclocal/env-rtemscpu.m4: Remove GCC_SPECS.
  • aclocal/env-rtemsbsp.m4: Remove GCC_SPECS.
  • Property mode set to 100644
File size: 706 bytes
Line 
1dnl $Id$
2
3AC_DEFUN(RTEMS_ENV_RTEMSCPU,
4[AC_REQUIRE([RTEMS_ENABLE_MULTILIB])
5
6if test x"$multilib" = x"yes"; then
7## FIXME: There is no multilib BSP
8  AS_IF([test -n "$with_multisubdir"],
9    [MULTIBUILDTOP=`echo "/$with_multisubdir" | sed 's,/[[^\\/]]*,../,g'`])
10  AC_SUBST(MULTIBUILDTOP)
11
12  AS_IF([test -n "$with_multisubdir"],
13    [MULTISUBDIR="/$with_multisubdir"])
14  AC_SUBST(MULTISUBDIR)
15
16  PROJECT_INCLUDE="\$(PROJECT_ROOT)/lib/include"
17  AC_SUBST(PROJECT_INCLUDE)
18
19  project_libdir="\$(PROJECT_ROOT)/lib"
20  AC_SUBST(project_libdir)
21
22  RTEMS_ROOT="${PROJECT_ROOT}"
23  AC_SUBST(RTEMS_ROOT)
24
25  includedir="\${exec_prefix}/lib/include"
26  libdir="${libdir}\$(MULTISUBDIR)"
27else
28  RTEMS_ENV_RTEMSBSP
29fi
30])
Note: See TracBrowser for help on using the repository browser.