| OLD | NEW |
| 1 # Makefile for regression testing the GNU debugger. | 1 # Makefile for regression testing the GNU debugger. |
| 2 # Copyright 1992-1996, 1998-2000, 2002-2005, 2007-2012 Free Software | 2 # Copyright 1992-1996, 1998-2000, 2002-2005, 2007-2012 Free Software |
| 3 # Foundation, Inc. | 3 # Foundation, Inc. |
| 4 | 4 |
| 5 # This file is part of GDB. | 5 # This file is part of GDB. |
| 6 | 6 |
| 7 # This program is free software; you can redistribute it and/or modify | 7 # This program is free software; you can redistribute it and/or modify |
| 8 # it under the terms of the GNU General Public License as published by | 8 # it under the terms of the GNU General Public License as published by |
| 9 # the Free Software Foundation; either version 3 of the License, or | 9 # the Free Software Foundation; either version 3 of the License, or |
| 10 # (at your option) any later version. | 10 # (at your option) any later version. |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 113 -@mv site.exp site.bak | 113 -@mv site.exp site.bak |
| 114 @echo "## these variables are automatically generated by make ##" > ./tm
p0 | 114 @echo "## these variables are automatically generated by make ##" > ./tm
p0 |
| 115 @echo "# Do not edit here. If you wish to override these values" >> ./tm
p0 | 115 @echo "# Do not edit here. If you wish to override these values" >> ./tm
p0 |
| 116 @echo "# add them to the last section" >> ./tmp0 | 116 @echo "# add them to the last section" >> ./tmp0 |
| 117 @echo "set host_triplet ${host_canonical}" >> ./tmp0 | 117 @echo "set host_triplet ${host_canonical}" >> ./tmp0 |
| 118 @echo "set target_alias $(target_alias)" >> ./tmp0 | 118 @echo "set target_alias $(target_alias)" >> ./tmp0 |
| 119 @echo "set target_triplet ${target_canonical}" >> ./tmp0 | 119 @echo "set target_triplet ${target_canonical}" >> ./tmp0 |
| 120 @echo "set build_triplet ${build_canonical}" >> ./tmp0 | 120 @echo "set build_triplet ${build_canonical}" >> ./tmp0 |
| 121 @echo "set srcdir ${srcdir}" >> ./tmp0 | 121 @echo "set srcdir ${srcdir}" >> ./tmp0 |
| 122 @echo "set tool gdb" >> ./tmp0 | 122 @echo "set tool gdb" >> ./tmp0 |
| 123 @echo 'source $${srcdir}/lib/append_gdb_boards_dir.exp' >> ./tmp0 |
| 123 @echo "## All variables above are generated by configure. Do Not Edit ##
" >> ./tmp0 | 124 @echo "## All variables above are generated by configure. Do Not Edit ##
" >> ./tmp0 |
| 124 @cat ./tmp0 > site.exp | 125 @cat ./tmp0 > site.exp |
| 125 @cat site.bak | sed \ | 126 @cat site.bak | sed \ |
| 126 -e '1,/^## All variables above are.*##/ d' >> site.exp | 127 -e '1,/^## All variables above are.*##/ d' >> site.exp |
| 127 -@rm -f ./tmp? | 128 -@rm -f ./tmp? |
| 128 | 129 |
| 129 installcheck: | 130 installcheck: |
| 130 | 131 |
| 131 # For GNU make, try to run the tests in parallel. If RUNTESTFLAGS is | 132 # For GNU make, try to run the tests in parallel. If RUNTESTFLAGS is |
| 132 # not empty, then by default the tests will be serialized. This can | 133 # not empty, then by default the tests will be serialized. This can |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 if [ -d $$dir ] ; then \ | 208 if [ -d $$dir ] ; then \ |
| 208 (rootme=`pwd`/ ; export rootme ; \ | 209 (rootme=`pwd`/ ; export rootme ; \ |
| 209 rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \ | 210 rootsrc=`cd $(srcdir); pwd`/ ; export rootsrc ; \ |
| 210 cd $$dir; $(MAKE) $(TARGET_FLAGS_TO_PASS)); \ | 211 cd $$dir; $(MAKE) $(TARGET_FLAGS_TO_PASS)); \ |
| 211 fi; \ | 212 fi; \ |
| 212 done | 213 done |
| 213 | 214 |
| 214 clean mostlyclean: | 215 clean mostlyclean: |
| 215 -rm -f *~ core *.o a.out xgdb *.x *.grt bigcore.corefile .gdb_history | 216 -rm -f *~ core *.o a.out xgdb *.x *.grt bigcore.corefile .gdb_history |
| 216 -rm -f core.* *.tf *.cl *.py tracecommandsscript copy1.txt zzz-gdbscript | 217 -rm -f core.* *.tf *.cl *.py tracecommandsscript copy1.txt zzz-gdbscript |
| 218 -rm -f *.dwo *.dwp |
| 217 if [ x"${ALL_SUBDIRS}" != x ] ; then \ | 219 if [ x"${ALL_SUBDIRS}" != x ] ; then \ |
| 218 for dir in ${ALL_SUBDIRS}; \ | 220 for dir in ${ALL_SUBDIRS}; \ |
| 219 do \ | 221 do \ |
| 220 echo "$$dir:"; \ | 222 echo "$$dir:"; \ |
| 221 if [ -d $$dir ]; then \ | 223 if [ -d $$dir ]; then \ |
| 222 (cd $$dir; $(MAKE) clean); \ | 224 (cd $$dir; $(MAKE) clean); \ |
| 223 fi; \ | 225 fi; \ |
| 224 done ; \ | 226 done ; \ |
| 225 else true; fi | 227 else true; fi |
| 226 | 228 |
| (...skipping 13 matching lines...) Expand all Loading... |
| 240 | 242 |
| 241 Makefile : Makefile.in config.status $(host_makefile_frag) | 243 Makefile : Makefile.in config.status $(host_makefile_frag) |
| 242 $(SHELL) config.status | 244 $(SHELL) config.status |
| 243 | 245 |
| 244 config.status: configure | 246 config.status: configure |
| 245 $(SHELL) config.status --recheck | 247 $(SHELL) config.status --recheck |
| 246 | 248 |
| 247 TAGS: force | 249 TAGS: force |
| 248 find $(srcdir) -name '*.exp' -print | \ | 250 find $(srcdir) -name '*.exp' -print | \ |
| 249 etags --regex='/proc[ \t]+\([^ \t]+\)/\1/' - | 251 etags --regex='/proc[ \t]+\([^ \t]+\)/\1/' - |
| OLD | NEW |