1include_directories(. .. ../../include)
2
3add_library(
4  x509v3
5
6  OBJECT
7
8  # v3_addr.c - disabled by upstream by default.
9  # v3_asid.c - disabled by upstream by default.
10  # v3_ocsp.c - missing OCSP for now.
11
12  pcy_cache.c
13  pcy_data.c
14  pcy_lib.c
15  pcy_map.c
16  pcy_node.c
17  pcy_tree.c
18  v3_akey.c
19  v3_akeya.c
20  v3_alt.c
21  v3_bcons.c
22  v3_bitst.c
23  v3_conf.c
24  v3_cpols.c
25  v3_crld.c
26  v3_enum.c
27  v3_extku.c
28  v3_genn.c
29  v3_ia5.c
30  v3_info.c
31  v3_int.c
32  v3_lib.c
33  v3_ncons.c
34  v3_pci.c
35  v3_pcia.c
36  v3_pcons.c
37  v3_pku.c
38  v3_pmaps.c
39  v3_prn.c
40  v3_purp.c
41  v3_skey.c
42  v3_sxnet.c
43  v3_utl.c
44)
45
46add_executable(
47  v3name_test
48
49  v3nametest.c
50
51  $<TARGET_OBJECTS:test_support>
52)
53
54target_link_libraries(v3name_test crypto)
55
56add_executable(
57  tab_test
58
59  tabtest.c
60
61  $<TARGET_OBJECTS:test_support>
62)
63
64target_link_libraries(tab_test crypto)
65