summaryrefslogtreecommitdiff
path: root/libutil
diff options
context:
space:
mode:
Diffstat (limited to 'libutil')
-rw-r--r--libutil/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libutil/Makefile b/libutil/Makefile
index e3126e055..b149b0e64 100644
--- a/libutil/Makefile
+++ b/libutil/Makefile
@@ -41,9 +41,9 @@ $(LIBC): ar-target
ar-target: $(OBJS)
$(AR) $(ARFLAGS) $(LIBUTIL) $(OBJS)
- install -d $(TOPDIR)lib
+ $(INSTALL) -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(LIBUTIL)
- install -m 644 $(LIBUTIL) $(TOPDIR)lib/
+ $(INSTALL) -m 644 $(LIBUTIL) $(TOPDIR)lib/
$(OBJS): %.o : %.c
$(CC) $(CFLAGS) -c $< -o $@
@@ -54,9 +54,9 @@ shared: all
-o $(LIBUTIL_SHARED_FULLNAME) --whole-archive $(LIBUTIL) \
--no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \
-L$(TOPDIR)/lib -lc;
- install -d $(TOPDIR)lib
+ $(INSTALL) -d $(TOPDIR)lib
rm -f $(TOPDIR)lib/$(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBUTIL_SHARED).$(MAJOR_VERSION)
- install -m 644 $(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib/;
+ $(INSTALL) -m 644 $(LIBUTIL_SHARED_FULLNAME) $(TOPDIR)lib
(cd $(TOPDIR)lib && ln -sf $(LIBUTIL_SHARED_FULLNAME) $(LIBUTIL_SHARED));
(cd $(TOPDIR)lib && ln -sf $(LIBUTIL_SHARED_FULLNAME) $(LIBUTIL_SHARED).$(MAJOR_VERSION));