summaryrefslogtreecommitdiff
path: root/ldso/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-05-04 23:00:34 +0000
committerEric Andersen <andersen@codepoet.org>2001-05-04 23:00:34 +0000
commitb7eec40bb0462b9bbcba42bcac34d098788591db (patch)
treeee59bf18b58f6cb04f4749eb2e0b63ad52702123 /ldso/Makefile
parent91307a366625e3ec7e618f012269130d2e5bba57 (diff)
Another update to make sure things work properly on x86 now.
Diffstat (limited to 'ldso/Makefile')
-rw-r--r--ldso/Makefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/ldso/Makefile b/ldso/Makefile
index 314d22522..bfff102d2 100644
--- a/ldso/Makefile
+++ b/ldso/Makefile
@@ -5,22 +5,22 @@ SUBDIRS = util d-link libdl # man
all:
- @if [ -d d-link/$(TARGET_ARCH) ] ; then \
+ @if [ -d $(TOPDIR)ld.so-1/d-link/$(TARGET_ARCH) ] ; then \
set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d ; done \
fi;
install: all
- @if [ -d d-link/$(TARGET_ARCH) ] ; then \
- 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))
+ if [ -d $(TOPDIR)ld.so-1/d-link/$(TARGET_ARCH) ] ; then \
+ install -d $(INSTALL_DIR)/lib $(INSTALL_DIR)/etc ; \
+ install -m 755 $(TOPDIR)ld.so-1/d-link/$(DLINKER).$(LDSO_VMAJOR) $(INSTALL_DIR)/lib/ ; \
+ install -m 644 $(TOPDIR)ld.so-1/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)) ; \
fi;
-d-link:
- @if [ -d d-link/$(TARGET_ARCH) ] ; then \
- do $(MAKE) -C d-link ; done \
+
+ldso:
+ @if [ -d $(TOPDIR)ld.so-1/d-link/$(TARGET_ARCH) ] ; then \
+ $(MAKE) -C d-link; \
fi;
clean: