diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2009-04-09 15:39:52 +0000 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2009-04-09 15:39:52 +0000 |
commit | c50523cebf618fd32df38a450a7ef9630e5e0094 (patch) | |
tree | db443dcbc99c59655f20f1e534f73a738e986c43 /Makefile.tpl | |
parent | 6b6b345096317186639f6a8616a5e80482b41878 (diff) | |
download | gdb-c50523cebf618fd32df38a450a7ef9630e5e0094.zip gdb-c50523cebf618fd32df38a450a7ef9630e5e0094.tar.gz gdb-c50523cebf618fd32df38a450a7ef9630e5e0094.tar.bz2 |
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 acb349f..1de3b06 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 |