summaryrefslogtreecommitdiff
path: root/libpthread/nptl/sysdeps/pthread/Makefile.in
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2010-02-17 16:52:15 -0800
committerAustin Foxley <austinf@cetoncorp.com>2010-02-17 16:55:05 -0800
commit44f3864ffcf205930a0cf7e553ab91f2cb01d02d (patch)
tree59c592810e0ece55af323938d3a5887e4b66206d /libpthread/nptl/sysdeps/pthread/Makefile.in
parentf09e8e4ba639d236322e10130fbc19845f61d59a (diff)
move pthread_barrier_{init,destroy} to sysdeps/pthread
for archs that implement their own like sparc and x86_64 Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread/Makefile.in')
-rw-r--r--libpthread/nptl/sysdeps/pthread/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/Makefile.in b/libpthread/nptl/sysdeps/pthread/Makefile.in
index 303b04f3f..e417e6ce6 100644
--- a/libpthread/nptl/sysdeps/pthread/Makefile.in
+++ b/libpthread/nptl/sysdeps/pthread/Makefile.in
@@ -10,7 +10,8 @@
# pt-longjmp.c in libc and libpthread. For uClibc, they are
# in libc only.
#
-libpthread_CSRC = pthread_barrier_wait.c pthread_cond_broadcast.c \
+libpthread_CSRC = pthread_barrier_init.c pthread_barrier_destroy.c \
+ pthread_barrier_wait.c pthread_cond_broadcast.c \
pthread_cond_signal.c pthread_cond_timedwait.c \
pthread_cond_wait.c pthread_rwlock_rdlock.c \
pthread_rwlock_timedrdlock.c \
@@ -63,6 +64,8 @@ endif
CFLAGS-pt-common = -DNOT_IN_libc=1 $(SSP_ALL_CFLAGS)
+CFLAGS-pthread_barrier_init.c = $(CFLAGS-pt-common) -DIS_IN_libpthread=1
+CFLAGS-pthread_barrier_destroy.c = $(CFLAGS-pt-common) -DIS_IN_libpthread=1
CFLAGS-pthread_barrier_wait.c = -D_GNU_SOURCE $(CFLAGS-pt-common) \
-DIS_IN_libpthread=1
CFLAGS-pthread_cond_broadcast.c = $(CFLAGS-pt-common) -DIS_IN_libpthread=1