Commit | Line | Data |
---|---|---|
fb23d554 SDJ |
1 | # Common object files to include for each host. |
2 | # | |
3 | # Copyright (C) 2015 Free Software Foundation, Inc. | |
4 | # | |
5 | # This file is part of GDB. | |
6 | # | |
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 | |
9 | # the Free Software Foundation; either version 3 of the License, or | |
10 | # (at your option) any later version. | |
11 | # | |
12 | # This program is distributed in the hope that it will be useful, | |
13 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 | # GNU General Public License for more details. | |
16 | # | |
17 | # You should have received a copy of the GNU General Public License | |
18 | # along with this program. If not, see <http://www.gnu.org/licenses/>. | |
19 | ||
20 | # Map host triplet into the common object files to be included by | |
21 | # GDB/gdbserver. This is invoked from the autoconf generated | |
22 | # configure script. | |
23 | ||
24 | # This file sets the following shell variables: | |
25 | # common_host_obs host-specific .o files to include when building | |
26 | # GDB/gdbserver | |
27 | ||
28 | case "${host}" in | |
29 | ||
30 | *-mingw*) common_host_obs=mingw-strerror.o | |
31 | ;; | |
32 | *) | |
33 | common_host_obs=posix-strerror.o | |
34 | ;; | |
35 | ||
36 | esac |