summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-03-25 15:17:10 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-03-25 15:39:02 +0100
commitabdbaa897b3d7b5b72c8521a38aa84cada242837 (patch)
tree673b21dfdf784d61d1fedec5bea51655f20bd42a /libpthread/linuxthreads.old
parent41d4cc097c3ff663b2379e9740eff4f7946903c5 (diff)
prettify make clean
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libpthread/linuxthreads.old')
-rw-r--r--libpthread/linuxthreads.old/Makefile.in8
-rw-r--r--libpthread/linuxthreads.old/sysdeps/sh64/Makefile.arch4
2 files changed, 6 insertions, 6 deletions
diff --git a/libpthread/linuxthreads.old/Makefile.in b/libpthread/linuxthreads.old/Makefile.in
index 2fed1dafd..f292eea57 100644
--- a/libpthread/linuxthreads.old/Makefile.in
+++ b/libpthread/linuxthreads.old/Makefile.in
@@ -117,10 +117,10 @@ linuxthreads_headers := $(top_builddir)include/pthread.h \
$(linuxthreads_headers): $(wildcard $(addprefix $(top_builddir)include/config/linuxthreads/,old.h new.h))
headers-$(UCLIBC_HAS_THREADS) += $(linuxthreads_headers)
-objclean-y += libpthread_clean
-headers_clean-y += linuxthreads_headers_clean
-linuxthreads_headers_clean:
+objclean-y += CLEAN_libpthread/linuxthreads.old
+headers_clean-y += HEADERCLEAN_libpthread/linuxthreads.old
+HEADERCLEAN_libpthread/linuxthreads.old:
$(do_rm) $(linuxthreads_headers)
-libpthread_clean:
+CLEAN_libpthread/linuxthreads.old:
$(do_rm) $(addprefix $(libpthread_OUT)/*., o os oS a)
diff --git a/libpthread/linuxthreads.old/sysdeps/sh64/Makefile.arch b/libpthread/linuxthreads.old/sysdeps/sh64/Makefile.arch
index ce00f4d8e..ddb56645c 100644
--- a/libpthread/linuxthreads.old/sysdeps/sh64/Makefile.arch
+++ b/libpthread/linuxthreads.old/sysdeps/sh64/Makefile.arch
@@ -17,7 +17,7 @@ libpthread-so-y+=$(libpthread_ARCH_OBJ:.o=.os)
libpthread-multi-y+=$(libpthread_ARCH_SRC)
-objclean-y+=libpthread_arch_clean
+objclean-y += CLEAN_$($(top_builddir),,$(libpthread_ARCH_OUT))
# We need to build as SHcompact for tas..
$(libpthread_ARCH_OBJ): %.o : %.c
@@ -26,5 +26,5 @@ $(libpthread_ARCH_OBJ): %.o : %.c
$(libpthread_ARCH_OBJ:.o=.os): %.os : %.c
$(compile.c:32media=compact)
-libpthread_arch_clean:
+CLEAN_$($(top_builddir),,$(libpthread_ARCH_OUT)):
$(do_rm) $(addprefix $(libpthread_ARCH_OUT)/*., o os)