107 |
bj |
1 |
// -*- MPC -*-
|
|
|
2 |
// $Id: openssl.mpb 107 2005-09-02 16:42:23Z bj $
|
|
|
3 |
|
|
|
4 |
// openssl is a completely different feature than ssl.
|
|
|
5 |
// Currently ssl uses openssl, and openssl is enabled by
|
|
|
6 |
// default. If we ever add a new ssl library, then you
|
|
|
7 |
// would likely enable only one ssl library feature.
|
|
|
8 |
feature(openssl) {
|
|
|
9 |
includes += $(SSL_ROOT)/include
|
|
|
10 |
libpaths += $(SSL_ROOT)/lib
|
|
|
11 |
|
|
|
12 |
specific(gnuace, make, sle, automake, ghs) {
|
|
|
13 |
lit_libs += ssl crypto
|
|
|
14 |
|
|
|
15 |
// Some Linux OpenSSL installations compile in Kerberos support. Add
|
|
|
16 |
// the Kerberos include path to preprocessor include path.
|
|
|
17 |
includes += /usr/kerberos/include
|
|
|
18 |
} else {
|
|
|
19 |
lit_libs += libeay32 ssleay32
|
|
|
20 |
includes += $(SSL_ROOT)/inc32
|
|
|
21 |
libpaths += $(SSL_ROOT)/out32dll $(SSL_ROOT)/out32
|
|
|
22 |
}
|
|
|
23 |
|
|
|
24 |
// Some prepackaged installations of OpenSSL have libraries in different
|
|
|
25 |
// locations.
|
|
|
26 |
specific(bmake) {
|
|
|
27 |
libpaths += $(SSL_ROOT)/lib/Builder5
|
|
|
28 |
}
|
|
|
29 |
specific(vc6, vc7, vc71, vc8) {
|
|
|
30 |
libpaths += $(SSL_ROOT)/lib/VC
|
|
|
31 |
}
|
|
|
32 |
}
|