diff options
author | miod <> | 2014-04-11 22:51:54 +0000 |
---|---|---|
committer | miod <> | 2014-04-11 22:51:54 +0000 |
commit | e4e5cfce71aea090d747d436ab48c4717f78c97c (patch) | |
tree | afd4b98775fa2752df82417abdf319a3af0bb439 /src/lib/libssl/generate_pkgconfig.sh | |
parent | 3c70ae462fc747402d562cd98a2825922441cdda (diff) | |
download | openbsd-e4e5cfce71aea090d747d436ab48c4717f78c97c.tar.gz openbsd-e4e5cfce71aea090d747d436ab48c4717f78c97c.tar.bz2 openbsd-e4e5cfce71aea090d747d436ab48c4717f78c97c.zip |
Move build machinery for libcrypto from libssl/crypto to libcrypto, as well
as configuration files; split manpages and .pc files between libcrypto and
libssl.
No functional change, only there to make engineering easier, and libcrypto
sources are still found in libssl/src/crypto at the moment.
ok reyk@, also discussed with deraadt@ beck@ and the usual crypto suspects.
Diffstat (limited to 'src/lib/libssl/generate_pkgconfig.sh')
-rw-r--r-- | src/lib/libssl/generate_pkgconfig.sh | 18 |
1 files changed, 1 insertions, 17 deletions
diff --git a/src/lib/libssl/generate_pkgconfig.sh b/src/lib/libssl/generate_pkgconfig.sh index 04bc77e38d..ea050120fb 100644 --- a/src/lib/libssl/generate_pkgconfig.sh +++ b/src/lib/libssl/generate_pkgconfig.sh | |||
@@ -1,6 +1,6 @@ | |||
1 | #!/bin/sh | 1 | #!/bin/sh |
2 | # | 2 | # |
3 | # $OpenBSD: generate_pkgconfig.sh,v 1.7 2011/05/05 20:58:15 jasper Exp $ | 3 | # $OpenBSD: generate_pkgconfig.sh,v 1.8 2014/04/11 22:51:53 miod Exp $ |
4 | # | 4 | # |
5 | # Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org> | 5 | # Copyright (c) 2010,2011 Jasper Lievisse Adriaanse <jasper@openbsd.org> |
6 | # | 6 | # |
@@ -58,22 +58,6 @@ lib_version=$(sed -nE ${version_re} ${version_file}) | |||
58 | # test -n "`pkg-config --cflags openssl`" | 58 | # test -n "`pkg-config --cflags openssl`" |
59 | # don't assume that OpenSSL isn't available. | 59 | # don't assume that OpenSSL isn't available. |
60 | 60 | ||
61 | pc_file="${objdir}/libcrypto.pc" | ||
62 | cat > ${pc_file} << __EOF__ | ||
63 | prefix=/usr | ||
64 | exec_prefix=\${prefix} | ||
65 | libdir=\${exec_prefix}/lib | ||
66 | includedir=\${prefix}/include | ||
67 | |||
68 | Name: OpenSSL-libcrypto | ||
69 | Description: OpenSSL cryptography library | ||
70 | Version: ${lib_version} | ||
71 | Requires: | ||
72 | Libs: -L\${libdir} -lcrypto | ||
73 | Cflags: -I\${includedir} | ||
74 | __EOF__ | ||
75 | |||
76 | |||
77 | pc_file="${objdir}/libssl.pc" | 61 | pc_file="${objdir}/libssl.pc" |
78 | cat > ${pc_file} << __EOF__ | 62 | cat > ${pc_file} << __EOF__ |
79 | prefix=/usr | 63 | prefix=/usr |