| OLD | NEW |
| 1 # Makefile template for Configure for simulator common directory | 1 # Makefile template for Configure for simulator common directory |
| 2 # Copyright (C) 1996-1997, 2007-2012 Free Software Foundation, Inc. | 2 # Copyright (C) 1996-1997, 2007-2012 Free Software Foundation, Inc. |
| 3 # | 3 # |
| 4 # This program is free software; you can redistribute it and/or modify | 4 # This program is free software; you can redistribute it and/or modify |
| 5 # it under the terms of the GNU General Public License as published by | 5 # it under the terms of the GNU General Public License as published by |
| 6 # the Free Software Foundation; either version 3 of the License, or | 6 # the Free Software Foundation; either version 3 of the License, or |
| 7 # (at your option) any later version. | 7 # (at your option) any later version. |
| 8 # | 8 # |
| 9 # This program is distributed in the hope that it will be useful, | 9 # This program is distributed in the hope that it will be useful, |
| 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 12 # GNU General Public License for more details. | 12 # GNU General Public License for more details. |
| 13 # | 13 # |
| 14 # You should have received a copy of the GNU General Public License | 14 # You should have received a copy of the GNU General Public License |
| 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. | 15 # along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 16 | 16 |
| 17 default: all | 17 default: all |
| 18 | 18 |
| 19 VPATH = @srcdir@ | 19 VPATH = @srcdir@ |
| 20 srcdir = @srcdir@ | 20 srcdir = @srcdir@ |
| 21 srcroot = $(srcdir)/../.. | 21 abs_srcdir = @abs_srcdir@ |
| 22 srcroot = $(abs_srcdir)/../.. |
| 22 | 23 |
| 23 prefix = @prefix@ | 24 prefix = @prefix@ |
| 24 exec_prefix = @exec_prefix@ | 25 exec_prefix = @exec_prefix@ |
| 25 | 26 |
| 26 host_alias = @host_alias@ | 27 host_alias = @host_alias@ |
| 27 target_alias = @target_alias@ | 28 target_alias = @target_alias@ |
| 28 program_transform_name = @program_transform_name@ | 29 program_transform_name = @program_transform_name@ |
| 29 bindir = @bindir@ | 30 bindir = @bindir@ |
| 30 | 31 |
| 31 libdir = @libdir@ | 32 libdir = @libdir@ |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 # This file is shipped with distributions so we build in the source dir. | 76 # This file is shipped with distributions so we build in the source dir. |
| 76 # Use `make headers' to rebuild. | 77 # Use `make headers' to rebuild. |
| 77 # Note: If gdb releases begin to contain target header files (not a good idea, | 78 # Note: If gdb releases begin to contain target header files (not a good idea, |
| 78 # but if they did ...), targ-vals.def coud be generated at build time. | 79 # but if they did ...), targ-vals.def coud be generated at build time. |
| 79 # An alternative is to slurp in the tables at runtime. | 80 # An alternative is to slurp in the tables at runtime. |
| 80 .PHONY: headers | 81 .PHONY: headers |
| 81 headers: | 82 headers: |
| 82 rootme=`pwd` ; \ | 83 rootme=`pwd` ; \ |
| 83 cd $(srcdir) ; \ | 84 cd $(srcdir) ; \ |
| 84 rm -f nltvals.new ; \ | 85 rm -f nltvals.new ; \ |
| 85 » $(SHELL) $(srcdir)/gennltvals.sh $(SHELL) $(srcroot) "$(CPP_FOR_TARGET)"
> nltvals.new ; \ | 86 » $(SHELL) $(abs_srcdir)/gennltvals.sh $(SHELL) $(srcroot) "$(CPP_FOR_TARG
ET)" > nltvals.new ; \ |
| 86 $(SHELL) $(srcroot)/move-if-change nltvals.new nltvals.def | 87 $(SHELL) $(srcroot)/move-if-change nltvals.new nltvals.def |
| 87 | 88 |
| 88 .c.o: | 89 .c.o: |
| 89 $(CC) -c $< $(ALL_CFLAGS) | 90 $(CC) -c $< $(ALL_CFLAGS) |
| 90 | 91 |
| 91 check: | 92 check: |
| 92 | 93 |
| 93 info: | 94 info: |
| 94 clean-info: | 95 clean-info: |
| 95 install-info: | 96 install-info: |
| (...skipping 30 matching lines...) Expand all Loading... |
| 126 | 127 |
| 127 Makefile: Makefile.in config.status | 128 Makefile: Makefile.in config.status |
| 128 $(SHELL) ./config.status | 129 $(SHELL) ./config.status |
| 129 | 130 |
| 130 config.status: configure | 131 config.status: configure |
| 131 $(SHELL) ./config.status --recheck | 132 $(SHELL) ./config.status --recheck |
| 132 | 133 |
| 133 config.h: stamp-h ; @true | 134 config.h: stamp-h ; @true |
| 134 stamp-h: config.in config.status | 135 stamp-h: config.in config.status |
| 135 CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status | 136 CONFIG_FILES= CONFIG_HEADERS=config.h:config.in $(SHELL) ./config.status |
| OLD | NEW |