OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-5.3/] [utils/] [configure.in] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1181 sfurman
AC_INIT([Makefile.in])
2
 
3
AC_PROG_INSTALL
4
AC_CANONICAL_SYSTEM
5
 
6
if test -d ${srcdir}/spu ; then
7
  configdirs="spu"
8
fi
9
 
10
case "${target}" in
11
  sparclite-*-*)
12
    if test -d ${srcdir}/sparclite ; then
13
      configdirs="$configdirs sparclite"
14
    fi
15
    ;;
16
  *mips*-*-pe* | *sh*-*-pe* | *arm*-*-wince | *arm*-wince-pe* )
17
    if test -d ${srcdir}/wince ; then
18
      configdirs="$configdirs wince"
19
    fi
20
    ;;
21
esac
22
 
23
all_subdirs=""
24
install_subdirs=""
25
mostlyclean_subdirs=""
26
clean_subdirs=""
27
distclean_subdirs=""
28
maintainer_clean_subdirs=""
29
 
30
for dir in $configdirs ; do
31
    all_subdirs="${all_subdirs} all-$dir"
32
    install_subdirs="${install_subdirs} install-$dir"
33
    mostlyclean_subdirs="${mostlyclean_subdirs} mostlyclean-$dir"
34
    clean_subdirs="${clean_subdirs} clean-$dir"
35
    distclean_subdirs="${distclean_subdirs} distclean-$dir"
36
    maintainer_clean_subdirs="${maintainer_clean_subdirs} maintainer-clean-$dir"
37
done
38
 
39
AC_SUBST([all_subdirs])
40
AC_SUBST([install_subdirs])
41
AC_SUBST([mostlyclean_subdirs])
42
AC_SUBST([clean_subdirs])
43
AC_SUBST([distclean_subdirs])
44
AC_SUBST([maintainer_clean_subdirs])
45
 
46
case "${srcdir}" in
47
  [[\\/]]* | ?:[[\\/]]* ) # Absolute
48
    abs_srcdir=${srcdir}
49
    ;;
50
  *)
51
    abs_srcdir="../${srcdir}"
52
    ;;
53
esac
54
AC_SUBST([abs_srcdir])
55
 
56
case "${cache_file}" in
57
  [[\\/]]* | ?:[[\\/]]* ) # Absolute
58
    abs_cache_file=${cache_file}
59
    ;;
60
  *)
61
    abs_cache_file="../${cache_file}"
62
    ;;
63
esac
64
subconfigure_args=${ac_configure_args}
65
subconfigure_args="${subconfigure_args} --cache-file=${abs_cache_file}"
66
AC_SUBST([subconfigure_args])
67
 
68
AC_OUTPUT([Makefile])
69
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.