Line 4... |
Line 4... |
|
|
# Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
|
# Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
|
#
|
#
|
# Makefile for directory with subdirs to build.
|
# Makefile for directory with subdirs to build.
|
# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
# Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
|
# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
|
# 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
|
# Free Software Foundation
|
# Free Software Foundation
|
#
|
#
|
# This file is free software; you can redistribute it and/or modify
|
# This file is free software; you can redistribute it and/or modify
|
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
# the Free Software Foundation; either version 3 of the License, or
|
# the Free Software Foundation; either version 3 of the License, or
|
Line 207... |
Line 207... |
RANLIB="$(RANLIB)"; export RANLIB; \
|
RANLIB="$(RANLIB)"; export RANLIB; \
|
WINDRES="$(WINDRES)"; export WINDRES; \
|
WINDRES="$(WINDRES)"; export WINDRES; \
|
WINDMC="$(WINDMC)"; export WINDMC; \
|
WINDMC="$(WINDMC)"; export WINDMC; \
|
OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
|
OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
|
OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
|
OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
|
|
READELF="$(READELF)"; export READELF; \
|
AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
|
AR_FOR_TARGET="$(AR_FOR_TARGET)"; export AR_FOR_TARGET; \
|
AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
|
AS_FOR_TARGET="$(AS_FOR_TARGET)"; export AS_FOR_TARGET; \
|
GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
|
GCC_FOR_TARGET="$(GCC_FOR_TARGET)"; export GCC_FOR_TARGET; \
|
LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
|
LD_FOR_TARGET="$(LD_FOR_TARGET)"; export LD_FOR_TARGET; \
|
NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
|
NM_FOR_TARGET="$(NM_FOR_TARGET)"; export NM_FOR_TARGET; \
|
OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
|
OBJDUMP_FOR_TARGET="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP_FOR_TARGET; \
|
RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
|
RANLIB_FOR_TARGET="$(RANLIB_FOR_TARGET)"; export RANLIB_FOR_TARGET; \
|
|
READELF_FOR_TARGET="$(READELF_FOR_TARGET)"; export READELF_FOR_TARGET; \
|
TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
|
TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
|
HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
|
HOST_LIBS="$(STAGE1_LIBS)"; export HOST_LIBS; \
|
GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
|
GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
|
GMPINC="$(HOST_GMPINC)"; export GMPINC; \
|
GMPINC="$(HOST_GMPINC)"; export GMPINC; \
|
PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
|
PPLLIBS="$(HOST_PPLLIBS)"; export PPLLIBS; \
|
Line 286... |
Line 288... |
LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
|
LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
|
LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
|
LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
|
NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
|
NM="$(COMPILER_NM_FOR_TARGET)"; export NM; \
|
OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
|
OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
|
RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
|
RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
|
|
READELF="$(READELF_FOR_TARGET)"; export READELF; \
|
STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
|
STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
|
WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
|
WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
|
WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
|
WINDMC="$(WINDMC_FOR_TARGET)"; export WINDMC; \
|
@if gcc-bootstrap
|
@if gcc-bootstrap
|
$(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
|
$(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
|
Line 398... |
Line 401... |
LD = @LD@
|
LD = @LD@
|
LIPO = @LIPO@
|
LIPO = @LIPO@
|
NM = @NM@
|
NM = @NM@
|
OBJDUMP = @OBJDUMP@
|
OBJDUMP = @OBJDUMP@
|
RANLIB = @RANLIB@
|
RANLIB = @RANLIB@
|
|
READELF = @READELF@
|
STRIP = @STRIP@
|
STRIP = @STRIP@
|
WINDRES = @WINDRES@
|
WINDRES = @WINDRES@
|
WINDMC = @WINDMC@
|
WINDMC = @WINDMC@
|
|
|
GNATBIND = @GNATBIND@
|
GNATBIND = @GNATBIND@
|
Line 491... |
Line 495... |
|
|
LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
|
LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
|
NM_FOR_TARGET=@NM_FOR_TARGET@
|
NM_FOR_TARGET=@NM_FOR_TARGET@
|
OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
|
OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
|
RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
|
RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
|
|
READELF_FOR_TARGET=@READELF_FOR_TARGET@
|
STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
|
STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
|
WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
|
WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
|
WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
|
WINDMC_FOR_TARGET=@WINDMC_FOR_TARGET@
|
|
|
COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
|
COMPILER_AS_FOR_TARGET=@COMPILER_AS_FOR_TARGET@
|
Line 610... |
Line 615... |
'LD=$(LD)' \
|
'LD=$(LD)' \
|
'LIPO=$(LIPO)' \
|
'LIPO=$(LIPO)' \
|
'NM=$(NM)' \
|
'NM=$(NM)' \
|
'OBJDUMP=$(OBJDUMP)' \
|
'OBJDUMP=$(OBJDUMP)' \
|
'RANLIB=$(RANLIB)' \
|
'RANLIB=$(RANLIB)' \
|
|
'READELF=$(READELF)' \
|
'STRIP=$(STRIP)' \
|
'STRIP=$(STRIP)' \
|
'WINDRES=$(WINDRES)' \
|
'WINDRES=$(WINDRES)' \
|
'WINDMC=$(WINDMC)'
|
'WINDMC=$(WINDMC)'
|
|
|
FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
|
FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
|
Line 650... |
Line 656... |
'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
|
'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
|
'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
|
'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
|
'NM=$(COMPILER_NM_FOR_TARGET)' \
|
'NM=$(COMPILER_NM_FOR_TARGET)' \
|
'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
|
'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
|
'RANLIB=$$(RANLIB_FOR_TARGET)' \
|
'RANLIB=$$(RANLIB_FOR_TARGET)' \
|
|
'READELF=$$(READELF_FOR_TARGET)' \
|
'WINDRES=$$(WINDRES_FOR_TARGET)' \
|
'WINDRES=$$(WINDRES_FOR_TARGET)' \
|
'WINDMC=$$(WINDMC_FOR_TARGET)' \
|
'WINDMC=$$(WINDMC_FOR_TARGET)' \
|
'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
|
'XGCC_FLAGS_FOR_TARGET=$(XGCC_FLAGS_FOR_TARGET)' \
|
"TFLAGS=$$TFLAGS"
|
"TFLAGS=$$TFLAGS"
|
|
|
Line 666... |
Line 673... |
# The BUILD_* variables are a special case, which are used for the gcc
|
# The BUILD_* variables are a special case, which are used for the gcc
|
# cross-building scheme.
|
# cross-building scheme.
|
EXTRA_GCC_FLAGS = \
|
EXTRA_GCC_FLAGS = \
|
"GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
|
"GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
|
"`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
|
"`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
|
"`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
|
"`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
|
"`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
|
|
"`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
|
|
"`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
|
|
|
|
GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
|
GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
|
|
|
@if gcc
|
@if gcc
|
BUILD_CONFIG = @BUILD_CONFIG@
|
BUILD_CONFIG = @BUILD_CONFIG@
|