Line 33... |
Line 33... |
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
includedir=${prefix}/include
|
includedir=${prefix}/include
|
oldincludedir=/usr/include
|
oldincludedir=/usr/include
|
infodir=${prefix}/info
|
infodir=${prefix}/info
|
mandir=${prefix}/man
|
mandir=${prefix}/man
|
|
gxx_include_dir=${includedir}/g++
|
|
|
|
tooldir = $(exec_prefix)/$(target_alias)
|
|
build_tooldir = $(exec_prefix)/$(target_alias)
|
|
|
tooldir = $(exec_prefix)/$(target)
|
|
|
|
program_transform_name =
|
program_transform_name =
|
|
|
man1dir = $(mandir)/man1
|
man1dir = $(mandir)/man1
|
man2dir = $(mandir)/man2
|
man2dir = $(mandir)/man2
|
Line 47... |
Line 50... |
man5dir = $(mandir)/man5
|
man5dir = $(mandir)/man5
|
man6dir = $(mandir)/man6
|
man6dir = $(mandir)/man6
|
man7dir = $(mandir)/man7
|
man7dir = $(mandir)/man7
|
man8dir = $(mandir)/man8
|
man8dir = $(mandir)/man8
|
man9dir = $(mandir)/man9
|
man9dir = $(mandir)/man9
|
|
infodir = $(prefix)/info
|
|
includedir = $(prefix)/include
|
|
# Directory in which the compiler finds executables, libraries, etc.
|
|
libsubdir = $(libdir)/gcc-lib/$(target_alias)/$(gcc_version)
|
GDB_NLM_DEPS =
|
GDB_NLM_DEPS =
|
|
|
SHELL = /bin/sh
|
SHELL = /bin/sh
|
|
|
# INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
|
# INSTALL_PROGRAM_ARGS is changed by configure.in to use -x for a
|
# cygwin32 host.
|
# cygwin host.
|
INSTALL_PROGRAM_ARGS =
|
INSTALL_PROGRAM_ARGS =
|
|
|
INSTALL = $(SHELL) $$s/install-sh -c
|
INSTALL = $(SHELL) $$s/install-sh -c
|
INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
|
INSTALL_PROGRAM = $(INSTALL) $(INSTALL_PROGRAM_ARGS)
|
INSTALL_SCRIPT = $(INSTALL)
|
INSTALL_SCRIPT = $(INSTALL)
|
Line 84... |
Line 91... |
LDFLAGS_FOR_TARGET =
|
LDFLAGS_FOR_TARGET =
|
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
|
PICFLAG =
|
PICFLAG =
|
PICFLAG_FOR_TARGET =
|
PICFLAG_FOR_TARGET =
|
|
|
|
CHILLFLAGS = $(CFLAGS)
|
|
CHILL_LIB = -lchill
|
CXX = c++
|
CXX = c++
|
|
|
# Use -O2 to stress test the compiler.
|
# Use -O2 to stress test the compiler.
|
LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
|
LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates -fexceptions
|
CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
|
CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
|
LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
|
LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates -fexceptions
|
|
|
RANLIB = ranlib
|
RANLIB = ranlib
|
|
|
DLLTOOL = dlltool
|
DLLTOOL = dlltool
|
WINDRES = windres
|
WINDRES = windres
|
Line 106... |
Line 115... |
GZIPPROG = gzip
|
GZIPPROG = gzip
|
|
|
# These values are substituted by configure.
|
# These values are substituted by configure.
|
DEFAULT_YACC = yacc
|
DEFAULT_YACC = yacc
|
DEFAULT_LEX = lex
|
DEFAULT_LEX = lex
|
|
DEFAULT_M4 = m4
|
|
|
BISON = `if [ -f $$r/bison/bison ] ; then \
|
BISON = `if [ -f $$r/bison/bison ] ; then \
|
echo $$r/bison/bison -L $$s/bison/ ; \
|
echo $$r/bison/bison -L $$s/bison/ ; \
|
else \
|
else \
|
echo bison ; \
|
echo bison ; \
|
Line 127... |
Line 137... |
then echo $$r/flex/flex ; \
|
then echo $$r/flex/flex ; \
|
else echo ${DEFAULT_LEX} ; fi`
|
else echo ${DEFAULT_LEX} ; fi`
|
|
|
M4 = `if [ -f $$r/m4/m4 ] ; \
|
M4 = `if [ -f $$r/m4/m4 ] ; \
|
then echo $$r/m4/m4 ; \
|
then echo $$r/m4/m4 ; \
|
else echo m4 ; fi`
|
else echo ${DEFAULT_M4} ; fi`
|
|
|
MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \
|
MAKEINFO = `if [ -f $$r/texinfo/makeinfo/Makefile ] ; \
|
then echo $$r/texinfo/makeinfo/makeinfo ; \
|
then echo $$r/texinfo/makeinfo/makeinfo ; \
|
else echo makeinfo ; fi`
|
else echo makeinfo ; fi`
|
|
|
Line 157... |
Line 167... |
SUBDIRS = "this is set via configure, don't edit this"
|
SUBDIRS = "this is set via configure, don't edit this"
|
OTHERS =
|
OTHERS =
|
|
|
# This is set by the configure script to the list of directories which
|
# This is set by the configure script to the list of directories which
|
# should be built using the target tools.
|
# should be built using the target tools.
|
TARGET_CONFIGDIRS = libiberty libgloss newlib libio librx libstdc++ libg++ winsup opcodes libstub cygmon
|
|
|
|
|
TARGET_CONFIGDIRS = libiberty libgloss $(SPECIAL_LIBS) newlib libio librx libstdc++ libg++ winsup opcodes bsp libstub cygmon
|
|
|
# Target libraries are put under this directory:
|
# Target libraries are put under this directory:
|
# Changed by configure to $(target_alias) if cross.
|
# Changed by configure to $(target_alias) if cross.
|
TARGET_SUBDIR = .
|
TARGET_SUBDIR = .
|
|
|
Line 176... |
Line 188... |
# the libraries. This may be changed by configure.in.
|
# the libraries. This may be changed by configure.in.
|
RPATH_ENVVAR = LD_LIBRARY_PATH
|
RPATH_ENVVAR = LD_LIBRARY_PATH
|
|
|
# configure.in sets SET_LIB_PATH to this if --enable-shared was used.
|
# configure.in sets SET_LIB_PATH to this if --enable-shared was used.
|
REALLY_SET_LIB_PATH = \
|
REALLY_SET_LIB_PATH = \
|
|
if [ x"$$$(RPATH_ENVVAR)" != x ]; then \
|
$(RPATH_ENVVAR)=$$r/bfd:$$r/opcodes:$$$(RPATH_ENVVAR); \
|
$(RPATH_ENVVAR)=$$r/bfd:$$r/opcodes:$$$(RPATH_ENVVAR); \
|
|
else \
|
|
$(RPATH_ENVVAR)=$$r/bfd:$$r/opcodes; \
|
|
fi; \
|
export $(RPATH_ENVVAR);
|
export $(RPATH_ENVVAR);
|
|
|
ALL = all.normal
|
ALL = all.normal
|
INSTALL_TARGET = installdirs \
|
INSTALL_TARGET = installdirs \
|
install-gcc \
|
install-gcc \
|
$(INSTALL_MODULES) \
|
$(INSTALL_MODULES) \
|
$(INSTALL_TARGET_MODULES) \
|
$(INSTALL_TARGET_MODULES) \
|
$(INSTALL_X11_MODULES) \
|
$(INSTALL_X11_MODULES) \
|
$(INSTALL_DOSREL)
|
$(INSTALL_DOSREL)
|
|
|
|
INSTALL_TARGET_CROSS = installdirs \
|
|
install-gcc-cross \
|
|
$(INSTALL_MODULES) \
|
|
$(INSTALL_TARGET_MODULES) \
|
|
$(INSTALL_X11_MODULES) \
|
|
$(INSTALL_DOSREL)
|
|
|
CC_FOR_TARGET = ` \
|
CC_FOR_TARGET = ` \
|
if [ -f $$r/gcc/xgcc ] ; then \
|
if [ -f $$r/gcc/xgcc ] ; then \
|
if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \
|
if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \
|
if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \
|
case "$(target_canonical)" in \
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
i[3456]86-*-cygwin*) \
|
else \
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/include -idirafter $$s/newlib/libc/include -idirafter $$s/newlib/libc/sys/cygwin -idirafter $$s/newlib/libc/sys/cygwin32 -nostdinc; \
|
echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
;; \
|
fi; \
|
*) \
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
|
;; \
|
|
esac \
|
else \
|
else \
|
echo $$r/gcc/xgcc -B$$r/gcc/; \
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/; \
|
fi; \
|
fi; \
|
else \
|
else \
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
echo $(CC); \
|
echo $(CC); \
|
else \
|
else \
|
Line 211... |
Line 236... |
|
|
# If CC_FOR_TARGET is not overriden on the command line, then this
|
# If CC_FOR_TARGET is not overriden on the command line, then this
|
# variable is passed down to the gcc Makefile, where it is used to
|
# variable is passed down to the gcc Makefile, where it is used to
|
# build libgcc2.a. We define it here so that it can itself be
|
# build libgcc2.a. We define it here so that it can itself be
|
# overridden on the command line.
|
# overridden on the command line.
|
GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/
|
GCC_FOR_TARGET = $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -I$(build_tooldir)/include
|
|
|
|
CHILL_FOR_TARGET = ` \
|
|
if [ -f $$r/gcc/xgcc ] ; then \
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -L$$r/gcc/ch/runtime/; \
|
|
else \
|
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
|
echo $(CC); \
|
|
else \
|
|
t='$(program_transform_name)'; echo gcc | sed -e 's/x/x/' $$t; \
|
|
fi; \
|
|
fi`
|
|
|
CXX_FOR_TARGET = ` \
|
CXX_FOR_TARGET = ` \
|
if [ -f $$r/gcc/xgcc ] ; then \
|
if [ -f $$r/gcc/xgcc ] ; then \
|
if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \
|
if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \
|
if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \
|
case "$(target_canonical)" in \
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
i[3456]86-*-cygwin*) \
|
else \
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/include -idirafter $$s/newlib/libc/include -idirafter $$s/newlib/libc/sys/cygwin -idirafter $$s/newlib/libc/sys/cygwin32 -nostdinc; \
|
echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
;; \
|
fi; \
|
*) \
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
|
;; \
|
|
esac \
|
else \
|
else \
|
echo $$r/gcc/xgcc -B$$r/gcc/; \
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/; \
|
fi; \
|
fi; \
|
else \
|
else \
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
if [ "$(host_canonical)" = "$(target_canonical)" ] ; then \
|
echo $(CXX); \
|
echo $(CXX); \
|
else \
|
else \
|
Line 310... |
Line 348... |
else \
|
else \
|
t='$(program_transform_name)'; echo nm | sed -e 's/x/x/' $$t ; \
|
t='$(program_transform_name)'; echo nm | sed -e 's/x/x/' $$t ; \
|
fi; \
|
fi; \
|
fi`
|
fi`
|
|
|
|
# The first rule in the file had better be this one. Don't put any above it.
|
|
# This lives here to allow makefile fragments to contain dependencies.
|
|
all: all.normal
|
|
.PHONY: all
|
|
|
|
# These can be overridden by config/mt-*.
|
|
# The _TARGET_ is because they're specified in mt-foo.
|
|
# The _HOST_ is because they're programs that run on the host.
|
|
EXTRA_TARGET_HOST_ALL_MODULES =
|
|
EXTRA_TARGET_HOST_INSTALL_MODULES =
|
|
EXTRA_TARGET_HOST_CHECK_MODULES =
|
|
|
#### host and target specific makefile fragments come in here.
|
#### host and target specific makefile fragments come in here.
|
###
|
###
|
|
|
# Flags to pass down to all sub-makes.
|
# Flags to pass down to all sub-makes.
|
# Please keep these in alphabetical order.
|
# Please keep these in alphabetical order.
|
Line 324... |
Line 374... |
"BISON=$(BISON)" \
|
"BISON=$(BISON)" \
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
"CC_FOR_BUILD=$(CC_FOR_BUILD)" \
|
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
|
"CC_FOR_TARGET=$(CC_FOR_TARGET)" \
|
"CFLAGS=$(CFLAGS)" \
|
"CFLAGS=$(CFLAGS)" \
|
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
|
"CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
|
|
"CHILLFLAGS=$(CHILLFLAGS)" \
|
|
"CHILL_FOR_TARGET=$(CHILL_FOR_TARGET)" \
|
|
"CHILL_LIB=$(CHILL_LIB)" \
|
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
|
"CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
|
"CXXFLAGS=$(CXXFLAGS)" \
|
"CXXFLAGS=$(CXXFLAGS)" \
|
"CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
|
"CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
|
"CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
|
"CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
|
"DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
|
"DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
|
Line 344... |
Line 397... |
"LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
|
"LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
|
"M4=$(M4)" \
|
"M4=$(M4)" \
|
"MAKE=$(MAKE)" \
|
"MAKE=$(MAKE)" \
|
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
|
"MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
|
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \
|
"NM_FOR_TARGET=$(NM_FOR_TARGET)" \
|
"PICFLAG=$(PICFLAG)" \
|
|
"PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
|
|
"RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
|
"RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
|
"RPATH_ENVVAR=$(RPATH_ENVVAR)" \
|
"RPATH_ENVVAR=$(RPATH_ENVVAR)" \
|
"SHELL=$(SHELL)" \
|
"SHELL=$(SHELL)" \
|
"EXPECT=$(EXPECT)" \
|
"EXPECT=$(EXPECT)" \
|
"RUNTEST=$(RUNTEST)" \
|
"RUNTEST=$(RUNTEST)" \
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
"RUNTESTFLAGS=$(RUNTESTFLAGS)" \
|
|
"TARGET_SUBDIR=$(TARGET_SUBDIR)" \
|
"WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
|
"WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
|
"YACC=$(YACC)" \
|
"YACC=$(YACC)" \
|
"bindir=$(bindir)" \
|
"bindir=$(bindir)" \
|
"datadir=$(datadir)" \
|
"datadir=$(datadir)" \
|
"exec_prefix=$(exec_prefix)" \
|
"exec_prefix=$(exec_prefix)" \
|
Line 369... |
Line 421... |
"oldincludedir=$(oldincludedir)" \
|
"oldincludedir=$(oldincludedir)" \
|
"prefix=$(prefix)" \
|
"prefix=$(prefix)" \
|
"sbindir=$(sbindir)" \
|
"sbindir=$(sbindir)" \
|
"sharedstatedir=$(sharedstatedir)" \
|
"sharedstatedir=$(sharedstatedir)" \
|
"sysconfdir=$(sysconfdir)" \
|
"sysconfdir=$(sysconfdir)" \
|
"tooldir=$(tooldir)"
|
"tooldir=$(tooldir)" \
|
|
"build_tooldir=$(build_tooldir)" \
|
|
"gxx_include_dir=$(gxx_include_dir)" \
|
|
"gcc_version=$(gcc_version)" \
|
|
"gcc_version_trigger=$(gcc_version_trigger)" \
|
|
"target_alias=$(target_alias)" \
|
|
"libsubdir=$(libsubdir)"
|
|
|
# Flags to pass down to most sub-makes, in which we're building with
|
# Flags to pass down to most sub-makes, in which we're building with
|
# the host environment.
|
# the host environment.
|
# If any variables are added here, they must be added to do-*, below.
|
# If any variables are added here, they must be added to do-*, below.
|
EXTRA_HOST_FLAGS = \
|
EXTRA_HOST_FLAGS = \
|
Line 415... |
Line 473... |
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
'LD=$$(LD_FOR_TARGET)' \
|
'LD=$$(LD_FOR_TARGET)' \
|
'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
|
'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
|
'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
|
'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
|
'NM=$$(NM_FOR_TARGET)' \
|
'NM=$$(NM_FOR_TARGET)' \
|
'PICFLAG=$$(PICFLAG_FOR_TARGET)' \
|
|
'RANLIB=$$(RANLIB_FOR_TARGET)' \
|
'RANLIB=$$(RANLIB_FOR_TARGET)' \
|
'WINDRES=$$(WINDRES_FOR_TARGET)'
|
'WINDRES=$$(WINDRES_FOR_TARGET)'
|
|
|
TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
|
TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
|
|
|
Line 428... |
Line 485... |
# ranlib.
|
# ranlib.
|
# If any variables are added here, they must be added to do-*, below.
|
# If any variables are added here, they must be added to do-*, below.
|
# The HOST_* variables are a special case, which are used for the gcc
|
# The HOST_* variables are a special case, which are used for the gcc
|
# cross-building scheme.
|
# cross-building scheme.
|
EXTRA_GCC_FLAGS = \
|
EXTRA_GCC_FLAGS = \
|
'AR=$$(AR_FOR_TARGET)' \
|
'AR=$(AR)' \
|
'AS=$(AS)' \
|
'AS=$(AS)' \
|
'CC=$(CC)' \
|
'CC=$(CC)' \
|
'CXX=$(CXX)' \
|
'CXX=$(CXX)' \
|
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
|
'HOST_CC=$(CC_FOR_BUILD)' \
|
'HOST_CC=$(CC_FOR_BUILD)' \
|
'HOST_PREFIX=$(HOST_PREFIX)' \
|
'HOST_PREFIX=$(HOST_PREFIX)' \
|
'HOST_PREFIX_1=$(HOST_PREFIX_1)' \
|
'HOST_PREFIX_1=$(HOST_PREFIX_1)' \
|
'NM=$(NM)' \
|
'NM=$(NM)' \
|
'RANLIB=$$(RANLIB_FOR_TARGET)' \
|
'RANLIB=$(RANLIB)' \
|
'WINDRES=$$(WINDRES_FOR_TARGET)' \
|
'WINDRES=$$(WINDRES_FOR_TARGET)' \
|
"GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
|
"GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
|
"`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
|
"`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s/.*=$$/XFOO=/`" \
|
"`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=/`" \
|
Line 464... |
Line 521... |
all-bash \
|
all-bash \
|
all-bfd \
|
all-bfd \
|
all-binutils \
|
all-binutils \
|
all-bison \
|
all-bison \
|
all-byacc \
|
all-byacc \
|
|
all-bzip2 \
|
all-cvssrc \
|
all-cvssrc \
|
all-db \
|
all-db \
|
all-dejagnu \
|
all-dejagnu \
|
all-diff \
|
all-diff \
|
all-dosutils \
|
all-dosutils \
|
Line 509... |
Line 567... |
all-send-pr \
|
all-send-pr \
|
all-shellutils \
|
all-shellutils \
|
all-sim \
|
all-sim \
|
all-tar \
|
all-tar \
|
all-tcl \
|
all-tcl \
|
|
all-tcl8.1 \
|
all-texinfo \
|
all-texinfo \
|
all-textutils \
|
all-textutils \
|
all-tgas \
|
all-tgas \
|
all-time \
|
all-time \
|
all-uudecode \
|
all-uudecode \
|
all-wdiff
|
all-wdiff \
|
|
all-zip \
|
|
$(EXTRA_TARGET_HOST_ALL_MODULES)
|
|
|
# This is a list of the check targets for all of the modules which are
|
# This is a list of the check targets for all of the modules which are
|
# compiled using $(FLAGS_TO_PASS).
|
# compiled using $(FLAGS_TO_PASS).
|
#
|
#
|
# The list is in two parts. The first lists those tools which
|
# The list is in two parts. The first lists those tools which
|
# are tested as part of the host's native tool-chain, and not
|
# are tested as part of the host's native tool-chain, and not
|
# tested in a cross configuration.
|
# tested in a cross configuration.
|
NATIVE_CHECK_MODULES = \
|
NATIVE_CHECK_MODULES = \
|
check-bison \
|
check-bison \
|
check-byacc \
|
check-byacc \
|
check-flex
|
check-flex \
|
|
check-zip
|
|
|
CROSS_CHECK_MODULES = \
|
CROSS_CHECK_MODULES = \
|
check-apache \
|
check-apache \
|
check-ash \
|
check-ash \
|
check-autoconf \
|
check-autoconf \
|
check-automake \
|
check-automake \
|
check-bash \
|
check-bash \
|
check-bfd \
|
check-bfd \
|
check-binutils \
|
check-binutils \
|
|
check-bzip2 \
|
check-cvssrc \
|
check-cvssrc \
|
check-db \
|
check-db \
|
check-dejagnu \
|
check-dejagnu \
|
check-diff \
|
check-diff \
|
check-etc \
|
check-etc \
|
Line 581... |
Line 644... |
check-texinfo \
|
check-texinfo \
|
check-textutils \
|
check-textutils \
|
check-tgas \
|
check-tgas \
|
check-time \
|
check-time \
|
check-uudecode \
|
check-uudecode \
|
check-wdiff
|
check-wdiff \
|
|
$(EXTRA_TARGET_HOST_CHECK_MODULES)
|
|
|
CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
|
CHECK_MODULES=$(NATIVE_CHECK_MODULES) $(CROSS_CHECK_MODULES)
|
|
|
# This is a list of the install targets for all of the modules which are
|
# This is a list of the install targets for all of the modules which are
|
# compiled using $(FLAGS_TO_PASS).
|
# compiled using $(FLAGS_TO_PASS).
|
Line 599... |
Line 663... |
install-ash \
|
install-ash \
|
install-autoconf \
|
install-autoconf \
|
install-automake \
|
install-automake \
|
install-bash \
|
install-bash \
|
install-bfd \
|
install-bfd \
|
|
install-bzip2 \
|
install-opcodes \
|
install-opcodes \
|
install-binutils \
|
install-binutils \
|
install-bison \
|
install-bison \
|
install-byacc \
|
install-byacc \
|
install-cvssrc \
|
install-cvssrc \
|
Line 627... |
Line 692... |
install-indent \
|
install-indent \
|
install-inet \
|
install-inet \
|
install-intl \
|
install-intl \
|
install-ispell \
|
install-ispell \
|
install-tcl \
|
install-tcl \
|
|
install-tcl8.1 \
|
install-itcl \
|
install-itcl \
|
install-ld \
|
install-ld \
|
install-libgui \
|
install-libgui \
|
install-libiberty \
|
install-libiberty \
|
install-libtool \
|
install-libtool \
|
Line 650... |
Line 716... |
install-tar \
|
install-tar \
|
install-textutils \
|
install-textutils \
|
install-tgas \
|
install-tgas \
|
install-time \
|
install-time \
|
install-uudecode \
|
install-uudecode \
|
install-wdiff
|
install-wdiff \
|
|
install-zip \
|
|
$(EXTRA_TARGET_HOST_INSTALL_MODULES)
|
|
|
# This is a list of the targets for all of the modules which are compiled
|
# This is a list of the targets for all of the modules which are compiled
|
# using $(X11_FLAGS_TO_PASS).
|
# using $(X11_FLAGS_TO_PASS).
|
ALL_X11_MODULES = \
|
ALL_X11_MODULES = \
|
all-emacs \
|
all-emacs \
|
Line 663... |
Line 731... |
all-expect \
|
all-expect \
|
all-gash \
|
all-gash \
|
all-guile \
|
all-guile \
|
all-tclX \
|
all-tclX \
|
all-tk \
|
all-tk \
|
|
all-tk8.1 \
|
all-tix
|
all-tix
|
|
|
# This is a list of the check targets for all of the modules which are
|
# This is a list of the check targets for all of the modules which are
|
# compiled using $(X11_FLAGS_TO_PASS).
|
# compiled using $(X11_FLAGS_TO_PASS).
|
CHECK_X11_MODULES = \
|
CHECK_X11_MODULES = \
|
Line 688... |
Line 757... |
install-guile \
|
install-guile \
|
install-expect \
|
install-expect \
|
install-gash \
|
install-gash \
|
install-tclX \
|
install-tclX \
|
install-tk \
|
install-tk \
|
|
install-tk8.1 \
|
install-tix
|
install-tix
|
|
|
# This is a list of the targets for all of the modules which are compiled
|
# This is a list of the targets for all of the modules which are compiled
|
# using $(TARGET_FLAGS_TO_PASS).
|
# using $(TARGET_FLAGS_TO_PASS).
|
ALL_TARGET_MODULES = \
|
ALL_TARGET_MODULES = \
|
all-target-libio \
|
all-target-libio \
|
all-target-libstdc++ \
|
all-target-libstdc++ \
|
all-target-librx \
|
all-target-librx \
|
all-target-libg++ \
|
all-target-libg++ \
|
all-target-newlib \
|
all-target-newlib \
|
|
all-target-libtermcap \
|
all-target-winsup \
|
all-target-winsup \
|
all-target-libgloss \
|
all-target-libgloss \
|
all-target-libiberty \
|
all-target-libiberty \
|
all-target-gperf \
|
all-target-gperf \
|
all-target-examples \
|
all-target-examples \
|
all-target-libstub \
|
all-target-libstub \
|
|
all-target-libjava \
|
|
all-target-zlib \
|
|
all-target-boehm-gc \
|
|
all-target-qthreads \
|
|
all-target-bsp \
|
all-target-cygmon
|
all-target-cygmon
|
|
|
# This is a list of the configure targets for all of the modules which
|
# This is a list of the configure targets for all of the modules which
|
# are compiled using the target tools.
|
# are compiled using the target tools.
|
CONFIGURE_TARGET_MODULES = \
|
CONFIGURE_TARGET_MODULES = \
|
configure-target-libio \
|
configure-target-libio \
|
configure-target-libstdc++ \
|
configure-target-libstdc++ \
|
configure-target-librx \
|
configure-target-librx \
|
configure-target-libg++ \
|
configure-target-libg++ \
|
configure-target-newlib \
|
configure-target-newlib \
|
|
configure-target-libtermcap \
|
configure-target-winsup \
|
configure-target-winsup \
|
configure-target-libgloss \
|
configure-target-libgloss \
|
configure-target-libiberty \
|
configure-target-libiberty \
|
configure-target-gperf \
|
configure-target-gperf \
|
configure-target-examples \
|
configure-target-examples \
|
configure-target-libstub \
|
configure-target-libstub \
|
|
configure-target-libjava \
|
|
configure-target-zlib \
|
|
configure-target-boehm-gc \
|
|
configure-target-qthreads \
|
|
configure-target-bsp \
|
configure-target-cygmon
|
configure-target-cygmon
|
|
|
# This is a list of the check targets for all of the modules which are
|
# This is a list of the check targets for all of the modules which are
|
# compiled using $(TARGET_FLAGS_TO_PASS).
|
# compiled using $(TARGET_FLAGS_TO_PASS).
|
CHECK_TARGET_MODULES = \
|
CHECK_TARGET_MODULES = \
|
Line 731... |
Line 813... |
check-target-libstdc++ \
|
check-target-libstdc++ \
|
check-target-libg++ \
|
check-target-libg++ \
|
check-target-newlib \
|
check-target-newlib \
|
check-target-winsup \
|
check-target-winsup \
|
check-target-libiberty \
|
check-target-libiberty \
|
|
check-target-libjava \
|
|
check-target-zlib \
|
|
check-target-boehm-gc \
|
|
check-target-qthreads \
|
check-target-gperf
|
check-target-gperf
|
|
|
# This is a list of the install targets for all of the modules which are
|
# This is a list of the install targets for all of the modules which are
|
# compiled using $(TARGET_FLAGS_TO_PASS).
|
# compiled using $(TARGET_FLAGS_TO_PASS).
|
INSTALL_TARGET_MODULES = \
|
INSTALL_TARGET_MODULES = \
|
install-target-libio \
|
install-target-libio \
|
install-target-libstdc++ \
|
install-target-libstdc++ \
|
install-target-libg++ \
|
install-target-libg++ \
|
install-target-newlib \
|
install-target-newlib \
|
|
install-target-libtermcap \
|
install-target-winsup \
|
install-target-winsup \
|
install-target-libgloss \
|
install-target-libgloss \
|
install-target-libiberty \
|
install-target-libiberty \
|
|
install-target-bsp \
|
|
install-target-libjava \
|
|
install-target-zlib \
|
|
install-target-boehm-gc \
|
|
install-target-qthreads \
|
install-target-gperf
|
install-target-gperf
|
|
|
# This is a list of the targets for which we can do a clean-{target}.
|
# This is a list of the targets for which we can do a clean-{target}.
|
CLEAN_MODULES = \
|
CLEAN_MODULES = \
|
clean-apache \
|
clean-apache \
|
Line 756... |
Line 848... |
clean-bash \
|
clean-bash \
|
clean-bfd \
|
clean-bfd \
|
clean-binutils \
|
clean-binutils \
|
clean-bison \
|
clean-bison \
|
clean-byacc \
|
clean-byacc \
|
|
clean-bzip2 \
|
clean-cvssrc \
|
clean-cvssrc \
|
clean-db \
|
clean-db \
|
clean-dejagnu \
|
clean-dejagnu \
|
clean-diff \
|
clean-diff \
|
clean-dosutils \
|
clean-dosutils \
|
Line 806... |
Line 899... |
clean-texinfo \
|
clean-texinfo \
|
clean-textutils \
|
clean-textutils \
|
clean-tgas \
|
clean-tgas \
|
clean-time \
|
clean-time \
|
clean-uudecode \
|
clean-uudecode \
|
clean-wdiff
|
clean-wdiff \
|
|
clean-zip
|
|
|
# All of the target modules that can be cleaned
|
# All of the target modules that can be cleaned
|
CLEAN_TARGET_MODULES = \
|
CLEAN_TARGET_MODULES = \
|
clean-target-libio \
|
clean-target-libio \
|
clean-target-libstdc++ \
|
clean-target-libstdc++ \
|
Line 821... |
Line 915... |
clean-target-libgloss \
|
clean-target-libgloss \
|
clean-target-libiberty \
|
clean-target-libiberty \
|
clean-target-gperf \
|
clean-target-gperf \
|
clean-target-examples \
|
clean-target-examples \
|
clean-target-libstub \
|
clean-target-libstub \
|
|
clean-target-libjava \
|
|
clean-target-zlib \
|
|
clean-target-boehm-gc \
|
|
clean-target-qthreads \
|
|
clean-target-bsp \
|
clean-target-cygmon
|
clean-target-cygmon
|
|
|
# All of the x11 modules that can be cleaned
|
# All of the x11 modules that can be cleaned
|
CLEAN_X11_MODULES = \
|
CLEAN_X11_MODULES = \
|
clean-emacs \
|
clean-emacs \
|
Line 835... |
Line 934... |
clean-guile \
|
clean-guile \
|
clean-tclX \
|
clean-tclX \
|
clean-tk \
|
clean-tk \
|
clean-tix
|
clean-tix
|
|
|
# The first rule in the file had better be this one. Don't put any above it.
|
|
all: all.normal
|
|
.PHONY: all
|
|
|
|
# The target built for a native build.
|
# The target built for a native build.
|
.PHONY: all.normal
|
.PHONY: all.normal
|
all.normal: \
|
all.normal: \
|
$(ALL_MODULES) \
|
$(ALL_MODULES) \
|
$(ALL_X11_MODULES) \
|
$(ALL_X11_MODULES) \
|
Line 933... |
Line 1028... |
if [ -f dir.info ] ; then \
|
if [ -f dir.info ] ; then \
|
$(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
|
$(INSTALL_DATA) dir.info $(infodir)/dir.info ; \
|
else true ; fi
|
else true ; fi
|
|
|
local-clean:
|
local-clean:
|
-rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E
|
-rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
|
|
|
local-distclean:
|
local-distclean:
|
-rm -f Makefile config.status config.cache
|
-rm -f Makefile config.status config.cache mh-frag mt-frag
|
-if [ "$(TARGET_SUBDIR)" != "." ]; then \
|
-if [ "$(TARGET_SUBDIR)" != "." ]; then \
|
rm -rf $(TARGET_SUBDIR); \
|
rm -rf $(TARGET_SUBDIR); \
|
else true; fi
|
else true; fi
|
|
|
local-maintainer-clean:
|
local-maintainer-clean:
|
Line 988... |
Line 1083... |
check: $(CHECK_MODULES) \
|
check: $(CHECK_MODULES) \
|
$(CHECK_TARGET_MODULES) \
|
$(CHECK_TARGET_MODULES) \
|
$(CHECK_X11_MODULES) \
|
$(CHECK_X11_MODULES) \
|
check-gcc
|
check-gcc
|
|
|
|
# Automated reporting of test results.
|
|
|
|
warning.log: build.log
|
|
$(srcdir)/contrib/warn_summary build.log > $@
|
|
|
|
mail-report.log:
|
|
if test x'$(BOOT_CFLAGS)' != x''; then \
|
|
BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
|
|
fi; \
|
|
$(srcdir)/contrib/test_summary -t >$@
|
|
chmod +x $@
|
|
echo If you really want to send e-mail, run ./$@ now
|
|
|
|
mail-report-with-warnings.log: warning.log
|
|
if test x'$(BOOT_CFLAGS)' != x''; then \
|
|
BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
|
|
fi; \
|
|
$(srcdir)/contrib/test_summary -t -i warning.log >$@
|
|
chmod +x $@
|
|
echo If you really want to send e-mail, run ./$@ now
|
|
|
# Installation targets.
|
# Installation targets.
|
|
|
.PHONY: install uninstall source-vault binary-vault vault-install
|
.PHONY: install install-cross uninstall source-vault binary-vault vault-install
|
install: $(INSTALL_TARGET)
|
install: $(INSTALL_TARGET)
|
|
install-cross: $(INSTALL_TARGET_CROSS)
|
|
|
uninstall:
|
uninstall:
|
@echo "the uninstall target is not supported in this tree"
|
@echo "the uninstall target is not supported in this tree"
|
|
|
source-vault:
|
source-vault:
|
Line 1058... |
Line 1175... |
$(MAKE) $(GCC_FLAGS_TO_PASS) install); \
|
$(MAKE) $(GCC_FLAGS_TO_PASS) install); \
|
rm -rf gcc/include; \
|
rm -rf gcc/include; \
|
mv gcc/tmp-include gcc/include 2>/dev/null; \
|
mv gcc/tmp-include gcc/include 2>/dev/null; \
|
else true; fi
|
else true; fi
|
|
|
|
|
# This rule is used to build the modules which use FLAGS_TO_PASS. To
|
# This rule is used to build the modules which use FLAGS_TO_PASS. To
|
# build a target all-X means to cd to X and make all.
|
# build a target all-X means to cd to X and make all.
|
#
|
#
|
# all-gui, and all-libproc are handled specially because
|
# all-gui, and all-libproc are handled specially because
|
# they are still experimental, and if they fail to build, that
|
# they are still experimental, and if they fail to build, that
|
Line 1201... |
Line 1317... |
else \
|
else \
|
srcdiroption="--srcdir=$${topdir}/$${dir}"; \
|
srcdiroption="--srcdir=$${topdir}/$${dir}"; \
|
libsrcdir="$$s/$${dir}"; \
|
libsrcdir="$$s/$${dir}"; \
|
fi; \
|
fi; \
|
if [ -f $${libsrcdir}/configure ] ; then \
|
if [ -f $${libsrcdir}/configure ] ; then \
|
$(SHELL) $${libsrcdir}/configure \
|
rm -f no-such-file skip-this-dir; \
|
|
CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
|
$(CONFIG_ARGUMENTS) $${srcdiroption} \
|
$(CONFIG_ARGUMENTS) $${srcdiroption} \
|
--with-target-subdir="$(TARGET_SUBDIR)"; \
|
--with-target-subdir="$(TARGET_SUBDIR)"; \
|
else \
|
else \
|
$(SHELL) $$s/configure \
|
rm -f no-such-file skip-this-dir; \
|
|
CONFIG_SITE=no-such-file $(SHELL) $$s/configure \
|
$(CONFIG_ARGUMENTS) $${srcdiroption} \
|
$(CONFIG_ARGUMENTS) $${srcdiroption} \
|
--with-target-subdir="$(TARGET_SUBDIR)"; \
|
--with-target-subdir="$(TARGET_SUBDIR)"; \
|
fi; \
|
fi; \
|
|
if [ -f skip-this-dir ] ; then \
|
|
sh skip-this-dir; \
|
|
rm -f skip-this-dir; \
|
|
cd ..; rmdir $${dir} || true; \
|
|
else \
|
|
true; \
|
|
fi; \
|
else \
|
else \
|
true; \
|
true; \
|
fi; \
|
fi; \
|
else \
|
else \
|
true; \
|
true; \
|
Line 1317... |
Line 1442... |
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
|
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
|
else \
|
else \
|
true; \
|
true; \
|
fi
|
fi
|
|
|
.PHONY: all-bootstrap
|
# Building GCC uses some tools for rebuilding "source" files
|
all-bootstrap:
|
# like texinfo, bison/byacc, etc. So we must depend on those.
|
@if [ -f ./gcc/Makefile ] ; then \
|
#
|
r=`pwd`; export r; \
|
# While building GCC, it may be necessary to run various target
|
|
# programs like the assembler, linker, etc. So we depend on
|
|
# those too.
|
|
#
|
|
# In theory, on an SMP all those dependencies can be resolved
|
|
# in parallel.
|
|
#
|
|
.PHONY: bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean
|
|
bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
|
|
@r=`pwd`; export r; \
|
|
s=`cd $(srcdir); pwd`; export s; \
|
|
$(SET_LIB_PATH) \
|
|
echo "Bootstrapping the compiler"; \
|
|
cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $@
|
|
@r=`pwd`; export r; \
|
|
s=`cd $(srcdir); pwd`; export s; \
|
|
case "$@" in \
|
|
*bootstrap4-lean ) \
|
|
msg="Comparing stage3 and stage4 of the compiler"; \
|
|
compare=compare3-lean ;; \
|
|
*bootstrap4 ) msg="Comparing stage3 and stage4 of the compiler"; \
|
|
compare=compare3 ;; \
|
|
*-lean ) msg="Comparing stage2 and stage3 of the compiler"; \
|
|
compare=compare-lean ;; \
|
|
* ) msg="Comparing stage2 and stage3 of the compiler"; \
|
|
compare=compare ;; \
|
|
esac; \
|
|
$(SET_LIB_PATH) \
|
|
echo "$$msg"; \
|
|
cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
|
|
@r=`pwd`; export r; \
|
s=`cd $(srcdir); pwd`; export s; \
|
s=`cd $(srcdir); pwd`; export s; \
|
$(SET_LIB_PATH) \
|
$(SET_LIB_PATH) \
|
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) bootstrap); \
|
echo "Building runtime libraries"; \
|
else \
|
$(MAKE) $(BASE_FLAGS_TO_PASS) all
|
true; \
|
|
fi
|
.PHONY: cross
|
|
cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
|
|
@r=`pwd`; export r; \
|
|
s=`cd $(srcdir); pwd`; export s; \
|
|
$(SET_LIB_PATH) \
|
|
echo "Building the C and C++ compiler"; \
|
|
cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
|
|
@r=`pwd`; export r; \
|
|
s=`cd $(srcdir); pwd` ; export s; \
|
|
$(SET_LIB_PATH) \
|
|
echo "Building runtime libraries"; \
|
|
$(MAKE) $(BASE_FLAGS_TO_PASS) all LANGUAGES="c c++"
|
|
|
.PHONY: check-gcc
|
.PHONY: check-gcc
|
check-gcc:
|
check-gcc:
|
@if [ -f ./gcc/Makefile ] ; then \
|
@if [ -f ./gcc/Makefile ] ; then \
|
r=`pwd`; export r; \
|
r=`pwd`; export r; \
|
Line 1350... |
Line 1516... |
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
|
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
|
else \
|
else \
|
true; \
|
true; \
|
fi
|
fi
|
|
|
|
.PHONY: install-gcc-cross
|
|
install-gcc-cross:
|
|
@if [ -f ./gcc/Makefile ] ; then \
|
|
r=`pwd`; export r; \
|
|
s=`cd $(srcdir); pwd`; export s; \
|
|
$(SET_LIB_PATH) \
|
|
(cd gcc; $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++" install); \
|
|
else \
|
|
true; \
|
|
fi
|
# EXPERIMENTAL STUFF
|
# EXPERIMENTAL STUFF
|
# This rule is used to install the modules which use FLAGS_TO_PASS.
|
# This rule is used to install the modules which use FLAGS_TO_PASS.
|
# To build a target install-X means to cd to X and make install.
|
# To build a target install-X means to cd to X and make install.
|
.PHONY: install-dosrel
|
.PHONY: install-dosrel
|
install-dosrel: installdirs info
|
install-dosrel: installdirs info
|
Line 1373... |
Line 1548... |
|
|
# This is a list of inter-dependencies among modules.
|
# This is a list of inter-dependencies among modules.
|
all-apache:
|
all-apache:
|
all-ash:
|
all-ash:
|
all-autoconf: all-m4 all-texinfo
|
all-autoconf: all-m4 all-texinfo
|
all-automake:
|
all-automake: all-m4 all-texinfo
|
all-bash:
|
all-bash:
|
all-bfd: all-libiberty all-intl
|
all-bfd: all-libiberty all-intl
|
all-binutils: all-libiberty all-opcodes all-bfd all-flex all-bison all-byacc all-intl
|
all-binutils: all-libiberty all-opcodes all-bfd all-flex all-bison all-byacc all-intl
|
all-bison: all-texinfo
|
all-bison: all-texinfo
|
|
configure-target-bsp: $(ALL_GCC)
|
|
all-target-bsp: configure-target-bsp all-gcc all-binutils all-target-newlib
|
|
configure-target-boehm-gc: configure-target-newlib configure-target-qthreads
|
|
all-target-boehm-gc: configure-target-boehm-gc
|
all-byacc:
|
all-byacc:
|
|
all-bzip2:
|
all-cvssrc:
|
all-cvssrc:
|
configure-target-cygmon: $(ALL_GCC)
|
configure-target-cygmon: configure-target-bsp $(ALL_GCC)
|
all-target-cygmon: configure-target-cygmon all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-target-libstub
|
all-target-cygmon: configure-target-cygmon all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-target-libstub all-target-bsp
|
all-db:
|
all-db:
|
all-dejagnu: all-tcl all-expect all-tk
|
all-dejagnu: all-tcl all-expect all-tk
|
all-diff: all-libiberty
|
all-diff: all-libiberty
|
all-emacs:
|
all-emacs:
|
all-emacs19: all-bison all-byacc
|
all-emacs19: all-bison all-byacc
|
Line 1408... |
Line 1588... |
all-gettext:
|
all-gettext:
|
all-gnuserv:
|
all-gnuserv:
|
configure-target-gperf: $(ALL_GCC)
|
configure-target-gperf: $(ALL_GCC)
|
all-target-gperf: configure-target-gperf all-target-libiberty all-target-libstdc++
|
all-target-gperf: configure-target-gperf all-target-libiberty all-target-libstdc++
|
all-gprof: all-libiberty all-bfd all-opcodes all-intl
|
all-gprof: all-libiberty all-bfd all-opcodes all-intl
|
all-grep: all-libiberty
|
|
all-grez: all-libiberty all-bfd all-opcodes
|
all-grez: all-libiberty all-bfd all-opcodes
|
all-gui: all-gdb all-libproc all-target-librx
|
all-gui: all-gdb all-libproc all-target-librx
|
all-guile:
|
all-guile:
|
all-gzip: all-libiberty
|
all-gzip: all-libiberty
|
all-hello: all-libiberty
|
all-hello: all-libiberty
|
all-indent:
|
all-indent:
|
all-inet: all-tcl all-send-pr all-perl
|
all-inet: all-tcl all-send-pr all-perl
|
all-intl:
|
all-intl:
|
all-ispell: all-emacs19
|
all-ispell: all-emacs19
|
all-itcl: all-tcl all-tk
|
all-itcl: all-tcl all-tk all-tcl8.1 all-tk8.1
|
all-ld: all-libiberty all-bfd all-opcodes all-bison all-byacc all-flex all-intl
|
all-ld: all-libiberty all-bfd all-opcodes all-bison all-byacc all-flex all-intl
|
configure-target-libg++: $(ALL_GCC) configure-target-librx
|
configure-target-libg++: $(ALL_GCC) configure-target-librx
|
all-target-libg++: configure-target-libg++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-target-librx all-target-libstdc++
|
all-target-libg++: configure-target-libg++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio all-target-librx all-target-libstdc++
|
configure-target-libgloss: $(ALL_GCC)
|
configure-target-libgloss: $(ALL_GCC)
|
all-target-libgloss: configure-target-libgloss configure-target-newlib
|
all-target-libgloss: configure-target-libgloss configure-target-newlib
|
configure-target-libio: $(ALL_GCC)
|
configure-target-libio: $(ALL_GCC)
|
all-target-libio: configure-target-libio all-gas all-ld all-gcc all-target-libiberty all-target-newlib
|
all-target-libio: configure-target-libio all-gas all-ld all-gcc all-target-libiberty all-target-newlib
|
check-target-libio: all-target-libstdc++
|
check-target-libio: all-target-libstdc++
|
all-libgui: all-tcl all-tk all-itcl
|
all-libgui: all-tcl all-tk all-tcl8.1 all-tk8.1 all-itcl
|
all-libiberty:
|
all-libiberty:
|
|
configure-target-libjava: $(ALL_GCC) configure-target-zlib configure-target-boehm-gc configure-target-qthreads configure-target-newlib
|
|
all-target-libjava: configure-target-libjava all-gcc all-zip all-target-newlib all-target-zlib all-target-boehm-gc all-target-qthreads
|
configure-target-librx: $(ALL_GCC) configure-target-newlib
|
configure-target-librx: $(ALL_GCC) configure-target-newlib
|
all-target-librx: configure-target-librx
|
all-target-librx: configure-target-librx
|
configure-target-libstdc++: $(ALL_GCC)
|
configure-target-libstdc++: $(ALL_GCC)
|
all-target-libstdc++: configure-target-libstdc++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio
|
all-target-libstdc++: configure-target-libstdc++ all-gas all-ld all-gcc all-target-libiberty all-target-newlib all-target-libio
|
configure-target-libstub: $(ALL_GCC)
|
configure-target-libstub: $(ALL_GCC)
|
Line 1440... |
Line 1621... |
all-libtool:
|
all-libtool:
|
all-m4: all-libiberty
|
all-m4: all-libiberty
|
all-make: all-libiberty
|
all-make: all-libiberty
|
all-mmalloc:
|
all-mmalloc:
|
configure-target-newlib: $(ALL_GCC)
|
configure-target-newlib: $(ALL_GCC)
|
|
configure-target-libtermcap: $(ALL_GCC)
|
all-target-newlib: configure-target-newlib all-binutils all-gas all-gcc
|
all-target-newlib: configure-target-newlib all-binutils all-gas all-gcc
|
|
all-target-libtermcap: configure-target-libtermcap all-binutils all-gas all-gcc
|
all-opcodes: all-bfd all-libiberty
|
all-opcodes: all-bfd all-libiberty
|
all-patch: all-libiberty
|
all-patch: all-libiberty
|
all-perl:
|
all-perl:
|
all-prms: all-libiberty
|
all-prms: all-libiberty
|
|
configure-target-qthreads: configure-target-newlib
|
|
all-target-qthreads: configure-target-qthreads
|
all-rcs:
|
all-rcs:
|
all-readline:
|
all-readline:
|
all-recode: all-libiberty
|
all-recode: all-libiberty
|
all-sed: all-libiberty
|
all-sed: all-libiberty
|
all-send-pr: all-prms
|
all-send-pr: all-prms
|
all-shellutils:
|
all-shellutils:
|
all-sim: all-libiberty all-bfd all-opcodes all-readline
|
all-sim: all-libiberty all-bfd all-opcodes all-readline
|
all-tar: all-libiberty
|
all-tar: all-libiberty
|
all-tcl:
|
all-tcl:
|
|
all-tcl8.1:
|
all-tclX: all-tcl all-tk
|
all-tclX: all-tcl all-tk
|
all-tk: all-tcl
|
all-tk: all-tcl
|
|
all-tk8.1: all-tcl8.1
|
all-texinfo: all-libiberty
|
all-texinfo: all-libiberty
|
all-textutils:
|
all-textutils:
|
all-tgas: all-libiberty all-bfd all-opcodes
|
all-tgas: all-libiberty all-bfd all-opcodes
|
all-time:
|
all-time:
|
all-tix: all-tcl all-tk
|
all-tix: all-tcl all-tk all-tcl8.1 all-tk8.1
|
all-wdiff:
|
all-wdiff:
|
all-target-winsup: all-target-newlib all-target-libiberty all-target-libio configure-target-winsup
|
all-target-winsup: all-target-newlib all-target-libiberty all-target-libtermcap configure-target-winsup
|
configure-target-winsup: configure-target-newlib
|
configure-target-winsup: configure-target-newlib
|
all-uudecode: all-libiberty
|
all-uudecode: all-libiberty
|
configure-target-libiberty: $(ALL_GCC)
|
all-zip:
|
|
configure-target-zlib: $(ALL_GCC)
|
|
all-target-zlib: configure-target-zlib
|
|
configure-target-libiberty: $(ALL_GCC) configure-target-newlib
|
all-target-libiberty: configure-target-libiberty all-gcc all-ld all-target-newlib
|
all-target-libiberty: configure-target-libiberty all-gcc all-ld all-target-newlib
|
all-target: $(ALL_TARGET_MODULES)
|
all-target: $(ALL_TARGET_MODULES)
|
install-target: $(INSTALL_TARGET_MODULES)
|
install-target: $(INSTALL_TARGET_MODULES)
|
install-gdb: install-tcl install-tk install-itcl install-tix install-libgui
|
install-gdb: install-tcl install-tk install-itcl install-tix install-libgui
|
### other supporting targets
|
### other supporting targets
|
Line 1502... |
Line 1692... |
# built are.
|
# built are.
|
TAGS: do-TAGS
|
TAGS: do-TAGS
|
|
|
# with the gnu make, this is done automatically.
|
# with the gnu make, this is done automatically.
|
|
|
Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag)
|
Makefile: Makefile.in configure.in $(host_makefile_frag) $(target_makefile_frag) $(gcc_version_trigger)
|
$(SHELL) ./config.status
|
$(SHELL) ./config.status
|
|
|
#
|
#
|
# Support for building net releases
|
# Support for building net releases
|
|
|
# Files in devo used in any net release.
|
# Files in devo used in any net release.
|
# ChangeLog omitted because it may refer to files which are not in this
|
# ChangeLog omitted because it may refer to files which are not in this
|
# distribution (perhaps it would be better to include it anyway).
|
# distribution (perhaps it would be better to include it anyway).
|
DEVO_SUPPORT= README Makefile.in configure configure.in \
|
DEVO_SUPPORT= README Makefile.in configure configure.in \
|
config.guess config.sub config move-if-change \
|
config.guess config.if config.sub config move-if-change \
|
mpw-README mpw-build.in mpw-config.in mpw-configure mpw-install \
|
mpw-README mpw-build.in mpw-config.in mpw-configure mpw-install \
|
COPYING COPYING.LIB install-sh config-ml.in symlink-tree \
|
COPYING COPYING.LIB install-sh config-ml.in symlink-tree \
|
mkinstalldirs ltconfig ltmain.sh missing ylwrap
|
mkinstalldirs ltconfig ltmain.sh missing ylwrap
|
|
|
# Files in devo/etc used in any net release.
|
# Files in devo/etc used in any net release.
|
Line 1581... |
Line 1771... |
ln -s ../../texinfo/lgpl.texinfo proto-toplev/texinfo/
|
ln -s ../../texinfo/lgpl.texinfo proto-toplev/texinfo/
|
if test -r texinfo/util/tex3patch ; then \
|
if test -r texinfo/util/tex3patch ; then \
|
mkdir proto-toplev/texinfo/util && \
|
mkdir proto-toplev/texinfo/util && \
|
ln -s ../../../texinfo/util/tex3patch proto-toplev/texinfo/util ; \
|
ln -s ../../../texinfo/util/tex3patch proto-toplev/texinfo/util ; \
|
else true; fi
|
else true; fi
|
chmod og=u `find . -print`
|
chmod -R og=u . || chmod og=u `find . -print`
|
if grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
|
if grep AM_INIT_AUTOMAKE $(TOOL)/configure.in >/dev/null 2>&1; then \
|
ver=`sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'`; \
|
ver=`sed < $(TOOL)/configure.in -n 's/AM_INIT_AUTOMAKE[^,]*, *\([^)]*\))/\1/p'`; \
|
else \
|
else \
|
ver=`sed <$(TOOL)/Makefile.in -n 's/^VERSION *= *//p'`; \
|
ver=`sed <$(TOOL)/Makefile.in -n 's/^VERSION *= *//p'`; \
|
fi; \
|
fi; \
|
Line 1657... |
Line 1847... |
DEVO_SUPPORT="$(DEVO_SUPPORT) COPYING.NEWLIB" newlib
|
DEVO_SUPPORT="$(DEVO_SUPPORT) COPYING.NEWLIB" newlib
|
|
|
.NOEXPORT:
|
.NOEXPORT:
|
MAKEOVERRIDES=
|
MAKEOVERRIDES=
|
|
|
|
|
# end of Makefile.in
|
# end of Makefile.in
|