1 # Copyright (C) 2005, 2007 Free Software Foundation, Inc.
3 # This file is part of GCC.
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)
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.
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/>.
19 ## Target part of the Makefile
21 LIB1ASMSRC = bfin/lib1funcs.asm
22 LIB1ASMFUNCS = _divsi3 _udivsi3 _umodsi3 _modsi3
24 EXTRA_PARTS = crtbegin.o crtend.o crti.o crtn.o
29 dp-bit.c: $(srcdir)/config/fp-bit.c
30 cat $(srcdir)/config/fp-bit.c > dp-bit.c
32 fp-bit.c: $(srcdir)/config/fp-bit.c
33 echo '#define FLOAT' > fp-bit.c
34 cat $(srcdir)/config/fp-bit.c >> fp-bit.c
36 # Assemble startup files.
37 $(T)crti.o: $(srcdir)/config/bfin/crti.s $(GCC_PASSES)
38 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
39 -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/bfin/crti.s
41 $(T)crtn.o: $(srcdir)/config/bfin/crtn.s $(GCC_PASSES)
42 $(GCC_FOR_TARGET) $(GCC_CFLAGS) $(MULTILIB_CFLAGS) $(INCLUDES) \
43 -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/bfin/crtn.s