diff options
author | beck <> | 1998-10-07 17:51:13 +0000 |
---|---|---|
committer | beck <> | 1998-10-07 17:51:13 +0000 |
commit | e98ba461fd1db2f68207f31fa0c6c101b027b626 (patch) | |
tree | 59c073448e5d93a5c920b6f5d32c5567530975d8 /src | |
parent | eef241450768ae9aa29ec28b6f28a56807b82ba4 (diff) | |
download | openbsd-e98ba461fd1db2f68207f31fa0c6c101b027b626.tar.gz openbsd-e98ba461fd1db2f68207f31fa0c6c101b027b626.tar.bz2 openbsd-e98ba461fd1db2f68207f31fa0c6c101b027b626.zip |
Fix busted BEGIN target
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/Makefile.bsd-wrapper | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/src/lib/libssl/Makefile.bsd-wrapper b/src/lib/libssl/Makefile.bsd-wrapper index 20fc0cec1e..12347cbb97 100644 --- a/src/lib/libssl/Makefile.bsd-wrapper +++ b/src/lib/libssl/Makefile.bsd-wrapper | |||
@@ -26,39 +26,31 @@ SSLCONF= OpenBSD-bigendian | |||
26 | 26 | ||
27 | .include <bsd.own.mk> | 27 | .include <bsd.own.mk> |
28 | 28 | ||
29 | #CLEANFILES = crypto/bf/bf_locl.h crypto/bn/bn.h crypto/des/des.h \ | ||
30 | # crypto/des/des_locl.h crypto/rc2/rc2.h crypto/md2/md2.h \ | ||
31 | # crypto/rc4/rc4.h crypto/rc4/rc4_locl.h crypto/idea/idea.h | ||
32 | |||
33 | .if exists(src-patent) | 29 | .if exists(src-patent) |
34 | SSL_SRC=src-patent | 30 | SSL_SRC=src-patent |
35 | .else | 31 | .else |
36 | SSL_SRC=src | 32 | SSL_SRC=src |
37 | .endif | 33 | .endif |
38 | 34 | ||
39 | .BEGIN: | 35 | all: ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h |
40 | @if [ ${.CURDIR} != ${.OBJDIR} ]; then ${LNDIR} -s -e obj -e obj.${MACHINE_ARCH} -e Makefile.bsd-wrapper -e Makefile.ssl ${.CURDIR}; fi | ||
41 | |||
42 | all: ${SSL_SRC}/crypto/md2/md2.h | ||
43 | (cd ${.OBJDIR}; ${MAKE}) | 36 | (cd ${.OBJDIR}; ${MAKE}) |
44 | 37 | ||
45 | includes: ${SSL_SRC}/crypto/md2/md2.h | 38 | includes: ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h |
46 | (cd ${.OBJDIR}; ${MAKE} includes) | 39 | (cd ${.OBJDIR}; ${MAKE} includes) |
47 | 40 | ||
48 | install: | 41 | install: |
49 | (cd ${.OBJDIR}; ${MAKE} install) | 42 | (cd ${.OBJDIR}; ${MAKE} install) |
50 | 43 | ||
51 | ${SSL_SRC}/crypto/md2/md2.h : ${SSL_SRC}/Makefile.ssl | 44 | ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h : ${.OBJDIR}/${SSL_SRC}/Makefile.ssl |
52 | (cd ${.OBJDIR}/${SSL_SRC}; /usr/bin/perl Configure ${SSLCONF}) | 45 | (cd ${.OBJDIR}/${SSL_SRC}; /usr/bin/perl Configure ${SSLCONF}) |
53 | 46 | ||
54 | ${SSL_SRC}/Makefile.ssl: ${.CURDIR}/${SSL_SRC}/Makefile.ssl | 47 | ${.OBJDIR}/${SSL_SRC}/Makefile.ssl: ${.CURDIR}/${SSL_SRC}/Makefile.ssl |
55 | (cp ${.CURDIR}/${SSL_SRC}/Makefile.ssl ${.OBJDIR}/${SSL_SRC}) | 48 | (${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}) |
56 | |||
57 | 49 | ||
58 | clean: | 50 | clean: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl |
59 | (cd ${.OBJDIR}; ${MAKE} clean) | 51 | (cd ${.OBJDIR}; ${MAKE} clean) |
60 | 52 | ||
61 | cleandir: | 53 | cleandir: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl |
62 | (cd ${.OBJDIR}; rm -f ${SSL_SRC}/crypto/md2/md2.h; ${MAKE} cleandir) | 54 | (cd ${.OBJDIR}; rm -f ${SSL_SRC}/crypto/md2/md2.h; ${MAKE} cleandir) |
63 | 55 | ||
64 | test: | 56 | test: |