forked from CODeRUS/libaxolotl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
libaxolotl.pro
115 lines (110 loc) · 3.26 KB
/
libaxolotl.pro
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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
TEMPLATE = lib
TARGET = axolotl
isEmpty(CURRENT_RPATH_DIR) {
target.path = /usr/lib
} else {
message("$$TARGET QMAKE_RPATHDIR and path is set to $$CURRENT_RPATH_DIR")
target.path = $$CURRENT_RPATH_DIR
QMAKE_RPATHDIR += $$INSTALL_ROOT$$CURRENT_RPATH_DIR
}
VERSION = 1.0.0
INSTALLS += target
CONFIG += dll link_pkgconfig
PKGCONFIG += openssl libssl libcrypto
#CONFIG += staticlib
DEFINES += LIBAXOLOTL_LIBRARY
LIBS += -L../libcurve25519 -lcurve25519
LIBS += /usr/lib/libprotobuf.a
QMAKE_CFLAGS += -fPIC -DPIC
QMAKE_CXXFLAGS += -fPIC -DPIC
HEADERS += \
duplicatemessageexception.h \
invalidkeyexception.h \
invalidkeyidexception.h \
invalidmessageexception.h \
invalidversionexception.h \
nosessionexception.h \
stalekeyexchangeexception.h \
untrustedidentityexception.h \
ecc/curve.h \
ecc/eckeypair.h \
util/byteutil.h \
ecc/djbec.h \
kdf/derivedmessagesecrets.h \
kdf/derivedrootsecrets.h \
kdf/hkdf.h \
util/keyhelper.h \
identitykey.h \
identitykeypair.h \
state/prekeybundle.h \
state/prekeyrecord.h \
state/LocalStorageProtocol.pb.h \
state/sessionrecord.h \
state/sessionstate.h \
ratchet/messagekeys.h \
ratchet/aliceaxolotlparameters.h \
ratchet/bobaxolotlparameters.h \
ratchet/chainkey.h \
ratchet/ratchetingsession.h \
ratchet/symmetricaxolotlparameters.h \
ratchet/rootkey.h \
state/sessionstore.h \
state/signedprekeyrecord.h \
state/signedprekeystore.h \
groups/ratchet/senderchainkey.h \
groups/ratchet/sendermessagekey.h \
groups/state/senderkeyrecord.h \
groups/state/senderkeystate.h \
groups/state/senderkeystore.h \
protocol/WhisperTextProtocol.pb.h \
protocol/ciphertextmessage.h \
protocol/keyexchangemessage.h \
legacymessageexception.h \
whisperexception.h \
protocol/prekeywhispermessage.h \
protocol/whispermessage.h \
protocol/senderkeymessage.h \
protocol/senderkeydistributionmessage.h \
sessioncipher.h \
sessionbuilder.h \
state/prekeystore.h \
state/axolotlstore.h \
state/identitykeystore.h \
util/medium.h \
axolotl_global.h
SOURCES += \
ecc/curve.cpp \
ecc/eckeypair.cpp \
util/byteutil.cpp \
ecc/djbec.cpp \
kdf/derivedmessagesecrets.cpp \
kdf/derivedrootsecrets.cpp \
kdf/hkdf.cpp \
util/keyhelper.cpp \
identitykey.cpp \
identitykeypair.cpp \
state/prekeybundle.cpp \
state/prekeyrecord.cpp \
state/LocalStorageProtocol.pb.cc \
state/sessionrecord.cpp \
state/sessionstate.cpp \
ratchet/messagekeys.cpp \
ratchet/aliceaxolotlparameters.cpp \
ratchet/bobaxolotlparameters.cpp \
ratchet/chainkey.cpp \
ratchet/ratchetingsession.cpp \
ratchet/symmetricaxolotlparameters.cpp \
ratchet/rootkey.cpp \
state/signedprekeyrecord.cpp \
groups/ratchet/senderchainkey.cpp \
groups/ratchet/sendermessagekey.cpp \
groups/state/senderkeyrecord.cpp \
groups/state/senderkeystate.cpp \
protocol/WhisperTextProtocol.pb.cc \
protocol/keyexchangemessage.cpp \
protocol/prekeywhispermessage.cpp \
protocol/whispermessage.cpp \
protocol/senderkeymessage.cpp \
protocol/senderkeydistributionmessage.cpp \
sessioncipher.cpp \
sessionbuilder.cpp