summaryrefslogtreecommitdiff
path: root/libexec/ld.so/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'libexec/ld.so/test/Makefile')
-rw-r--r--libexec/ld.so/test/Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/libexec/ld.so/test/Makefile b/libexec/ld.so/test/Makefile
index d5dbc4c2e57..2266ad0c2fb 100644
--- a/libexec/ld.so/test/Makefile
+++ b/libexec/ld.so/test/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.4 2001/05/14 22:18:23 niklas Exp $
+# $OpenBSD: Makefile,v 1.5 2001/05/28 21:38:14 drahn Exp $
DIR=/usr/src/libexec/ld.so/obj/ld.so
.if (${MACHINE_ARCH} != "mips")
@@ -46,5 +46,13 @@ libB.so: B.o
CCtest: libA.so libB.so tst.o
g++ ${LDFLAGS} -o $@ tst.o libB.so libA.so
+run:
+ @echo running CCtest
+ LD_LIBRARY_PATH=. CCtest
+ @echo running dltest -l bar -f bar
+ LD_LIBRARY_PATH=. dltest -l bar -f bar
+ @echo running dltest -l foo -f foo
+ LD_LIBRARY_PATH=. dltest -l foo -f foo
+
.include <bsd.prog.mk>
.include <bsd.subdir.mk>