diff options
author | Steve Ellcey <sje@cup.hp.com> | 2009-04-01 16:41:54 +0000 |
---|---|---|
committer | Steve Ellcey <sje@gcc.gnu.org> | 2009-04-01 16:41:54 +0000 |
commit | 60911f14c3cd3fe787c4dd745df22e324410ce0c (patch) | |
tree | 0e9df6ab6aaa2535afea0bb8042770f2df9424cf /Makefile.tpl | |
parent | 96137f957419e1cb75d68232f31923afabf248ac (diff) | |
download | gcc-60911f14c3cd3fe787c4dd745df22e324410ce0c.tar.gz |
Makefil.def (languages): New entries.
* Makefil.def (languages): New entries.
* Makefile.tpl (check-gcc-*): New generic target.
* Makefile.in: Regenerate.
* gcc/doc/sourcebuild.texi: Update front-end requirements.
From-SVN: r145415
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 acb349ff742..1de3b0605cf 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 |