summaryrefslogtreecommitdiff
path: root/src/lib/libssl/generate_pkgconfig.sh
diff options
context:
space:
mode:
authormiod <>2014-04-11 22:51:54 +0000
committermiod <>2014-04-11 22:51:54 +0000
commite4e5cfce71aea090d747d436ab48c4717f78c97c (patch)
treeafd4b98775fa2752df82417abdf319a3af0bb439 /src/lib/libssl/generate_pkgconfig.sh
parent3c70ae462fc747402d562cd98a2825922441cdda (diff)
downloadopenbsd-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.sh18
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
61pc_file="${objdir}/libcrypto.pc"
62cat > ${pc_file} << __EOF__
63prefix=/usr
64exec_prefix=\${prefix}
65libdir=\${exec_prefix}/lib
66includedir=\${prefix}/include
67
68Name: OpenSSL-libcrypto
69Description: OpenSSL cryptography library
70Version: ${lib_version}
71Requires:
72Libs: -L\${libdir} -lcrypto
73Cflags: -I\${includedir}
74__EOF__
75
76
77pc_file="${objdir}/libssl.pc" 61pc_file="${objdir}/libssl.pc"
78cat > ${pc_file} << __EOF__ 62cat > ${pc_file} << __EOF__
79prefix=/usr 63prefix=/usr