xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/epiphany/t-epiphany (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
1# Copyright (C) 1997-2020 Free Software Foundation, Inc.
2# Contributed by Embecosm on behalf of Adapteva, Inc.
3#
4# This file is part of GCC.
5#
6# GCC is free software; you can redistribute it and/or modify
7# it under the terms of the GNU General Public License as published by
8# the Free Software Foundation; either version 3, or (at your option)
9# any later version.
10#
11# GCC is distributed in the hope that it will be useful,
12# but WITHOUT ANY WARRANTY; without even the implied warranty of
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
14# GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License
17# along with GCC; see the file COPYING3.  If not see
18# <http://www.gnu.org/licenses/>.
19
20mode-switch-use.o : $(srcdir)/config/epiphany/mode-switch-use.c \
21   $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TM_P_H) $(RTL_H) \
22   $(TREE_PASS_H) $(INSN_ATTR_H) $(EMIT_RTL_H) $(FUNCTION_H) $(RECOG_H) \
23   insn-config.h $(DF_H)
24	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $<
25
26resolve-sw-modes.o : $(srcdir)/config/epiphany/resolve-sw-modes.c \
27  $(CONFIG_H) $(SYSTEM_H) coretypes.h $(MACHMODE_H) $(TM_H) hard-reg-set.h \
28  $(TM_P_H) $(VEC_H) sbitmap.h $(BASIC_BLOCK_H) $(DF_H) $(RTL_H) \
29  insn-config.h insn-codes.h $(EMIT_RTL_H) $(RECOG_H) $(FUNCTION_H) \
30  insn-attr-common.h $(TREE_PASS_H)
31	$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $<
32
33SPECS = specs.install
34
35specs: specs.install
36	sed -e 's,epiphany_library_extra_spec,epiphany_library_stub_spec,' \
37	-e 's,epiphany_library_build_spec,epiphany_library_extra_spec,' \
38	  < specs.install > $@ ; \
39