summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-18 10:07:43 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-18 10:07:43 +0000
commit49f0dd0fcb64746b1ef06e094f2fa8091c23637c (patch)
tree86f964fdcaea6ec3da6036b8f68aff37f4f4dc7b /libpthread
parent1381777907fbd50582e7a5ecd950ca26ca56b26f (diff)
Peter Kjellerstedt writes:
install.patch: * Define $(INSTALL) as install in Rules.mak. * Change all occurrences of install into $(INSTALL). * Change all occurrences of mkdir -p into $(INSTALL) -d. install -d is already used in a number of places so this should not be an additional compatibility problem.
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/libpthread/Makefile b/libpthread/Makefile
index 85fc357d0..b2b1c3481 100644
--- a/libpthread/Makefile
+++ b/libpthread/Makefile
@@ -55,17 +55,17 @@ all: $(LIBPTHREAD) $(LIBTHREAD_DB)
$(LIBPTHREAD): subdirs
@if [ -f $(LIBPTHREAD) ] ; then \
set -e; \
- install -d $(TOPDIR)lib; \
+ $(INSTALL) -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBPTHREAD); \
- install -m 644 $(LIBPTHREAD) $(TOPDIR)lib; \
+ $(INSTALL) -m 644 $(LIBPTHREAD) $(TOPDIR)lib; \
fi;
$(LIBTHREAD_DB): subdirs
@if [ -f $(LIBTHREAD_DB) ] ; then \
set -e; \
- install -d $(TOPDIR)lib; \
+ $(INSTALL) -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBTHREAD_DB); \
- install -m 644 $(LIBTHREAD_DB) $(TOPDIR)lib; \
+ $(INSTALL) -m 644 $(LIBTHREAD_DB) $(TOPDIR)lib; \
fi;
@@ -82,10 +82,10 @@ shared: all
-o $(LIBPTHREAD_SHARED_FULLNAME) $(START_FILES) --whole-archive $(LIBPTHREAD) \
--no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \
-L$(TOPDIR)/lib -lc $(END_FILES); \
- install -d $(TOPDIR)lib; \
+ $(INSTALL) -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBPTHREAD_SHARED_FULLNAME) \
$(TOPDIR)lib/$(LIBPTHREAD_SHARED).$(MAJOR_VERSION); \
- install -m 644 $(LIBPTHREAD_SHARED_FULLNAME) $(TOPDIR)lib; \
+ $(INSTALL) -m 644 $(LIBPTHREAD_SHARED_FULLNAME) $(TOPDIR)lib; \
(cd $(TOPDIR)lib && ln -sf $(LIBPTHREAD_SHARED_FULLNAME) \
$(LIBPTHREAD_SHARED)); \
(cd $(TOPDIR)lib && ln -sf $(LIBPTHREAD_SHARED_FULLNAME) \
@@ -97,10 +97,10 @@ shared: all
-o $(LIBTHREAD_DB_SHARED_FULLNAME) $(START_FILES) --whole-archive $(LIBTHREAD_DB) \
--no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \
-L$(TOPDIR)/lib -lc $(END_FILES); \
- install -d $(TOPDIR)lib; \
+ $(INSTALL) -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBTHREAD_DB_SHARED_FULLNAME) \
$(TOPDIR)lib/$(LIBTHREAD_DB_SHARED).$(MAJOR_VERSION); \
- install -m 644 $(LIBTHREAD_DB_SHARED_FULLNAME) $(TOPDIR)lib; \
+ $(INSTALL) -m 644 $(LIBTHREAD_DB_SHARED_FULLNAME) $(TOPDIR)lib; \
(cd $(TOPDIR)lib && ln -sf $(LIBTHREAD_DB_SHARED_FULLNAME) \
$(LIBTHREAD_DB_SHARED)); \
(cd $(TOPDIR)lib && ln -sf $(LIBTHREAD_DB_SHARED_FULLNAME) \