summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorPeter S. Mazinger <ps.m@gmx.net>2005-09-22 09:45:02 +0000
committerPeter S. Mazinger <ps.m@gmx.net>2005-09-22 09:45:02 +0000
commit0929e196d2279df7685558c710359c61d5589199 (patch)
tree5e2228bbede7614f0d74023f6fb11a0e48f23f29 /libpthread
parentc12b5f415798001a303145de0907a24968710a19 (diff)
no check needed in libm/libpthread, we do not recurse anymore if the related option is not set, more Makefile cleanups
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/Makefile6
1 files changed, 0 insertions, 6 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index f6d338bb4..c16485f66 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -66,11 +66,9 @@ endif
endif
$(LIBPTHREAD): subdirs
-ifeq ($(strip $(UCLIBC_HAS_THREADS)),y)
$(INSTALL) -d $(TOPDIR)lib
$(RM) $(TOPDIR)lib/$(LIBPTHREAD)
$(INSTALL) -m 644 $(LIBPTHREAD) $(TOPDIR)lib
-endif
$(LIBTHREAD_DB): subdirs
ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y)
@@ -84,10 +82,7 @@ $(OBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
$(STRIPTOOL) -x -R .note -R .comment $*.o
-$(OBJ): Makefile
-
shared: all
-ifeq ($(strip $(UCLIBC_HAS_THREADS)),y)
$(LD) $(LDFLAGS_NOSTRIP) -soname=$(LIBPTHREAD_SHARED).$(MAJOR_VERSION) \
-o $(LIBPTHREAD_SHARED_FULLNAME) $(SHARED_START_FILES) --whole-archive $(LIBPTHREAD) \
--no-whole-archive $(TOPDIR)libc/misc/internals/interp.o \
@@ -101,7 +96,6 @@ ifeq ($(strip $(UCLIBC_HAS_THREADS)),y)
$(TOPDIR)lib/$(LIBPTHREAD_SHARED)
$(LN) -sf $(LIBPTHREAD_SHARED_FULLNAME) \
$(TOPDIR)lib/$(LIBPTHREAD_SHARED).$(MAJOR_VERSION)
-endif
ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y)
$(LD) $(LIBTHREAD_DB_LDFLAGS) --warn-unresolved-symbols -soname=$(LIBTHREAD_DB_SHARED).1 \
-o $(LIBTHREAD_DB_SHARED_FULLNAME) --whole-archive $(LIBTHREAD_DB) \