summaryrefslogtreecommitdiff
path: root/regress/libexec/ld.so/lazy/libfoo/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/libexec/ld.so/lazy/libfoo/Makefile')
-rw-r--r--regress/libexec/ld.so/lazy/libfoo/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/regress/libexec/ld.so/lazy/libfoo/Makefile b/regress/libexec/ld.so/lazy/libfoo/Makefile
new file mode 100644
index 00000000000..73761a60432
--- /dev/null
+++ b/regress/libexec/ld.so/lazy/libfoo/Makefile
@@ -0,0 +1,18 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2008/01/02 18:36:59 matthieu Exp $
+
+.include <bsd.obj.mk>
+
+LIB= foo
+SRCS= foo.c
+
+BARDIR!= if test -d ${.CURDIR}/../libbar/${__objdir}; then \
+ echo "${.CURDIR}/../libbar/${__objdir}"; \
+ else \
+ echo "${.CURDIR}/../libbar"; \
+ fi
+
+CPPFLAGS= -DBAR=\"${BARDIR}/libbar.so\"
+
+regress: all
+
+.include <bsd.lib.mk>