aboutsummaryrefslogtreecommitdiff
path: root/openssl
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2019-03-06 16:57:32 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2019-03-08 17:13:52 +0300
commitc0a6b9751fa7a79a4879c1b7f6512d44058c236b (patch)
tree0e9a829fc403d2b9a68d20407328f9e6e3df6d37 /openssl
parente4c8b0e95b50e933ce32d2851a5bade8a0fd41a1 (diff)
Use new setup for unit tests
Diffstat (limited to 'openssl')
-rw-r--r--openssl/buildfile20
1 files changed, 14 insertions, 6 deletions
diff --git a/openssl/buildfile b/openssl/buildfile
index c888dc9..a0bd505 100644
--- a/openssl/buildfile
+++ b/openssl/buildfile
@@ -4,17 +4,25 @@
import libs = libbutl%lib{butl}
-./: exe{openssl-client} exe{openssl-agent-pkcs11}
+./: exe{openssl-client}: client/cxx{client} client/libue{openssl}
-exe{openssl-client}: client/{hxx ixx txx cxx}{* -options} \
- client/{hxx ixx cxx}{options} libue{openssl}
+client/
+{
+ libue{openssl}: {hxx ixx txx cxx}{* -client -options -*.test...} \
+ {hxx ixx cxx}{options} \
+ ../libue{openssl}
+}
+
+./: exe{openssl-agent-pkcs11}: agent/pkcs11/cxx{agent} \
+ agent/pkcs11/libue{openssl}
-exe{openssl-agent-pkcs11}: agent/pkcs11/cxx{agent} agent/pkcs11/libue{openssl}
agent/pkcs11/
{
- libue{openssl}: {hxx ixx txx cxx}{* -agent -options -*.test...} \
- {hxx ixx cxx}{options} h{pkcs11} ../../libue{openssl}
+ libue{openssl}: {hxx ixx txx cxx}{* -agent -options -*.test...} \
+ {hxx ixx cxx}{options} \
+ h{pkcs11} \
+ ../../libue{openssl}
libue{openssl}: cxx.libs += -ldl
}