diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-12 16:12:36 +0000 |
---|---|---|
committer | Peter S. Mazinger <ps.m@gmx.net> | 2005-10-12 16:12:36 +0000 |
commit | 3a7ac9c7a7b4d6181d3cd70a9cb85d93a1938238 (patch) | |
tree | f87aedb508cd30ff8d50b75dbe832d34ac5dad85 /libpthread/Makefile | |
parent | b0c8130cec05f40ce926058d18fbc520b1a0e856 (diff) |
Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
Diffstat (limited to 'libpthread/Makefile')
-rw-r--r-- | libpthread/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile index 96631bfd0..43804795a 100644 --- a/libpthread/Makefile +++ b/libpthread/Makefile @@ -21,7 +21,7 @@ include $(TOPDIR)Rules.mak ALL_SUBDIRS = $(PTNAME) $(PTNAME)_db DIRS = $(PTNAME) -ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y) +ifeq ($(PTHREADS_DEBUG_SUPPORT),y) DIRS += $(PTNAME)_db endif @@ -32,10 +32,10 @@ all: subdirs headers: $(LN) -sf $(PTDIR)/sysdeps/pthread/pthread.h $(TOPDIR)include/ $(LN) -sf $(PTDIR)/semaphore.h $(TOPDIR)include/ -ifeq ($(strip $(PTHREADS_DEBUG_SUPPORT)),y) +ifeq ($(PTHREADS_DEBUG_SUPPORT),y) $(LN) -sf $(PTDIR)_db/thread_db.h $(TOPDIR)include/ endif -ifeq ($(strip $(UCLIBC_HAS_THREADS_NATIVE)),y) +ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) $(LN) -sf ../$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH)/bits/semaphore.h $(TOPDIR)include/bits/ $(LN) -sf ../$(PTDIR)/sysdeps/unix/sysv/linux/$(TARGET_ARCH)/bits/pthreadtypes.h $(TOPDIR)include/bits/ $(LN) -sf ../$(PTDIR)/sysdeps/pthread/bits/libc-lock.h $(TOPDIR)include/bits/ @@ -61,7 +61,7 @@ headers_clean: $(TOPDIR)include/thread_db.h \ $(TOPDIR)include/bits/pthreadtypes.h $(TOPDIR)include/bits/semaphore.h \ $(TOPDIR)include/bits/libc-lock.h $(TOPDIR)include/bits/stdio-lock -ifeq ($(strip $(UCLIBC_HAS_THREADS_NATIVE)),y) +ifeq ($(UCLIBC_HAS_THREADS_NATIVE),y) $(RM) $(PTNAME)/version.h $(PTDIR)/banner.h \ $(PTDIR)/sysdeps/unix/sysv/linux/rtld-libc-lowlevellock.c endif |