]>
Commit | Line | Data |
---|---|---|
d1e082c2 | 1 | # Copyright (C) 1993-2013 Free Software Foundation, Inc. |
ad41bd84 JM |
2 | # |
3 | # This file is part of GCC. | |
4 | # | |
5 | # GCC is free software; you can redistribute it and/or modify | |
6 | # it under the terms of the GNU General Public License as published by | |
7 | # the Free Software Foundation; either version 3, or (at your option) | |
8 | # any later version. | |
9 | # | |
10 | # GCC is distributed in the hope that it will be useful, | |
11 | # but WITHOUT ANY WARRANTY; without even the implied warranty of | |
12 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
13 | # GNU General Public License for more details. | |
14 | # | |
15 | # You should have received a copy of the GNU General Public License | |
16 | # along with GCC; see the file COPYING3. If not see | |
17 | # <http://www.gnu.org/licenses/>. | |
18 | ||
e980df8e TT |
19 | sh-c.o: $(srcdir)/config/sh/sh-c.c \ |
20 | $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TM_H) $(TM_P_H) coretypes.h | |
7980bfb8 ILT |
21 | $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ |
22 | $(srcdir)/config/sh/sh-c.c | |
a6ab9fc0 | 23 | |
5d30dc5b OE |
24 | sh_treg_combine.o: $(srcdir)/config/sh/sh_treg_combine.cc \ |
25 | $(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TM_H) $(TM_P_H) coretypes.h | |
26 | $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< | |
27 | ||
aca600aa AS |
28 | DEFAULT_ENDIAN = $(word 1,$(TM_ENDIAN_CONFIG)) |
29 | OTHER_ENDIAN = $(word 2,$(TM_ENDIAN_CONFIG)) | |
da28a3b9 | 30 | |
aca600aa | 31 | MULTILIB_OPTIONS= $(OTHER_ENDIAN) $(TM_MULTILIB_CONFIG) |
1979c66c | 32 | MULTILIB_DIRNAMES= |
157371cf AO |
33 | |
34 | # The separate entries for m2a-nofpu and m2a-single-only with | |
35 | # duplicate base libraries are there to make sure we don't ever use an | |
36 | # m4* multilib for m2a or vice-versa; they are not compatible. This | |
37 | # is why sh2a and sh2a-single need their own multilibs. | |
da28a3b9 JR |
38 | MULTILIB_MATCHES = $(shell \ |
39 | multilibs="$(MULTILIB_OPTIONS)" ; \ | |
78d310c2 R |
40 | for abi in m1,m2,m3,m4-nofpu,m4-100-nofpu,m4-200-nofpu,m4-400,m4-500,m4-340,m4-300-nofpu,m4al,m4a-nofpu \ |
41 | m1,m2,m2a-nofpu \ | |
42 | m2e,m3e,m4-single-only,m4-100-single-only,m4-200-single-only,m4-300-single-only,m4a-single-only \ | |
407f43d7 | 43 | m2a-single,m2a-single-only \ |
78d310c2 R |
44 | m4-single,m4-100-single,m4-200-single,m4-300-single,m4a-single \ |
45 | m4,m4-100,m4-200,m4-300,m4a \ | |
da28a3b9 JR |
46 | m5-32media,m5-compact,m5-32media \ |
47 | m5-32media-nofpu,m5-compact-nofpu,m5-32media-nofpu; do \ | |
48 | subst= ; \ | |
49 | for lib in `echo $$abi|tr , ' '` ; do \ | |
50 | if test "`echo $$multilibs|sed s/$$lib//`" != "$$multilibs"; then \ | |
51 | subst=$$lib ; \ | |
52 | elif test x$$subst != x ; then \ | |
53 | echo $$subst=$$lib ; \ | |
54 | fi \ | |
55 | done \ | |
56 | done) | |
57 | ||
58 | # SH1 only supports big endian. | |
aca600aa AS |
59 | MULTILIB_EXCEPTIONS = ml/m1 ml/m2a* $(TM_MULTILIB_EXCEPTIONS_CONFIG) |
60 | ||
61 | MULTILIB_OSDIRNAMES = \ | |
62 | $(OTHER_ENDIAN)=!$(OTHER_ENDIAN) \ | |
63 | m1=!m1 $(OTHER_ENDIAN)/m1=!$(OTHER_ENDIAN)/m1 \ | |
64 | m2a=!m2a $(OTHER_ENDIAN)/m2a=!$(OTHER_ENDIAN)/m2a \ | |
65 | m2a-nofpu=!m2a-nofpu $(OTHER_ENDIAN)/m2a-nofpu=!$(OTHER_ENDIAN)/m2a-nofpu \ | |
66 | m2a-single-only=!m2a-single-only $(OTHER_ENDIAN)/m2a-single-only=!$(OTHER_ENDIAN)/m2a-single-only \ | |
67 | m2a-single=!m2a-single $(OTHER_ENDIAN)/m2a-single=!$(OTHER_ENDIAN)/m2a-single \ | |
68 | m2e=!m2e $(OTHER_ENDIAN)/m2e=!$(OTHER_ENDIAN)/m2e \ | |
69 | m2=!m2 $(OTHER_ENDIAN)/m2=!$(OTHER_ENDIAN)/m2 \ | |
70 | m3e=!m3e $(OTHER_ENDIAN)/m3e=!$(OTHER_ENDIAN)/m3e \ | |
71 | m3=!m3 $(OTHER_ENDIAN)/m3=!$(OTHER_ENDIAN)/m3 \ | |
72 | m4-nofpu=!m4-nofpu $(OTHER_ENDIAN)/m4-nofpu=!$(OTHER_ENDIAN)/m4-nofpu \ | |
73 | m4-single-only=!m4-single-only $(OTHER_ENDIAN)/m4-single-only=!$(OTHER_ENDIAN)/m4-single-only \ | |
74 | m4-single=!m4-single $(OTHER_ENDIAN)/m4-single=!$(OTHER_ENDIAN)/m4-single \ | |
75 | m4=!m4 $(OTHER_ENDIAN)/m4=!$(OTHER_ENDIAN)/m4 \ | |
76 | m4a-nofpu=!m4a-nofpu $(OTHER_ENDIAN)/m4a-nofpu=!$(OTHER_ENDIAN)/m4a-nofpu \ | |
77 | m4a-single-only=!m4a-single-only $(OTHER_ENDIAN)/m4a-single-only=!$(OTHER_ENDIAN)/m4a-single-only \ | |
78 | m4a-single=!m4a-single $(OTHER_ENDIAN)/m4a-single=!$(OTHER_ENDIAN)/m4a-single \ | |
79 | m4a=!m4a $(OTHER_ENDIAN)/m4a=!$(OTHER_ENDIAN)/m4a \ | |
80 | m4al=!m4al $(OTHER_ENDIAN)/m4al=!$(OTHER_ENDIAN)/m4al \ | |
81 | m5-32media=!m5-32media $(OTHER_ENDIAN)/m5-32media=!$(OTHER_ENDIAN)/m5-32media \ | |
82 | m5-32media-nofpu=!m5-32media-nofpu $(OTHER_ENDIAN)/m5-32media-nofpu=!$(OTHER_ENDIAN)/m5-32media-nofpu \ | |
83 | m5-compact=!m5-compact $(OTHER_ENDIAN)/m5-compact=!$(OTHER_ENDIAN)/m5-compact \ | |
84 | m5-compact-nofpu=!m5-compact-nofpu $(OTHER_ENDIAN)/m5-compact-nofpu=!$(OTHER_ENDIAN)/m5-compact-nofpu \ | |
85 | m5-64media=!m5-64media $(OTHER_ENDIAN)/m5-64media=!$(OTHER_ENDIAN)/m5-64media \ | |
86 | m5-64media-nofpu=!m5-64media-nofpu $(OTHER_ENDIAN)/m5-64media-nofpu=!$(OTHER_ENDIAN)/m5-64media-nofpu | |
00f8ff66 | 87 | |
e2500fed GK |
88 | $(out_object_file): gt-sh.h |
89 | gt-sh.h : s-gtype ; @true | |
90 | ||
157371cf AO |
91 | # Local Variables: |
92 | # mode: Makefile | |
93 | # End: |