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