aboutsummaryrefslogtreecommitdiff
path: root/gcc/Makefile.in
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-05-10 15:41:47 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-05-10 15:41:47 +0100
commit80cf2e08cc4ae44ac8d15d62191a867f2a60b162 (patch)
treef5124d3153896b6d1a523caa3279182000e1d0c6 /gcc/Makefile.in
parentfd01a351dff3f953994a7a14015b9aaa3f77582d (diff)
downloadgcc-80cf2e08cc4ae44ac8d15d62191a867f2a60b162.zip
gcc-80cf2e08cc4ae44ac8d15d62191a867f2a60b162.tar.gz
gcc-80cf2e08cc4ae44ac8d15d62191a867f2a60b162.tar.bz2
config.gcc (libgcc_tm_file): Define instead of including files from ../../libgcc/config/ in tm_file.
gcc: * config.gcc (libgcc_tm_file): Define instead of including files from ../../libgcc/config/ in tm_file. * configure.ac (libgcc_tm_file_list, libgcc_tm_include_list): Define. * configure: Regenerate. * Makefile.in (libgcc_tm_file_list, libgcc_tm_include_list, libgcc_tm.h, cs-libgcc_tm.h): New. (TM_H): Include libgcc_tm.h and $(libgcc_tm_file_list). (clean): Remove libgcc_tm.h. * config/arm/symbian.h (RENAME_LIBRARY): Remove. * mkconfig.sh: Include libgcc_tm.h in tm.h if USED_FOR_TARGET. * system.h (DECLARE_LIBRARY_RENAMES): Poison. libgcc: * config/arm/symbian-lib.h: New. From-SVN: r173619
Diffstat (limited to 'gcc/Makefile.in')
-rw-r--r--gcc/Makefile.in13
1 files changed, 11 insertions, 2 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 078ecbc..3be33a2 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -484,6 +484,8 @@ md_file=$(srcdir)/config/@md_file@
tm_file_list=@tm_file_list@
tm_include_list=@tm_include_list@
tm_defines=@tm_defines@
+libgcc_tm_file_list=@libgcc_tm_file_list@
+libgcc_tm_include_list=@libgcc_tm_include_list@
tm_p_file_list=@tm_p_file_list@
tm_p_include_list=@tm_p_include_list@
build_xm_file_list=@build_xm_file_list@
@@ -840,7 +842,8 @@ CONFIG_H = config.h $(host_xm_file_list)
TCONFIG_H = tconfig.h $(xm_file_list)
TM_P_H = tm_p.h $(tm_p_file_list)
GTM_H = tm.h $(tm_file_list) insn-constants.h
-TM_H = $(GTM_H) insn-flags.h $(OPTIONS_H)
+TM_H = $(GTM_H) libgcc_tm.h $(libgcc_tm_file_list) insn-flags.h \
+ $(OPTIONS_H)
# Variables for version information.
BASEVER := $(srcdir)/BASE-VER # 4.x.y
@@ -1687,6 +1690,7 @@ config.h: cs-config.h ; @true
bconfig.h: cs-bconfig.h ; @true
tconfig.h: cs-tconfig.h ; @true
tm.h: cs-tm.h ; @true
+libgcc_tm.h: cs-libgcc_tm.h ; @true
tm_p.h: cs-tm_p.h ; @true
cs-config.h: Makefile
@@ -1709,6 +1713,11 @@ cs-tm.h: Makefile
HEADERS="$(tm_include_list)" DEFINES="$(tm_defines)" \
$(SHELL) $(srcdir)/mkconfig.sh tm.h
+cs-libgcc_tm.h: Makefile
+ TARGET_CPU_DEFAULT="" \
+ HEADERS="$(libgcc_tm_include_list)" DEFINES="" \
+ $(SHELL) $(srcdir)/mkconfig.sh libgcc_tm.h
+
cs-tm_p.h: Makefile
TARGET_CPU_DEFAULT="" \
HEADERS="$(tm_p_include_list)" DEFINES="" \
@@ -4464,7 +4473,7 @@ clean: mostlyclean lang.clean
-rm -f libgcc.a libgcc_eh.a libgcov.a
-rm -f libgcc_s*
-rm -f libunwind*
- -rm -f config.h tconfig.h bconfig.h tm_p.h tm.h
+ -rm -f config.h tconfig.h bconfig.h tm_p.h tm.h libgcc_tm.h
-rm -f options.c options.h optionlist
-rm -f cs-*
-rm -f doc/*.dvi