Last change
on this file since 108206 was 108206, checked in by vboxsync, 3 months ago |
openssl-3.3.2: Exported all files to OSE and removed .scm-settings bugref:10757
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.2 KB
|
Line | |
---|
1 | #
|
---|
2 | # To run the demos when linked with a shared library (default) ensure that
|
---|
3 | # libcrypto is on the library path. For example:
|
---|
4 | #
|
---|
5 | # LD_LIBRARY_PATH=../.. ./EVP_PKEY_EC_keygen
|
---|
6 |
|
---|
7 | TESTS = EVP_PKEY_EC_keygen \
|
---|
8 | EVP_PKEY_RSA_keygen \
|
---|
9 | EVP_PKEY_DSA_keygen \
|
---|
10 | EVP_PKEY_DSA_paramgen \
|
---|
11 | EVP_PKEY_DSA_paramvalidate \
|
---|
12 | EVP_PKEY_DSA_paramfromdata
|
---|
13 |
|
---|
14 | CFLAGS = -I../../include -g -Wall
|
---|
15 | LDFLAGS = -L../..
|
---|
16 | LDLIBS = -lcrypto
|
---|
17 |
|
---|
18 | all: $(TESTS)
|
---|
19 |
|
---|
20 | EVP_PKEY_DSA_keygen.o: EVP_PKEY_DSA_keygen.c dsa.inc
|
---|
21 | EVP_PKEY_DSA_paramgen.o: EVP_PKEY_DSA_paramgen.c dsa.inc
|
---|
22 | EVP_PKEY_DSA_paramvalidate.o: EVP_PKEY_DSA_paramvalidate.c dsa.inc
|
---|
23 | EVP_PKEY_DSA_paramfromdata.o: EVP_PKEY_DSA_paramfromdata.c dsa.inc
|
---|
24 |
|
---|
25 | EVP_PKEY_EC_keygen: EVP_PKEY_EC_keygen.o
|
---|
26 | EVP_PKEY_RSA_keygen: EVP_PKEY_RSA_keygen.o
|
---|
27 | EVP_PKEY_DSA_keygen: EVP_PKEY_DSA_keygen.o
|
---|
28 | EVP_PKEY_DSA_paramgen: EVP_PKEY_DSA_paramgen.o
|
---|
29 | EVP_PKEY_DSA_paramvalidate: EVP_PKEY_DSA_paramvalidate.o
|
---|
30 | EVP_PKEY_DSA_paramfromdata: EVP_PKEY_DSA_paramfromdata.o
|
---|
31 |
|
---|
32 | $(TESTS):
|
---|
33 | $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $< $(LDLIBS)
|
---|
34 |
|
---|
35 | clean:
|
---|
36 | $(RM) *.o $(TESTS)
|
---|
37 |
|
---|
38 | .PHONY: test
|
---|
39 | test: all
|
---|
40 | @echo "\nPKEY tests:"
|
---|
41 | @set -e; for tst in $(TESTS); do \
|
---|
42 | echo "\n"$$tst; \
|
---|
43 | LD_LIBRARY_PATH=../.. ./$$tst; \
|
---|
44 | done
|
---|
Note:
See
TracBrowser
for help on using the repository browser.