| 1 |
282 |
jeremybenn |
# Copyright (C) 2004, 2006, 2008, 2009 Free Software Foundation, Inc.
|
| 2 |
|
|
#
|
| 3 |
|
|
# This file is part of GCC.
|
| 4 |
|
|
#
|
| 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)
|
| 8 |
|
|
# any later version.
|
| 9 |
|
|
#
|
| 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.
|
| 14 |
|
|
#
|
| 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 |
|
|
# .
|
| 18 |
|
|
|
| 19 |
|
|
sh-c.o: $(srcdir)/config/sh/sh-c.c \
|
| 20 |
|
|
$(CONFIG_H) $(SYSTEM_H) $(TREE_H) $(TM_H) $(TM_P_H) coretypes.h
|
| 21 |
|
|
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
| 22 |
|
|
$(srcdir)/config/sh/sh-c.c
|
| 23 |
|
|
|
| 24 |
|
|
symbian-cxx.o: \
|
| 25 |
|
|
$(srcdir)/config/sh/symbian-cxx.c \
|
| 26 |
|
|
$(srcdir)/config/sh/sh-symbian.h \
|
| 27 |
|
|
$(CONFIG_H) $(SYSTEM_H) $(TM_H) $(TREE_H) $(RTL_H) \
|
| 28 |
|
|
toplev.h output.h coretypes.h flags.h expr.h
|
| 29 |
|
|
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
|
| 30 |
|
|
|
| 31 |
|
|
symbian-c.o: \
|
| 32 |
|
|
$(srcdir)/config/sh/symbian-c.c \
|
| 33 |
|
|
$(srcdir)/config/sh/sh-symbian.h \
|
| 34 |
|
|
$(CONFIG_H) $(SYSTEM_H) $(TM_H) $(TREE_H) $(RTL_H) \
|
| 35 |
|
|
toplev.h output.h coretypes.h flags.h expr.h
|
| 36 |
|
|
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
|
| 37 |
|
|
|
| 38 |
|
|
symbian-base.o: \
|
| 39 |
|
|
$(srcdir)/config/sh/symbian-base.c \
|
| 40 |
|
|
$(srcdir)/config/sh/sh-symbian.h \
|
| 41 |
|
|
$(CONFIG_H) $(SYSTEM_H) $(TM_H) $(TREE_H) $(RTL_H) \
|
| 42 |
|
|
toplev.h output.h coretypes.h flags.h expr.h
|
| 43 |
|
|
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $<
|
| 44 |
|
|
|
| 45 |
|
|
|
| 46 |
|
|
LIB1ASMSRC = sh/lib1funcs.asm
|
| 47 |
|
|
LIB1ASMFUNCS = _ashiftrt _ashiftrt_n _ashiftlt _lshiftrt _movstr \
|
| 48 |
|
|
_movstr_i4 _mulsi3 _sdivsi3 _sdivsi3_i4 _udivsi3 _udivsi3_i4 _set_fpscr \
|
| 49 |
|
|
$(LIB1ASMFUNCS_CACHE)
|
| 50 |
|
|
|
| 51 |
|
|
# We want fine grained libraries, so use the new code to build the
|
| 52 |
|
|
# floating point emulation libraries.
|
| 53 |
|
|
FPBIT = fp-bit.c
|
| 54 |
|
|
DPBIT = dp-bit.c
|
| 55 |
|
|
|
| 56 |
|
|
dp-bit.c: $(srcdir)/config/fp-bit.c
|
| 57 |
|
|
cat $(srcdir)/config/fp-bit.c >> dp-bit.c
|
| 58 |
|
|
|
| 59 |
|
|
fp-bit.c: $(srcdir)/config/fp-bit.c
|
| 60 |
|
|
echo '#define FLOAT' > fp-bit.c
|
| 61 |
|
|
cat $(srcdir)/config/fp-bit.c >> fp-bit.c
|
| 62 |
|
|
|
| 63 |
|
|
$(T)crt1.o: $(srcdir)/config/sh/crt1.asm $(GCC_PASSES)
|
| 64 |
|
|
$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crt1.o -x assembler-with-cpp $(srcdir)/config/sh/crt1.asm
|
| 65 |
|
|
$(T)crti.o: $(srcdir)/config/sh/crti.asm $(GCC_PASSES)
|
| 66 |
|
|
$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crti.o -x assembler-with-cpp $(srcdir)/config/sh/crti.asm
|
| 67 |
|
|
$(T)crtn.o: $(srcdir)/config/sh/crtn.asm $(GCC_PASSES)
|
| 68 |
|
|
$(GCC_FOR_TARGET) $(MULTILIB_CFLAGS) -c -o $(T)crtn.o -x assembler-with-cpp $(srcdir)/config/sh/crtn.asm
|
| 69 |
|
|
|
| 70 |
|
|
$(out_object_file): gt-sh.h
|
| 71 |
|
|
gt-sh.h : s-gtype ; @true
|
| 72 |
|
|
|
| 73 |
|
|
symbian.o: $(srcdir)/config/sh/symbian.c $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) \
|
| 74 |
|
|
$(RTL_H) output.h flags.h $(TREE_H) expr.h toplev.h $(TM_P_H)
|
| 75 |
|
|
$(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
|
| 76 |
|
|
$(srcdir)/config/sh/symbian.c
|
| 77 |
|
|
|
| 78 |
|
|
|
| 79 |
|
|
# Local Variables:
|
| 80 |
|
|
# mode: Makefile
|
| 81 |
|
|
# End:
|