diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-02-10 22:55:14 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-02-10 22:55:14 +0000 |
commit | bfbcc49c92083563ea5a036a9aeb295fc495af8c (patch) | |
tree | 2bd728d5b8dc8874cedd6d82c1b2f6b0f518b0aa /regress | |
parent | a6524401a41db61ae7519fcd842ce182a1a98505 (diff) |
simplify.
Diffstat (limited to 'regress')
-rw-r--r-- | regress/libexec/ld.so/elf/foo/Makefile | 16 |
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 |