Home | History | Annotate | Line # | Download | only in h8300
t-h8300 revision 1.1.1.1.8.2
      1  1.1.1.1.8.2  tls # Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2001, 2002, 2003,
      2  1.1.1.1.8.2  tls # 2004 Free Software Foundation, Inc.
      3  1.1.1.1.8.2  tls #
      4  1.1.1.1.8.2  tls # This file is part of GCC.
      5  1.1.1.1.8.2  tls #
      6  1.1.1.1.8.2  tls # GCC is free software; you can redistribute it and/or modify
      7  1.1.1.1.8.2  tls # it under the terms of the GNU General Public License as published by
      8  1.1.1.1.8.2  tls # the Free Software Foundation; either version 3, or (at your option)
      9  1.1.1.1.8.2  tls # any later version.
     10  1.1.1.1.8.2  tls #
     11  1.1.1.1.8.2  tls # GCC is distributed in the hope that it will be useful,
     12  1.1.1.1.8.2  tls # but WITHOUT ANY WARRANTY; without even the implied warranty of
     13  1.1.1.1.8.2  tls # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     14  1.1.1.1.8.2  tls # GNU General Public License for more details.
     15  1.1.1.1.8.2  tls #
     16  1.1.1.1.8.2  tls # You should have received a copy of the GNU General Public License
     17  1.1.1.1.8.2  tls # along with GCC; see the file COPYING3.  If not see
     18  1.1.1.1.8.2  tls # <http://www.gnu.org/licenses/>.
     19  1.1.1.1.8.2  tls 
     20  1.1.1.1.8.2  tls LIB1ASMSRC = h8300/lib1funcs.asm
     21  1.1.1.1.8.2  tls LIB1ASMFUNCS = _cmpsi2 _ucmpsi2 _divhi3 _divsi3 _mulhi3 _mulsi3 \
     22  1.1.1.1.8.2  tls   _fixunssfsi_asm
     23  1.1.1.1.8.2  tls 
     24  1.1.1.1.8.2  tls LIB2FUNCS_EXTRA = \
     25  1.1.1.1.8.2  tls 	$(srcdir)/config/h8300/clzhi2.c \
     26  1.1.1.1.8.2  tls 	$(srcdir)/config/h8300/ctzhi2.c \
     27  1.1.1.1.8.2  tls 	$(srcdir)/config/h8300/parityhi2.c \
     28  1.1.1.1.8.2  tls 	$(srcdir)/config/h8300/popcounthi2.c \
     29  1.1.1.1.8.2  tls 	$(srcdir)/config/h8300/fixunssfsi.c
     30  1.1.1.1.8.2  tls 
     31  1.1.1.1.8.2  tls # We do not have DF type, so fake out the libgcc2 compilation.
     32  1.1.1.1.8.2  tls TARGET_LIBGCC2_CFLAGS = -DDF=SF
     33  1.1.1.1.8.2  tls 
     34  1.1.1.1.8.2  tls # We want fine grained libraries, so use the new code to build the
     35  1.1.1.1.8.2  tls # floating point emulation libraries.
     36  1.1.1.1.8.2  tls FPBIT = fp-bit.c
     37  1.1.1.1.8.2  tls 
     38  1.1.1.1.8.2  tls fp-bit.c: $(srcdir)/config/fp-bit.c
     39  1.1.1.1.8.2  tls 	echo '#define FLOAT' > fp-bit.c
     40  1.1.1.1.8.2  tls 	echo '#define FLOAT_ONLY' >> fp-bit.c
     41  1.1.1.1.8.2  tls 	echo '#define SMALL_MACHINE' >> fp-bit.c
     42  1.1.1.1.8.2  tls 	echo '#ifdef __H8300__' >> fp-bit.c
     43  1.1.1.1.8.2  tls 	echo '#define CMPtype HItype' >> fp-bit.c
     44  1.1.1.1.8.2  tls 	echo '#else' >> fp-bit.c
     45  1.1.1.1.8.2  tls 	echo '#define CMPtype SItype' >> fp-bit.c
     46  1.1.1.1.8.2  tls 	echo '#endif' >> fp-bit.c
     47  1.1.1.1.8.2  tls 	cat $(srcdir)/config/fp-bit.c >> fp-bit.c
     48  1.1.1.1.8.2  tls 
     49  1.1.1.1.8.2  tls MULTILIB_OPTIONS = mh/ms/msx mn mint32
     50  1.1.1.1.8.2  tls MULTILIB_DIRNAMES = h8300h h8300s h8sx normal int32
     51  1.1.1.1.8.2  tls MULTILIB_EXCEPTIONS = mint32 mn mn/mint32
     52  1.1.1.1.8.2  tls 
     53  1.1.1.1.8.2  tls LIBGCC = stmp-multilib
     54  1.1.1.1.8.2  tls INSTALL_LIBGCC = install-multilib
     55  1.1.1.1.8.2  tls 
     56  1.1.1.1.8.2  tls s-config s-conditions s-flags s-codes s-constants s-emit s-recog \
     57  1.1.1.1.8.2  tls s-opinit s-extract s-peep s-attr s-attrtab s-output: \
     58  1.1.1.1.8.2  tls 	$(srcdir)/config/h8300/mova.md
     59  1.1.1.1.8.2  tls 
     60  1.1.1.1.8.2  tls $(srcdir)/config/h8300/mova.md: $(srcdir)/config/h8300/genmova.sh
     61  1.1.1.1.8.2  tls 	$(SHELL) $(srcdir)/config/h8300/genmova.sh \
     62  1.1.1.1.8.2  tls 	  > $(srcdir)/config/h8300/mova.md
     63