-
Notifications
You must be signed in to change notification settings - Fork 0
/
binding.gyp
99 lines (94 loc) · 3.23 KB
/
binding.gyp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
{
"variables": {
"openssl_fips": ""
},
"targets": [
{
"target_name": "sphincsplus",
"sources": [
"bindings/sphincsplus.cpp",
"bindings/avx2/sign.c",
"bindings/avx2/wots.c",
"bindings/avx2/fips202.c",
"bindings/avx2/prg.c",
"bindings/avx2/randombytes.c",
"bindings/avx2/hash.c",
"bindings/avx2/hash_4x.c",
"bindings/avx2/fips202x4.c",
"bindings/avx2/thash.c",
"bindings/avx2/context.h",
"bindings/avx2/merkle.c",
"bindings/avx2/address.c",
"bindings/avx2/wotsx1.c",
"bindings/avx2/utilsx1.c",
"bindings/avx2/utils.c",
"bindings/avx2/XKCP-master/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-unrolling.macros",
"bindings/avx2/XKCP-master/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-opt64.c",
"bindings/avx2/XKCP-master/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-unrolling.macros",
"bindings/avx2/XKCP-master/lib/low/KeccakP-1600/plain-64bits/SnP-Relaned.h"
],
"include_dirs": [
"<!(node -p \"require('node-addon-api').include\")",
"<!(pkg-config --cflags-only-I openssl)",
"bindings/avx2",
"include"
],
"cflags": [
"-std=c11",
"-Wall",
"-mavx2",
"-mbmi2",
"-O3",
"-Wextra",
"-std=c11"
],
"cflags_cxx": [
"-std=c++11",
"-Wall",
"-Wextra"
],
"libraries": [
"<!(pkg-config --libs openssl)"
]
},
{
"target_name": "myaddon",
"sources": [
"bindings/avx2/myaddon.cpp",
"bindings/avx2/sign.c",
"bindings/avx2/randombytes.c",
"bindings/avx2/fips202.c",
"bindings/avx2/wots.c",
"bindings/avx2/prg.c",
"bindings/avx2/hash.c",
"bindings/avx2/hash_4x.c",
"bindings/avx2/fips202x4.c",
"bindings/avx2/thash.c",
"bindings/avx2/context.h",
"bindings/avx2/merkle.c",
"bindings/avx2/address.c",
"bindings/avx2/wotsx1.c",
"bindings/avx2/utilsx1.c",
"bindings/avx2/utils.c",
"bindings/avx2/XKCP-master/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-opt64.c",
"bindings/avx2/XKCP-master/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-unrolling.macros",
"bindings/avx2/XKCP-master/lib/low/KeccakP-1600/plain-64bits/KeccakP-1600-unrolling.macros",
"bindings/avx2/XKCP-master/lib/low/KeccakP-1600/plain-64bits/SnP-Relaned.h"
],
"include_dirs": [
"<!(node -p \"require('node-addon-api').include\")"
],
"cflags": [
"-std=c++11",
"-Wall",
"-mavx2",
"-Wextra"
],
"cflags_cxx": [
"-std=c++11",
"-Wall",
"-Wextra"
]
}
]
}