1# Makefile fragment for building LIBGCC for the Renesas CR16 target. 2# Copyright (C) 2012-2018 Free Software Foundation, Inc. 3# 4# This file is part of GCC. 5# 6# GCC is free software; you can redistribute it and/or modify it 7# under the terms of the GNU General Public License as published 8# by the Free Software Foundation; either version 3, or (at your 9# option) any later version. 10# 11# GCC is distributed in the hope that it will be useful, but 12# WITHOUT ANY WARRANTY; without even the implied warranty of 13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See 14# the GNU General Public License for more details. 15# 16# You should have received a copy of the GNU General Public 17# License along with GCC; see the file COPYING3. If not see 18# <http://www.gnu.org/licenses/>. 19 20LIB1ASMSRC = cr16/lib1funcs.S 21LIB1ASMFUNCS = _mulsi3 _lshrdi3 _muldi3 _divdi3 _udivdi3 _udivmoddi3 \ 22 _umoddi3 _moddi3 23 24LIB2ADD = $(srcdir)/config/cr16/divmodhi3.c \ 25 $(srcdir)/udivmodsi4.c \ 26 $(srcdir)/udivmod.c \ 27 $(srcdir)/divmod.c 28 29LIB2ADDEH = $(srcdir)/config/cr16/unwind-cr16.c 30