1129470Spjd# General rules that all rs6000/ targets must have. 2129470Spjd# 3216470Sobrien# Copyright (C) 1995-2020 Free Software Foundation, Inc. 4129512Spjd# 5129512Spjd# This file is part of GCC. 6# 7# GCC 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, or (at your option) 10# any later version. 11# 12# GCC 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 GCC; see the file COPYING3. If not see 19# <http://www.gnu.org/licenses/>. 20 21TM_H += $(srcdir)/config/rs6000/rs6000-builtin.def 22TM_H += $(srcdir)/config/rs6000/rs6000-cpus.def 23TM_H += $(srcdir)/config/rs6000/rs6000-modes.h 24PASSES_EXTRA += $(srcdir)/config/rs6000/rs6000-passes.def 25 26rs6000-c.o: $(srcdir)/config/rs6000/rs6000-c.c 27 $(COMPILE) $< 28 $(POSTCOMPILE) 29 30rs6000-string.o: $(srcdir)/config/rs6000/rs6000-string.c 31 $(COMPILE) $< 32 $(POSTCOMPILE) 33 34rs6000-p8swap.o: $(srcdir)/config/rs6000/rs6000-p8swap.c 35 $(COMPILE) $< 36 $(POSTCOMPILE) 37 38rs6000-d.o: $(srcdir)/config/rs6000/rs6000-d.c 39 $(COMPILE) $< 40 $(POSTCOMPILE) 41 42rs6000-logue.o: $(srcdir)/config/rs6000/rs6000-logue.c 43 $(COMPILE) $< 44 $(POSTCOMPILE) 45 46rs6000-call.o: $(srcdir)/config/rs6000/rs6000-call.c 47 $(COMPILE) $< 48 $(POSTCOMPILE) 49 50$(srcdir)/config/rs6000/rs6000-tables.opt: $(srcdir)/config/rs6000/genopt.sh \ 51 $(srcdir)/config/rs6000/rs6000-cpus.def 52 @echo "NOT REBUILDING $@" 53NetBSD_DISABLED_rs6000-tables.opt: 54 $(SHELL) $(srcdir)/config/rs6000/genopt.sh $(srcdir)/config/rs6000 > \ 55 $(srcdir)/config/rs6000/rs6000-tables.opt 56 57# The rs6000 backend doesn't cause warnings in these files. 58insn-conditions.o-warn = 59 60MD_INCLUDES = $(srcdir)/config/rs6000/rs64.md \ 61 $(srcdir)/config/rs6000/mpc.md \ 62 $(srcdir)/config/rs6000/40x.md \ 63 $(srcdir)/config/rs6000/440.md \ 64 $(srcdir)/config/rs6000/601.md \ 65 $(srcdir)/config/rs6000/603.md \ 66 $(srcdir)/config/rs6000/6xx.md \ 67 $(srcdir)/config/rs6000/7xx.md \ 68 $(srcdir)/config/rs6000/7450.md \ 69 $(srcdir)/config/rs6000/8540.md \ 70 $(srcdir)/config/rs6000/e300c2c3.md \ 71 $(srcdir)/config/rs6000/e500mc.md \ 72 $(srcdir)/config/rs6000/power4.md \ 73 $(srcdir)/config/rs6000/power5.md \ 74 $(srcdir)/config/rs6000/power6.md \ 75 $(srcdir)/config/rs6000/power7.md \ 76 $(srcdir)/config/rs6000/power8.md \ 77 $(srcdir)/config/rs6000/power9.md \ 78 $(srcdir)/config/rs6000/power10.md \ 79 $(srcdir)/config/rs6000/cell.md \ 80 $(srcdir)/config/rs6000/a2.md \ 81 $(srcdir)/config/rs6000/predicates.md \ 82 $(srcdir)/config/rs6000/constraints.md \ 83 $(srcdir)/config/rs6000/darwin.md \ 84 $(srcdir)/config/rs6000/sync.md \ 85 $(srcdir)/config/rs6000/vector.md \ 86 $(srcdir)/config/rs6000/vsx.md \ 87 $(srcdir)/config/rs6000/altivec.md \ 88 $(srcdir)/config/rs6000/mma.md \ 89 $(srcdir)/config/rs6000/crypto.md \ 90 $(srcdir)/config/rs6000/htm.md \ 91 $(srcdir)/config/rs6000/dfp.md 92