From 9325f0b9fa863dfdf8c4d94203a2c7109f09f862 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 27 Apr 2001 07:05:59 +0000 Subject: A few more compilation updates --- ldso/Makefile | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'ldso/Makefile') diff --git a/ldso/Makefile b/ldso/Makefile index bb9328a5c..a93c6f552 100644 --- a/ldso/Makefile +++ b/ldso/Makefile @@ -2,19 +2,18 @@ TOPDIR=../ include Rules.mak SUBDIRS = util d-link libdl # man -TARGETDIR=/usr/$(TARGET_ARCH)-linux-uclibc - all: set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d ; done install: all - mkdir -p $(TARGETDIR)/etc - mkdir -p $(TARGETDIR)/lib - cp -a ./d-link/$(DLINKER).$(LDSO_VMAJOR) \ - ./libdl/$(LIBDL).$(LDSO_VMAJOR) $(TARGETDIR)/lib - ./util/ldconfig + install -d $(INSTALL_DIR)/lib + install -d $(INSTALL_DIR)/etc + install -m 755 ./d-link/$(DLINKER).$(LDSO_VMAJOR) $(INSTALL_DIR)/lib/ + install -m 644 ./libdl/$(LIBDL).$(LDSO_VMAJOR) $(INSTALL_DIR)/lib/ + (cd $(INSTALL_DIR)/lib/;ln -sf $(DLINKER).$(LDSO_VMAJOR) $(DLINKER)) + (cd $(INSTALL_DIR)/lib/;ln -sf $(LIBDL).$(LDSO_VMAJOR) $(LIBDL)) clean: set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d $@ ; done -- cgit v1.2.3