diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-09 17:18:53 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-06-09 17:18:53 +0000 |
commit | f2420be7f1bc792488ae98a266cbd951c51ee336 (patch) | |
tree | 73ad5495dbba91b683eba93b4b2b9961fd2472f5 /libpthread | |
parent | f4c81223c2228bbc34ba7bb63cfb079f9c0bd1e2 (diff) |
- Improve prerequisites and avoid spurious reconfigurations.
More details: http://uclibc.org/lists/uclibc/2008-June/019509.html
Diffstat (limited to 'libpthread')
-rw-r--r-- | libpthread/linuxthreads.old/Makefile.in | 16 | ||||
-rw-r--r-- | libpthread/linuxthreads/Makefile.in | 16 |
2 files changed, 20 insertions, 12 deletions
diff --git a/libpthread/linuxthreads.old/Makefile.in b/libpthread/linuxthreads.old/Makefile.in index fe7503bae..2608599ca 100644 --- a/libpthread/linuxthreads.old/Makefile.in +++ b/libpthread/linuxthreads.old/Makefile.in @@ -108,14 +108,18 @@ $(top_builddir)lib/libpthread.a: $(libpthread-a-y) $(do_ar) $(do_t_strip) -linuxthreads_headers: - $(Q)$(LN) -sf ../$(PTDIR)/sysdeps/pthread/pthread.h $(top_builddir)include/ - $(Q)$(LN) -sf ../$(PTDIR)/semaphore.h $(top_builddir)include/ - $(Q)$(INSTALL) -d $(top_builddir)include/bits - $(Q)$(LN) -sf ../../$(PTDIR)/sysdeps/pthread/bits/pthreadtypes.h $(top_builddir)include/bits/ +include/pthread.h: + $(do_ln) ../$(PTDIR)/sysdeps/pthread/$(@F) $(top_builddir)$@ +include/semaphore.h: + $(do_ln) ../$(PTDIR)/$(@F) $(top_builddir)$@ +include/bits/pthreadtypes.h: | include/bits + $(do_ln) ../../$(PTDIR)/sysdeps/pthread/bits/$(@F) $(top_builddir)$@ +linuxthreads_headers: include/pthread.h include/semaphore.h \ + include/bits/pthreadtypes.h linuxthreads_headers_clean: - $(RM) $(top_builddir)include/pthread.h $(top_builddir)include/semaphore.h \ + $(RM) $(top_builddir)include/pthread.h \ + $(top_builddir)include/semaphore.h \ $(top_builddir)include/bits/pthreadtypes.h libpthread_clean: diff --git a/libpthread/linuxthreads/Makefile.in b/libpthread/linuxthreads/Makefile.in index d51da51fa..5508847c2 100644 --- a/libpthread/linuxthreads/Makefile.in +++ b/libpthread/linuxthreads/Makefile.in @@ -121,14 +121,18 @@ $(top_builddir)lib/libpthread.a: $(libpthread-a-y) $(do_ar) $(do_t_strip) -linuxthreads_headers: - $(Q)$(LN) -sf ../$(PTDIR)/sysdeps/pthread/pthread.h $(top_builddir)include/ - $(Q)$(LN) -sf ../$(PTDIR)/semaphore.h $(top_builddir)include/ - $(Q)$(INSTALL) -d $(top_builddir)include/bits - $(Q)$(LN) -sf ../../$(PTDIR)/sysdeps/pthread/bits/pthreadtypes.h $(top_builddir)include/bits/ +include/pthread.h: + $(do_ln) ../$(PTDIR)/sysdeps/pthread/$(@F) $(top_builddir)$@ +include/semaphore.h: + $(do_ln) ../$(PTDIR)/$(@F) $(top_builddir)$@ +include/bits/pthreadtypes.h: | include/bits + $(do_ln) ../../$(PTDIR)/sysdeps/pthread/bits/$(@F) $(top_builddir)$@ +linuxthreads_headers: include/pthread.h include/semaphore.h \ + include/bits/pthreadtypes.h linuxthreads_headers_clean: - $(RM) $(top_builddir)include/pthread.h $(top_builddir)include/semaphore.h \ + $(RM) $(top_builddir)include/pthread.h \ + $(top_builddir)include/semaphore.h \ $(top_builddir)include/bits/pthreadtypes.h libpthread_clean: |