]> git.ipfire.org Git - thirdparty/glibc.git/blob - sysdeps/alpha/Makefile
Kill setjmp_aux.
[thirdparty/glibc.git] / sysdeps / alpha / Makefile
1 # Copyright (C) 1993, 1994, 1995, 1996, 1997 Free Software Foundation, Inc.
2 # This file is part of the GNU C Library.
3 # Contributed by Brendan Kehoe (brendan@zen.org).
4
5 # The GNU C Library is free software; you can redistribute it and/or
6 # modify it under the terms of the GNU Library General Public License
7 # as published by the Free Software Foundation; either version 2 of
8 # the License, or (at your option) any later version.
9
10 # The GNU C Library 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 GNU
13 # Library General Public License for more details.
14
15 # You should have received a copy of the GNU Library General Public
16 # License along with the GNU C Library; see the file COPYING.LIB. If not,
17 # write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 # Boston, MA 02111-1307, USA.
19
20 ifeq ($(subdir),gmon)
21 sysdep_routines += _mcount
22 endif
23
24 ifeq ($(subdir),gnulib)
25 sysdep_routines += $(divrem)
26 endif
27
28 ifeq ($(subdir),string)
29 sysdep_routines += stxcpy stxncpy
30 endif
31
32 ifeq ($(subdir),elf)
33 # The ld.so startup code cannot use literals until it self-relocates.
34 ifeq ($(elf),yes)
35 CFLAGS-rtld.c = -mbuild-constants
36 endif
37 # The rest of ld.so shouldn't use FP regs for block moves so
38 # that the lazy link trampoline doesn't have to save them.
39 sysdep-CFLAGS += -mno-fp-regs
40 endif
41
42 divrem := divl divq reml remq
43
44 # For now, build everything with full IEEE math support.
45 # TODO: build separate libm and libm-ieee.
46 sysdep-CFLAGS += -mieee