X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=libgcc%2FMakefile.in;h=557fab36e48be6bc50c4a2505354e8c69340ad7b;hb=cdbf45414aecd8ec143a0f2634ba7c53b11053ca;hp=631af5ada0441662406813ed19ef9155cf76cd28;hpb=5b50fc0c883adcc707ea281df677e602a4b5a96d;p=gcc.git diff --git a/libgcc/Makefile.in b/libgcc/Makefile.in index 631af5ada04..557fab36e48 100644 --- a/libgcc/Makefile.in +++ b/libgcc/Makefile.in @@ -1,6 +1,6 @@ # Makefile.in -# Copyright (C) 2005, 2006, 2009 Free Software Foundation +# Copyright (C) 2005, 2006, 2009, 2010 Free Software Foundation # # This file is part of GCC. # @@ -41,6 +41,7 @@ enable_decimal_float = @enable_decimal_float@ fixed_point = @fixed_point@ host_noncanonical = @host_noncanonical@ +target_noncanonical = @target_noncanonical@ # List of extra object files that should be compiled for this target machine. # The rules for compiling them should be in the t-* file for the machine. @@ -175,6 +176,9 @@ STRIP_FOR_TARGET = $(STRIP) libsubdir = $(libdir)/gcc/$(host_noncanonical)/$(version) # Used to install the shared libgcc. slibdir = @slibdir@ +# Maybe used for DLLs on Windows targets. +toolexecdir = @toolexecdir@ +toolexeclibdir = @toolexeclibdir@ export AR_FOR_TARGET export AR_CREATE_FOR_TARGET @@ -194,6 +198,8 @@ export STRIP_FOR_TARGET export RANLIB_FOR_TARGET export libsubdir export slibdir +export toolexecdir +export toolexeclibdir version := $(shell $(CC) -dumpversion) @@ -244,6 +250,10 @@ gcc_s_compile = $(gcc_compile) -DSHARED objects = $(filter %$(objext),$^) # Collect any host-specific information from Makefile fragments. + +LIBGCC_VER_GNU_PREFIX = __ +LIBGCC_VER_SYMBOLS_PREFIX = + tmake_file = @tmake_file@ include $(srcdir)/empty.mk $(tmake_file) @@ -789,6 +799,9 @@ libgcc_s$(SHLIB_EXT): libgcc.map mapfile = libgcc.map endif +libgcc-std.ver: $(srcdir)/libgcc-std.ver.in + sed -e 's/__PFX__/$(LIBGCC_VER_GNU_PREFIX)/g' < $< > $@ + libgcc_s$(SHLIB_EXT): $(libgcc-s-objects) $(extra-parts) # @multilib_flags@ is still needed because this may use # $(GCC_FOR_TARGET) and $(LIBGCC2_CFLAGS) directly. @@ -975,7 +988,9 @@ install-leaf: $(install-shared) $(install-libunwind) install: install-leaf @: $(MAKE) ; $(MULTIDO) $(FLAGS_TO_PASS) multi-do DO=install -.PHONY: install install-shared install-libunwind +install-strip: install + +.PHONY: install install-shared install-libunwind install-strip # Don't export variables to the environment, in order to not confuse # configure.