Makefile.in (COMPILER, [...]): Define.
[gcc.git] / gcc / config / ia64 / t-ia64
index bba12fa9684cacac0ba75762dfd363d6278b1257..db7a8298d1778e3abe34a90efbc1887ff4bb8087 100644 (file)
@@ -1,3 +1,22 @@
+# Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
+# Free Software Foundation, Inc.
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GCC is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3.  If not see
+# <http://www.gnu.org/licenses/>.
+
 LIB1ASMSRC    = ia64/lib1funcs.asm
 
 # We use different names for the DImode div/mod files so that they won't
@@ -23,32 +42,15 @@ SHLIB_MAPFILES += $(srcdir)/config/ia64/libgcc-ia64.ver
 # Effectively disable the crtbegin/end rules using crtstuff.c
 T = disable
 
-# Assemble startup files.
-$(T)crtbegin.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
-       $(GCC_FOR_TARGET) -I. -c -o $(T)crtbegin.o -x assembler-with-cpp \
-               $(srcdir)/config/ia64/crtbegin.asm
-$(T)crtend.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
-       $(GCC_FOR_TARGET) -I. -c -o $(T)crtend.o -x assembler-with-cpp \
-               $(srcdir)/config/ia64/crtend.asm
-$(T)crtbeginS.o: $(srcdir)/config/ia64/crtbegin.asm $(GCC_PASSES)
-       $(GCC_FOR_TARGET) -I. -DSHARED -c -o $(T)crtbeginS.o \
-               -x assembler-with-cpp \
-               $(srcdir)/config/ia64/crtbegin.asm
-$(T)crtendS.o: $(srcdir)/config/ia64/crtend.asm $(GCC_PASSES)
-       $(GCC_FOR_TARGET) -I. -DSHARED -c -o $(T)crtendS.o -x assembler-with-cpp \
-               $(srcdir)/config/ia64/crtend.asm
-$(T)crtfastmath.o: $(srcdir)/config/ia64/crtfastmath.c $(GCC_PASSES)
-       $(GCC_FOR_TARGET) $(LIBGCC2_CFLAGS) -c -o $(T)crtfastmath.o \
-               $(srcdir)/config/ia64/crtfastmath.c
-
 LIB2ADDEH = $(srcdir)/config/ia64/unwind-ia64.c $(srcdir)/unwind-sjlj.c \
   $(srcdir)/unwind-c.c
 
 ia64-c.o: $(srcdir)/config/ia64/ia64-c.c $(CONFIG_H) $(SYSTEM_H) \
     coretypes.h $(TM_H) $(TREE_H) $(CPPLIB_H) $(C_COMMON_H) c-pragma.h toplev.h
-       $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $(srcdir)/config/ia64/ia64-c.c
+       $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+               $(srcdir)/config/ia64/ia64-c.c
 
 # genattrtab generates very long string literals.
 insn-attrtab.o-warn = -Wno-error
 
-ia64.o: debug.h $(PARAMS_H)
+ia64.o: debug.h $(PARAMS_H) sel-sched.h