blob: bb30aab1ad268e336c7cd8218f9313fcb6c6be20 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
# Copyright (C) 2003, 2005, 2008 Free Software Foundation, Inc.
#
# This file is part of the GNU Hurd.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
SYSROOT := $(abspath sysroot)
# Don't use in-place evaluation, as the referenced values may not yet be
# available.
abs_top_builddir = $(abspath $(top_builddir))
abs_srcdir = $(abspath $(srcdir))
abs_top_srcdir = $(abspath $(top_srcdir))
abs_builddir = $(abspath .)
# TODO. ``build-aux'' hard-coded.
fix_config_guess_and_sub = \
{ find ./ -name config.guess \
|| echo CHOKE/ME; \
} | \
while read f; do \
ln -vsf '$(abs_top_srcdir)'/build-aux/config.guess "$$f" \
|| exit "$$?"; \
done && \
{ find ./ -name config.sub \
|| echo CHOKE/ME; \
} | \
while read f; do \
ln -vsf '$(abs_top_srcdir)'/build-aux/config.sub "$$f" \
|| exit "$$?"; \
done
|