summaryrefslogtreecommitdiffstats
path: root/testsuites/aclocal/tool-paths.m4
blob: ff6e5f830eaec0649fcb1be59fb1fe96616e961c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
AC_DEFUN([RTEMS_TOOLPATHS],
[
# tooldir='$(exec_prefix)/'$target_alias
# Temporary work-around until building in source tree is supported
AC_REQUIRE([RTEMS_PROJECT_ROOT])

tooldir='$(PROJECT_ROOT)'
AC_SUBST(tooldir)

project_includedir='$(tooldir)'/include
AC_SUBST(project_includedir)

project_libdir='$(tooldir)/lib$(MULTISUBDIR)'
AC_SUBST(project_libdir)

project_bindir='$(tooldir)/bin'
AC_SUBST(project_bindir)

rtems_bspdir='$(prefix)/${RTEMS_BSP}'
AC_SUBST(rtems_bspdir)
rtems_makedir='$(prefix)/make'
AC_SUBST(rtems_makedir)
])