| OLD | NEW |
| 1 # Makefile fragment for common parts of all simulators. | 1 # Makefile fragment for common parts of all simulators. |
| 2 # Copyright 1997-2001, 2004-2005, 2007-2012 Free Software Foundation, | 2 # Copyright 1997-2001, 2004-2005, 2007-2012 Free Software Foundation, |
| 3 # Inc. | 3 # Inc. |
| 4 # Contributed by Cygnus Support. | 4 # Contributed by Cygnus Support. |
| 5 | 5 |
| 6 # This program is free software; you can redistribute it and/or modify | 6 # This program is free software; you can redistribute it and/or modify |
| 7 # it under the terms of the GNU General Public License as published by | 7 # it under the terms of the GNU General Public License as published by |
| 8 # the Free Software Foundation; either version 3 of the License, or | 8 # the Free Software Foundation; either version 3 of the License, or |
| 9 # (at your option) any later version. | 9 # (at your option) any later version. |
| 10 # | 10 # |
| (...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 | 511 |
| 512 .NOEXPORT: | 512 .NOEXPORT: |
| 513 MAKEOVERRIDES= | 513 MAKEOVERRIDES= |
| 514 | 514 |
| 515 tags etags: TAGS | 515 tags etags: TAGS |
| 516 | 516 |
| 517 # Macros like EXTERN_SIM_CORE confuse tags. | 517 # Macros like EXTERN_SIM_CORE confuse tags. |
| 518 # And the sim-n-foo.h files create functions that can't be found either. | 518 # And the sim-n-foo.h files create functions that can't be found either. |
| 519 TAGS: force | 519 TAGS: force |
| 520 cd $(srcdir) && \ | 520 cd $(srcdir) && \ |
| 521 » etags --regex '/^\([a-z_]+\) (/\1/' --regex '/^\/[*] TAGS: .*/' \ | 521 » etags --regex '/^\([[:lower:]_]+\) (/\1/' --regex '/^\/[*] TAGS: .*/' \ |
| 522 *.[ch] ../common/*.[ch] | 522 *.[ch] ../common/*.[ch] |
| 523 | 523 |
| 524 clean: $(SIM_EXTRA_CLEAN) | 524 clean: $(SIM_EXTRA_CLEAN) |
| 525 rm -f *.[oa] *~ core | 525 rm -f *.[oa] *~ core |
| 526 rm -f run$(EXEEXT) libsim.a | 526 rm -f run$(EXEEXT) libsim.a |
| 527 rm -f gentmap targ-map.c targ-vals.h stamp-tvals | 527 rm -f gentmap targ-map.c targ-vals.h stamp-tvals |
| 528 if [ ! -f Make-common.in ] ; then \ | 528 if [ ! -f Make-common.in ] ; then \ |
| 529 rm -f $(BUILT_SRC_FROM_COMMON) ; \ | 529 rm -f $(BUILT_SRC_FROM_COMMON) ; \ |
| 530 fi | 530 fi |
| 531 rm -f tmp-mloop.hin tmp-mloop.h tmp-mloop.cin tmp-mloop.c | 531 rm -f tmp-mloop.hin tmp-mloop.h tmp-mloop.cin tmp-mloop.c |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 618 $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" \ | 618 $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" \ |
| 619 $(archfile) "$(EXTRAFILES)" | 619 $(archfile) "$(EXTRAFILES)" |
| 620 | 620 |
| 621 cgen-desc: force | 621 cgen-desc: force |
| 622 $(SHELL) $(srccom)/cgen.sh desc $(srcdir) \ | 622 $(SHELL) $(srccom)/cgen.sh desc $(srcdir) \ |
| 623 $(CGEN) $(CGENDIR) "$(CGENFLAGS)" \ | 623 $(CGEN) $(CGENDIR) "$(CGENFLAGS)" \ |
| 624 $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" \ | 624 $(arch) "$(FLAGS)" $(cpu) "$(isa)" $(mach) "$(SUFFIX)" \ |
| 625 $(archfile) ignored $(opcfile) | 625 $(archfile) ignored $(opcfile) |
| 626 | 626 |
| 627 ## End COMMON_POST_CONFIG_FRAG | 627 ## End COMMON_POST_CONFIG_FRAG |
| OLD | NEW |