]>
Commit | Line | Data |
---|---|---|
0ecb606c | 1 | # Copyright (C) 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. |
76a50749 UD |
2 | # This file is part of the GNU C Library. |
3 | # Contributed by Ulrich Drepper <drepper@redhat.com>, 2002. | |
4 | ||
5 | # The GNU C Library is free software; you can redistribute it and/or | |
6 | # modify it under the terms of the GNU Lesser General Public | |
7 | # License as published by the Free Software Foundation; either | |
8 | # version 2.1 of 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 | # Lesser General Public License for more details. | |
14 | ||
15 | # You should have received a copy of the GNU Lesser General Public | |
16 | # License along with the GNU C Library; if not, write to the Free | |
17 | # Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA | |
18 | # 02111-1307 USA. */ | |
19 | ||
20 | ifeq ($(subdir),nptl) | |
7588880f UD |
21 | sysdep_routines += register-atfork unregister-atfork libc_pthread_init \ |
22 | libc_multiple_threads | |
76a50749 | 23 | |
69431c9a | 24 | libpthread-sysdep_routines += pt-fork pthread_mutex_cond_lock |
f9cd7dfd | 25 | |
96c814d3 | 26 | gen-as-const-headers += lowlevelcond.sym lowlevelrwlock.sym \ |
0ecb606c JJ |
27 | lowlevelbarrier.sym unwindbuf.sym \ |
28 | lowlevelrobustlock.sym pthread-pi-defines.sym | |
76a50749 | 29 | endif |
d3c9f895 UD |
30 | |
31 | ifeq ($(subdir),posix) | |
32 | CFLAGS-fork.c = -D_IO_MTSAFE_IO | |
c7baafd5 UD |
33 | CFLAGS-getpid.o = -fomit-frame-pointer |
34 | CFLAGS-getpid.os = -fomit-frame-pointer | |
d3c9f895 | 35 | endif |
0ecb606c JJ |
36 | |
37 | # Needed in both the signal and nptl subdir. | |
38 | CFLAGS-sigaction.c = -DWRAPPER_INCLUDE='<nptl/sigaction.c>' |