summaryrefslogtreecommitdiff
path: root/libpthread/Makefile
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-01 17:34:42 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-10-01 17:34:42 +0000
commit80f876c3fa73314c3d330284bee4cb87a1842e63 (patch)
tree09d1571d80650f0977e0f183113f7bb6357602bd /libpthread/Makefile
parent23426f4df65727c942bca4412d93b87ebbec41da (diff)
Again, I need to cut down on my merge times and this last set of changes to the makefile structure is killing me. Sorry to put more native thread stuff in, but it cannot be activated in the trunk, so there is no harm.
Diffstat (limited to 'libpthread/Makefile')
-rw-r--r--libpthread/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index 60ad7563d..18292917a 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -19,11 +19,18 @@
TOPDIR=../
include $(TOPDIR)Rules.mak
+ifeq ($(strip $(UCLIBC_HAS_THREADS_NATIVE)),y)
+ALL_SUBDIRS = nptl nptl_db
+DIRS = nptl
+ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y)
+ DIRS += nptl_db
+endif
+else
ALL_SUBDIRS = linuxthreads linuxthreads_db
-
-DIRS=linuxthreads
+DIRS = linuxthreads
ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y)
- DIRS+=linuxthreads_db
+ DIRS += linuxthreads_db
+endif
endif
all: subdirs