diff options
author | espie <> | 1999-03-12 17:31:01 +0000 |
---|---|---|
committer | espie <> | 1999-03-12 17:31:01 +0000 |
commit | 33bdaa3a00a8b55e1a86100fcb7419c4c3491269 (patch) | |
tree | bdc0b5cc0b2b027fbca0db54bd3f4bd7198b2557 /src | |
parent | 50854d4d72798c6d06002251eee0a8454f4cf0ad (diff) | |
download | openbsd-33bdaa3a00a8b55e1a86100fcb7419c4c3491269.tar.gz openbsd-33bdaa3a00a8b55e1a86100fcb7419c4c3491269.tar.bz2 openbsd-33bdaa3a00a8b55e1a86100fcb7419c4c3491269.zip |
Fix various nonsense.
- add $OpenBSD$ tag
- () fork subshell... wasteful when unnecessary
- chain commands using &&, not ;, so that you retrieve status
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/Makefile.bsd-wrapper | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/lib/libssl/Makefile.bsd-wrapper b/src/lib/libssl/Makefile.bsd-wrapper index 4432a31e1a..bb64e76798 100644 --- a/src/lib/libssl/Makefile.bsd-wrapper +++ b/src/lib/libssl/Makefile.bsd-wrapper | |||
@@ -1,4 +1,5 @@ | |||
1 | # Build wrapper for SSLeay. | 1 | # Build wrapper for SSLeay. |
2 | # $OpenBSD: Makefile.bsd-wrapper,v 1.7 1999/03/12 17:31:01 espie Exp $ | ||
2 | 3 | ||
3 | # Our lndir is hacked; specify a full path to avoid potential conflicts | 4 | # Our lndir is hacked; specify a full path to avoid potential conflicts |
4 | # with the one installed with X11. | 5 | # with the one installed with X11. |
@@ -55,29 +56,29 @@ SSL_SRC=src | |||
55 | .endif | 56 | .endif |
56 | 57 | ||
57 | all: prereq | 58 | all: prereq |
58 | (cd ${.OBJDIR}; ${MAKE}) | 59 | cd ${.OBJDIR} && ${MAKE} |
59 | 60 | ||
60 | includes: prereq | 61 | includes: prereq |
61 | (cd ${.OBJDIR}; ${MAKE} includes) | 62 | cd ${.OBJDIR} && ${MAKE} includes |
62 | 63 | ||
63 | prereq: ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h | 64 | prereq: ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h |
64 | 65 | ||
65 | install: | 66 | install: |
66 | (cd ${.OBJDIR}; ${MAKE} install) | 67 | cd ${.OBJDIR} && ${MAKE} install |
67 | 68 | ||
68 | ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h : ${.OBJDIR}/${SSL_SRC}/Makefile.ssl | 69 | ${.OBJDIR}/${SSL_SRC}/crypto/md2/md2.h : ${.OBJDIR}/${SSL_SRC}/Makefile.ssl |
69 | (cd ${.OBJDIR}/${SSL_SRC}; /usr/bin/perl Configure ${SSLCONF}) | 70 | cd ${.OBJDIR}/${SSL_SRC} && /usr/bin/perl Configure ${SSLCONF} |
70 | 71 | ||
71 | .if !exists(${.OBJDIR}/${SSL_SRC}/Makefile.ssl) | 72 | .if !exists(${.OBJDIR}/${SSL_SRC}/Makefile.ssl) |
72 | ${.OBJDIR}/${SSL_SRC}/Makefile.ssl: ${.CURDIR}/${SSL_SRC}/Makefile.ssl | 73 | ${.OBJDIR}/${SSL_SRC}/Makefile.ssl: ${.CURDIR}/${SSL_SRC}/Makefile.ssl |
73 | (${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}) | 74 | ${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} |
74 | .endif | 75 | .endif |
75 | 76 | ||
76 | clean: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl | 77 | clean: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl |
77 | (cd ${.OBJDIR}; ${MAKE} clean) | 78 | cd ${.OBJDIR} && ${MAKE} clean |
78 | 79 | ||
79 | cleandir: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl | 80 | cleandir: ${.OBJDIR}/${SSL_SRC}/Makefile.ssl |
80 | (cd ${.OBJDIR}; rm -f ${MUNGEDFILES}; ${MAKE} cleandir) | 81 | cd ${.OBJDIR} && rm -f ${MUNGEDFILES} && ${MAKE} cleandir |
81 | 82 | ||
82 | test: | 83 | test: |
83 | # Nothing here so far... | 84 | # Nothing here so far... |