diff options
author | H.J. Lu <hjl@lucon.org> | 2009-04-09 15:39:52 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2009-04-09 15:39:52 +0000 |
commit | 140965e40125b9165a03dc51de2dc884e5fcfb69 (patch) | |
tree | b46bb820b2fee99c9aeae7266ec5fc2647b0e608 /Makefile.tpl | |
parent | 9498619966a95b3d3324ba9b3db9cc421e7b551d (diff) | |
download | binutils-redhat-140965e40125b9165a03dc51de2dc884e5fcfb69.tar.gz |
2009-04-09 Steve Ellcey <sje@cup.hp.com>
* Makefil.def (languages): New entries.
* Makefile.tpl (check-gcc-*): New generic target.
* Makefile.in: Regenerate.
Diffstat (limited to 'Makefile.tpl')
-rw-r--r-- | Makefile.tpl | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/Makefile.tpl b/Makefile.tpl index acb349ff74..1de3b0605c 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -1216,19 +1216,15 @@ cross: all-build all-gas all-ld @endif gcc-no-bootstrap @if gcc -.PHONY: check-gcc-c++ -check-gcc-c++: - @if [ -f ./gcc/Makefile ] ; then \ - r=`${PWD_COMMAND}`; export r; \ - s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ - $(HOST_EXPORTS) \ - (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \ - else \ - true; \ - fi - -.PHONY: check-c++ -check-c++: check-target-libstdc++-v3 check-gcc-c++ +[+ FOR languages +] +.PHONY: check-gcc-[+language+] check-[+language+] +check-gcc-[+language+]: + r=`${PWD_COMMAND}`; export r; \ + s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \ + $(HOST_EXPORTS) \ + (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) [+gcc-check-target+]); +check-[+language+]: check-gcc-[+language+][+ IF lib-check-target +] [+ lib-check-target +][+ ENDIF lib-check-target +] +[+ ENDFOR languages +] # Install the gcc headers files, but not the fixed include files, # which Cygnus is not allowed to distribute. This rule is very |