Mercurial > hg > CbC > CbC_gcc
comparison libgcc/Makefile.in @ 67:f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author | nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 22 Mar 2011 17:18:12 +0900 |
parents | b7f97abdc517 |
children | 04ced10e8804 |
comparison
equal
deleted
inserted
replaced
65:65488c3d617d | 67:f6334be47118 |
---|---|
1 # Makefile.in | 1 # Makefile.in |
2 | 2 |
3 # Copyright (C) 2005, 2006, 2009 Free Software Foundation | 3 # Copyright (C) 2005, 2006, 2009, 2010 Free Software Foundation |
4 # | 4 # |
5 # This file is part of GCC. | 5 # This file is part of GCC. |
6 # | 6 # |
7 # GCC is free software; you can redistribute it and/or modify it under the | 7 # GCC is free software; you can redistribute it and/or modify it under the |
8 # terms of the GNU Library General Public License as published by the Free | 8 # terms of the GNU Library General Public License as published by the Free |
39 decimal_float = @decimal_float@ | 39 decimal_float = @decimal_float@ |
40 enable_decimal_float = @enable_decimal_float@ | 40 enable_decimal_float = @enable_decimal_float@ |
41 fixed_point = @fixed_point@ | 41 fixed_point = @fixed_point@ |
42 | 42 |
43 host_noncanonical = @host_noncanonical@ | 43 host_noncanonical = @host_noncanonical@ |
44 target_noncanonical = @target_noncanonical@ | |
44 | 45 |
45 # List of extra object files that should be compiled for this target machine. | 46 # List of extra object files that should be compiled for this target machine. |
46 # The rules for compiling them should be in the t-* file for the machine. | 47 # The rules for compiling them should be in the t-* file for the machine. |
47 EXTRA_PARTS = @extra_parts@ | 48 EXTRA_PARTS = @extra_parts@ |
48 | 49 |
145 $(srcdir)/../config/enable.m4 \ | 146 $(srcdir)/../config/enable.m4 \ |
146 $(srcdir)/../config/tls.m4 \ | 147 $(srcdir)/../config/tls.m4 \ |
147 $(srcdir)/../config/acx.m4 \ | 148 $(srcdir)/../config/acx.m4 \ |
148 $(srcdir)/../config/no-executables.m4 \ | 149 $(srcdir)/../config/no-executables.m4 \ |
149 $(srcdir)/../config/override.m4 \ | 150 $(srcdir)/../config/override.m4 \ |
151 $(srcdir)/../config/dfp.m4 \ | |
150 | 152 |
151 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps) | 153 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.ac $(configure_deps) |
152 cd $(srcdir) && $(AUTOCONF) | 154 cd $(srcdir) && $(AUTOCONF) |
153 | 155 |
154 include $(gcc_objdir)/libgcc.mvars | 156 include $(gcc_objdir)/libgcc.mvars |
172 | 174 |
173 # Directory in which the compiler finds libraries etc. | 175 # Directory in which the compiler finds libraries etc. |
174 libsubdir = $(libdir)/gcc/$(host_noncanonical)/$(version) | 176 libsubdir = $(libdir)/gcc/$(host_noncanonical)/$(version) |
175 # Used to install the shared libgcc. | 177 # Used to install the shared libgcc. |
176 slibdir = @slibdir@ | 178 slibdir = @slibdir@ |
179 # Maybe used for DLLs on Windows targets. | |
180 toolexecdir = @toolexecdir@ | |
181 toolexeclibdir = @toolexeclibdir@ | |
177 | 182 |
178 export AR_FOR_TARGET | 183 export AR_FOR_TARGET |
179 export AR_CREATE_FOR_TARGET | 184 export AR_CREATE_FOR_TARGET |
180 export AR_FLAGS_FOR_TARGET | 185 export AR_FLAGS_FOR_TARGET |
181 export AR_EXTRACT_FOR_TARGET | 186 export AR_EXTRACT_FOR_TARGET |
191 export NM_FOR_TARGET | 196 export NM_FOR_TARGET |
192 export STRIP_FOR_TARGET | 197 export STRIP_FOR_TARGET |
193 export RANLIB_FOR_TARGET | 198 export RANLIB_FOR_TARGET |
194 export libsubdir | 199 export libsubdir |
195 export slibdir | 200 export slibdir |
201 export toolexecdir | |
202 export toolexeclibdir | |
196 | 203 |
197 version := $(shell $(CC) -dumpversion) | 204 version := $(shell $(CC) -dumpversion) |
198 | 205 |
199 ifeq ($(decimal_float),yes) | 206 ifeq ($(decimal_float),yes) |
200 ifeq ($(enable_decimal_float),bid) | 207 ifeq ($(enable_decimal_float),bid) |
382 # Build libgcc2.c for each conversion function, with a specific | 389 # Build libgcc2.c for each conversion function, with a specific |
383 # L<func> definition and LIBGCC2_UNITS_PER_WORD setting. The DImode | 390 # L<func> definition and LIBGCC2_UNITS_PER_WORD setting. The DImode |
384 # functions are built with a wordsize of 4; the TImode functions are | 391 # functions are built with a wordsize of 4; the TImode functions are |
385 # built with the same labels, but a wordsize of 8. | 392 # built with the same labels, but a wordsize of 8. |
386 | 393 |
387 sifuncs = $(subst XX,si,$(swfloatfuncs)) | 394 sifuncs := $(filter-out $(LIB2FUNCS_EXCLUDE),$(subst XX,si,$(swfloatfuncs))) |
388 difuncs = $(subst XX,di,$(dwfloatfuncs)) | 395 difuncs := $(filter-out $(LIB2FUNCS_EXCLUDE),$(subst XX,di,$(dwfloatfuncs))) |
389 tifuncs = $(subst XX,ti,$(dwfloatfuncs)) | 396 tifuncs := $(filter-out $(LIB2FUNCS_EXCLUDE),$(subst XX,ti,$(dwfloatfuncs))) |
390 | 397 |
391 iter-items := $(sifuncs) $(difuncs) $(tifuncs) | 398 iter-items := $(sifuncs) $(difuncs) $(tifuncs) |
392 iter-labels := $(sifuncs) $(difuncs) $(difuncs) | 399 iter-labels := $(sifuncs) $(difuncs) $(difuncs) |
393 iter-sizes := $(patsubst %,4,$(sifuncs) $(difuncs)) $(patsubst %,8,$(tifuncs)) | 400 iter-sizes := $(patsubst %,4,$(sifuncs) $(difuncs)) $(patsubst %,8,$(tifuncs)) |
394 | 401 |
867 $(mkinstalldirs) $(gcc_objdir)$(MULTISUBDIR) | 874 $(mkinstalldirs) $(gcc_objdir)$(MULTISUBDIR) |
868 parts="$(EXTRA_PARTS)"; \ | 875 parts="$(EXTRA_PARTS)"; \ |
869 for file in $$parts; do \ | 876 for file in $$parts; do \ |
870 rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \ | 877 rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \ |
871 $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \ | 878 $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \ |
879 case $$file in \ | |
880 *.a) \ | |
881 $(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \ | |
882 esac; \ | |
872 done | 883 done |
873 | 884 |
874 # Build extra startfiles in the gcc directory, for unconverted | 885 # Build extra startfiles in the gcc directory, for unconverted |
875 # targets. | 886 # targets. |
876 .PHONY: gcc-extra-parts | 887 .PHONY: gcc-extra-parts |
900 $(mkinstalldirs) $(gcc_objdir)$(MULTISUBDIR) | 911 $(mkinstalldirs) $(gcc_objdir)$(MULTISUBDIR) |
901 parts="$(GCC_EXTRA_PARTS)"; \ | 912 parts="$(GCC_EXTRA_PARTS)"; \ |
902 for file in $$parts; do \ | 913 for file in $$parts; do \ |
903 rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \ | 914 rm -f $(gcc_objdir)$(MULTISUBDIR)/$$file; \ |
904 $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \ | 915 $(INSTALL_DATA) $$file $(gcc_objdir)$(MULTISUBDIR)/; \ |
916 case $$file in \ | |
917 *.a) \ | |
918 $(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \ | |
919 esac; \ | |
905 done | 920 done |
906 | 921 |
907 all: $(extra-parts) | 922 all: $(extra-parts) |
908 | 923 |
909 # Documentation targets (empty). | 924 # Documentation targets (empty). |
955 | 970 |
956 parts="$(INSTALL_PARTS)"; \ | 971 parts="$(INSTALL_PARTS)"; \ |
957 for file in $$parts; do \ | 972 for file in $$parts; do \ |
958 rm -f $(DESTDIR)$(inst_libdir)/$$file; \ | 973 rm -f $(DESTDIR)$(inst_libdir)/$$file; \ |
959 $(INSTALL_DATA) $$file $(DESTDIR)$(inst_libdir)/; \ | 974 $(INSTALL_DATA) $$file $(DESTDIR)$(inst_libdir)/; \ |
975 case $$file in \ | |
976 *.a) \ | |
977 $(RANLIB) $(gcc_objdir)$(MULTISUBDIR)/$$file ;; \ | |
978 esac; \ | |
960 done | 979 done |
961 | 980 |
962 install: install-leaf | 981 install: install-leaf |
963 @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install | 982 @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install |
964 | 983 |
965 .PHONY: install install-shared install-libunwind | 984 install-strip: install |
985 | |
986 .PHONY: install install-shared install-libunwind install-strip | |
966 | 987 |
967 # Don't export variables to the environment, in order to not confuse | 988 # Don't export variables to the environment, in order to not confuse |
968 # configure. | 989 # configure. |
969 .NOEXPORT: | 990 .NOEXPORT: |
970 | 991 |