diff options
author | Bob Beck <beck@cvs.openbsd.org> | 1998-10-07 17:51:14 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 1998-10-07 17:51:14 +0000 |
commit | f8a859ebe3f258de7fbe0d4d2aeb24a79148f599 (patch) | |
tree | b845d701408ebfc0440e77d7d09b814d3f19ae53 | |
parent | 3aa884fb6dec3d018b666c9bc81f82634a7fb86d (diff) |
Fix busted BEGIN target
-rw-r--r-- | lib/libssl/Makefile.bsd-wrapper | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/lib/libssl/Makefile.bsd-wrapper b/lib/libssl/Makefile.bsd-wrapper index 20fc0cec1ea..12347cbb975 100644 --- a/lib/libssl/Makefile.bsd-wrapper +++ b/lib/libssl/Makefile.bsd-wrapper @@ -26,39 +26,31 @@ SSLCONF= OpenBSD-bigendian .include <bsd.own.mk> -#CLEANFILES = crypto/bf/bf_locl.h crypto/bn/bn.h crypto/des/des.h \ -# crypto/des/des_locl.h crypto/rc2/rc2.h crypto/md2/md2.h \ -# crypto/rc4/rc4.h crypto/rc4/rc4_locl.h crypto/idea/idea.h - .if exists(src-patent) SSL_SRC=src-patent .else SSL_SRC=src .endif -.BEGIN: - @if [ ${.CURDIR} != ${.OBJDIR} ]; then ${LNDIR} -s -e obj -e obj.${MACHINE_ARCH} -e Makefile.bsd-wrapper -e Makefile.ssl ${.CURDIR}; fi - -all: ${SSL_SRC}/crypto/md2/md2.h +all: ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h (cd ${.OBJDIR}; ${MAKE}) -includes: ${SSL_SRC}/crypto/md2/md2.h +includes: ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h (cd ${.OBJDIR}; ${MAKE} includes) install: (cd ${.OBJDIR}; ${MAKE} install) -${SSL_SRC}/crypto/md2/md2.h : ${SSL_SRC}/Makefile.ssl +${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h : ${.OBJDIR}/${SSL_SRC}/Makefile.ssl (cd ${.OBJDIR}/${SSL_SRC}; /usr/bin/perl Configure ${SSLCONF}) -${SSL_SRC}/Makefile.ssl: ${.CURDIR}/${SSL_SRC}/Makefile.ssl - (cp ${.CURDIR}/${SSL_SRC}/Makefile.ssl ${.OBJDIR}/${SSL_SRC}) - +${.OBJDIR}/${SSL_SRC}/Makefile.ssl: ${.CURDIR}/${SSL_SRC}/Makefile.ssl + (${LNDIR} -s -e obj -e obj.${MACHINE_ARCH} -e Makefile.bsd-wrapper -e Makefile.ssl ${.CURDIR}; cp ${.CURDIR}/${SSL_SRC}/Makefile.ssl ${.OBJDIR}/${SSL_SRC}) -clean: +clean: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl (cd ${.OBJDIR}; ${MAKE} clean) -cleandir: +cleandir: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl (cd ${.OBJDIR}; rm -f ${SSL_SRC}/crypto/md2/md2.h; ${MAKE} cleandir) test: |