diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-04-27 07:05:59 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-04-27 07:05:59 +0000 |
commit | 9325f0b9fa863dfdf8c4d94203a2c7109f09f862 (patch) | |
tree | 8369f8117e2dab6788d3873f029a5cf3d1ff669e /ldso | |
parent | c48ae5155fd2222dd84572a24d77c4d01c81c32a (diff) |
A few more compilation updates
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
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 |