1 # Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006,
2 # 2007, 2011 Free Software Foundation, Inc.
4 # This file is part of GCC.
6 # GCC is free software; you can redistribute it and/or modify
7 # it under the terms of the GNU General Public License as published by
8 # the Free Software Foundation; either version 3, or (at your option)
11 # GCC is distributed in the hope that it will be useful,
12 # but WITHOUT ANY WARRANTY; without even the implied warranty of
13 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 # GNU General Public License for more details.
16 # You should have received a copy of the GNU General Public License
17 # along with GCC; see the file COPYING3. If not see
18 # <http://www.gnu.org/licenses/>.
20 LIB2FUNCS_EXTRA = $(srcdir)/config/rs6000/darwin-tramp.asm \
21 $(srcdir)/config/darwin-64.c \
22 $(srcdir)/config/rs6000/darwin-fpsave.asm \
23 $(srcdir)/config/rs6000/darwin-gpsave.asm \
24 $(srcdir)/config/rs6000/darwin-world.asm
26 LIB2FUNCS_STATIC_EXTRA = \
27 $(srcdir)/config/rs6000/darwin-vecsave.asm
29 # The .asm files above are designed to run on all processors, even though
30 # they use AltiVec instructions.
31 # -Wa is used because -force_cpusubtype_ALL doesn't work with -dynamiclib.
32 # -mmacosx-version-min=10.4 is used to provide compatibility for code from
33 # earlier OSX versions.
35 TARGET_LIBGCC2_CFLAGS += -Wa,-force_cpusubtype_ALL -mmacosx-version-min=10.4
37 darwin-fpsave.o: $(srcdir)/config/rs6000/darwin-asm.h
38 darwin-gpsave.o: $(srcdir)/config/rs6000/darwin-asm.h
39 darwin-tramp.o: $(srcdir)/config/rs6000/darwin-asm.h