diff options
Diffstat (limited to 'src/lib/libssl/Makefile')
| -rw-r--r-- | src/lib/libssl/Makefile | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index 6421aabe34..64b3b5060b 100644 --- a/src/lib/libssl/Makefile +++ b/src/lib/libssl/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.23 2016/09/19 03:25:22 bcook Exp $ | 1 | # $OpenBSD: Makefile,v 1.24 2016/11/04 18:28:58 guenther Exp $ |
| 2 | 2 | ||
| 3 | SUBDIR= man | 3 | SUBDIR= man |
| 4 | PC_FILES=openssl.pc libssl.pc | 4 | PC_FILES=openssl.pc libssl.pc |
| @@ -17,6 +17,9 @@ CFLAGS+= -I${.CURDIR} | |||
| 17 | 17 | ||
| 18 | LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto | 18 | LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto |
| 19 | 19 | ||
| 20 | VERSION_SCRIPT= Symbols.map | ||
| 21 | SYMBOL_LIST= ${.CURDIR}/Symbols.list | ||
| 22 | |||
| 20 | SRCS=\ | 23 | SRCS=\ |
| 21 | s3_srvr.c s3_clnt.c s3_lib.c s3_pkt.c s3_both.c \ | 24 | s3_srvr.c s3_clnt.c s3_lib.c s3_pkt.c s3_both.c \ |
| 22 | s23_srvr.c s23_clnt.c s23_lib.c s23_pkt.c \ | 25 | s23_srvr.c s23_clnt.c s23_lib.c s23_pkt.c \ |
| @@ -46,6 +49,11 @@ includes: | |||
| 46 | eval "$$j"; \ | 49 | eval "$$j"; \ |
| 47 | done; | 50 | done; |
| 48 | 51 | ||
| 52 | ${VERSION_SCRIPT}: ${SYMBOL_LIST} | ||
| 53 | { printf '{\n\tglobal:\n'; \ | ||
| 54 | sed '/^[._a-zA-Z]/s/$$/;/; s/^/ /' ${SYMBOL_LIST}; \ | ||
| 55 | printf '\n\tlocal:\n\t\t*;\n};\n'; } >$@.tmp && mv $@.tmp $@ | ||
| 56 | |||
| 49 | .include <bsd.lib.mk> | 57 | .include <bsd.lib.mk> |
| 50 | 58 | ||
| 51 | all: ${PC_FILES} | 59 | all: ${PC_FILES} |
