OSDN Git Service

Ignore generated stuff. Add a 'make install' target that works.
authorEric Andersen <andersen@codepoet.org>
Mon, 23 Apr 2001 20:11:40 +0000 (20:11 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 23 Apr 2001 20:11:40 +0000 (20:11 -0000)
 -Erik

ldso/Makefile
ldso/ldso/.cvsignore [new file with mode: 0644]
ldso/libdl/.cvsignore [new file with mode: 0644]
ldso/util/.cvsignore [new file with mode: 0644]

index 23626f5..34d36a9 100644 (file)
@@ -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 (file)
index 0000000..2b84b75
--- /dev/null
@@ -0,0 +1,2 @@
+ld-linux-uclibc.so.1
+
diff --git a/ldso/libdl/.cvsignore b/ldso/libdl/.cvsignore
new file mode 100644 (file)
index 0000000..6a74fc0
--- /dev/null
@@ -0,0 +1,2 @@
+libdl.so.1
+
diff --git a/ldso/util/.cvsignore b/ldso/util/.cvsignore
new file mode 100644 (file)
index 0000000..65cb593
--- /dev/null
@@ -0,0 +1,2 @@
+ldd
+ldconfig