diff options
author | Bob Beck <beck@cvs.openbsd.org> | 1998-10-19 21:47:12 +0000 |
---|---|---|
committer | Bob Beck <beck@cvs.openbsd.org> | 1998-10-19 21:47:12 +0000 |
commit | ac6d9214fccc9759d3f1dacb92c5c86403731a3b (patch) | |
tree | ac39c4d415fe87d36b8992b6afea0dd6efc0fc99 | |
parent | ac7ca1112571d80867d1a593078edf47a801b2b4 (diff) |
Fix so to not require a make obj - Fix cleandir target to remove the headers
Configure munges from OBJDIR.
-rw-r--r-- | lib/libssl/Makefile.bsd-wrapper | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/libssl/Makefile.bsd-wrapper b/lib/libssl/Makefile.bsd-wrapper index b8189988cd1..05596a4641d 100644 --- a/lib/libssl/Makefile.bsd-wrapper +++ b/lib/libssl/Makefile.bsd-wrapper @@ -32,6 +32,17 @@ SSLCONF= OpenBSD-bigendian .endif +MUNGEDFILES = ${.OBJDIR}/${SSL_SRC}/crypto/bf/bf_locl.h \ + ${.OBJDIR}/${SSL_SRC}/crypto/bn/bn.h \ + ${.OBJDIR}/${SSL_SRC}/crypto/des/des.h \ + ${.OBJDIR}/${SSL_SRC}/crypto/des/des_locl.h \ + ${.OBJDIR}/${SSL_SRC}/crypto/idea/idea.h \ + ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h \ + ${.OBJDIR}/${SSL_SRC}/crypto/rc2/rc2.h \ + ${.OBJDIR}/${SSL_SRC}/crypto/rc4/rc4.h \ + ${.OBJDIR}/${SSL_SRC}/crypto/rc4/rc4_locl.h + + .include <bsd.own.mk> .if exists(src-patent) @@ -52,14 +63,16 @@ install: ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h : ${.OBJDIR}/${SSL_SRC}/Makefile.ssl (cd ${.OBJDIR}/${SSL_SRC}; /usr/bin/perl Configure ${SSLCONF}) +.if !exists(${.OBJDIR}/${SSL_SRC}/Makefile.ssl) ${.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}) +.endif clean: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl (cd ${.OBJDIR}; ${MAKE} clean) cleandir: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl - (cd ${.OBJDIR}; rm -f ${SSL_SRC}/crypto/md2/md2.h; ${MAKE} cleandir) + (cd ${.OBJDIR}; rm -f ${MUNGEDFILES}; ${MAKE} cleandir) test: # Nothing here so far... |