summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-04-23 20:11:40 +0000
committerEric Andersen <andersen@codepoet.org>2001-04-23 20:11:40 +0000
commitbe032b8f6b6e21150ac72850904a7c94f98750ac (patch)
tree3f68683b3c901b4bbd8ae5808eabfb6749d11768 /ldso
parent66f269d2a51dae6a2cb10f1a9ae4aaeba815219b (diff)
Ignore generated stuff. Add a 'make install' target that works.
-Erik
Diffstat (limited to 'ldso')
-rw-r--r--ldso/Makefile9
-rw-r--r--ldso/ldso/.cvsignore2
-rw-r--r--ldso/libdl/.cvsignore2
-rw-r--r--ldso/util/.cvsignore2
4 files changed, 14 insertions, 1 deletions
diff --git a/ldso/Makefile b/ldso/Makefile
index 23626f5e3..34d36a914 100644
--- a/ldso/Makefile
+++ b/ldso/Makefile
@@ -1,12 +1,19 @@
+TOPDIR=../
+include $(TOPDIR)Rules.mak
include Config.mk
SUBDIRS = util d-link # man
+TARGETDIR=/usr/$(TARGET_ARCH)-linux-uclibc
+
+
all:
set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d ; done
install: all
- sh instldso.sh
+ mkdir -p $(TARGETDIR)/etc
+ cp -a ./d-link/ld-linux-uclibc.so.1 ./d-link/libdl/libdl.so.1 $(TARGETDIR)/lib
+ ./util/ldconfig
clean:
set -e ; for d in $(SUBDIRS) ; do $(MAKE) -C $$d $@ ; done
diff --git a/ldso/ldso/.cvsignore b/ldso/ldso/.cvsignore
new file mode 100644
index 000000000..2b84b754f
--- /dev/null
+++ b/ldso/ldso/.cvsignore
@@ -0,0 +1,2 @@
+ld-linux-uclibc.so.1
+
diff --git a/ldso/libdl/.cvsignore b/ldso/libdl/.cvsignore
new file mode 100644
index 000000000..6a74fc0be
--- /dev/null
+++ b/ldso/libdl/.cvsignore
@@ -0,0 +1,2 @@
+libdl.so.1
+
diff --git a/ldso/util/.cvsignore b/ldso/util/.cvsignore
new file mode 100644
index 000000000..65cb593d4
--- /dev/null
+++ b/ldso/util/.cvsignore
@@ -0,0 +1,2 @@
+ldd
+ldconfig