summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/libexec/ld.so/elf/foo/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/regress/libexec/ld.so/elf/foo/Makefile b/regress/libexec/ld.so/elf/foo/Makefile
index 36802992ead..c0415656770 100644
--- a/regress/libexec/ld.so/elf/foo/Makefile
+++ b/regress/libexec/ld.so/elf/foo/Makefile
@@ -1,17 +1,13 @@
-# $OpenBSD: Makefile,v 1.1 2002/02/05 21:47:23 matthieu Exp $
+# $OpenBSD: Makefile,v 1.2 2002/02/10 22:55:13 fgsch Exp $
-BAR_DIR=${.CURDIR}/../libbar
+.include <bsd.obj.mk>
-.if defined(OBJMACHINE)
-OBJDIR= obj.${MACHINE}
-.else
-OBJDIR= obj
-.endif
+BAR_DIR=${.CURDIR}/../libbar
-BAR_OBJDIR!= if [ -d $(BAR_DIR)/$(OBJDIR) ]; then \
- echo $(BAR_DIR)/$(OBJDIR); \
+BAR_OBJDIR!= if [ -d $(BAR_DIR)/${__objdir} ]; then \
+ echo "$(BAR_DIR)/${__objdir}"; \
else \
- echo $(BAR_DIR); \
+ echo "$(BAR_DIR)"; \
fi
PROG= elfbug