-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.am
166 lines (157 loc) · 3.2 KB
/
Makefile.am
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
lib_LTLIBRARIES = libgtop11dotnet.la
libgtop11dotnet_la_LDFLAGS = -shared
libgtop11dotnet_la_SOURCES = \
algo_des.cpp \
algo_des.h \
algo_md5.cpp \
algo_md5.h \
algo_sha1.cpp \
algo_sha1.h \
algo_sha256.cpp \
algo_sha256.h \
algo_utils.cpp \
algo_utils.h \
Application.cpp \
Application.hpp \
Array.cpp \
Array.hpp \
attrcert.cpp \
attrcert.h \
autogen.sh \
beroctet.cpp \
beroctet.h \
cardmod.h \
CardModuleService.cpp \
CardModuleService.hpp \
cert_utils.cpp \
cert_utils.h \
Configuration.cpp \
Configuration.hpp \
cr_digit.cpp \
cr_digit.h \
cr_global.h \
cr_nn.cpp \
cr_nn.h \
cr_random.cpp \
cr_random.h \
cr_rsa.cpp \
cr_rsa.h \
cryptoki.h \
des.cpp \
des.h \
Device.cpp \
Device.hpp \
DeviceMonitor.cpp \
DeviceMonitor.hpp \
Digest.cpp \
digest.h \
DigestMD5.cpp \
DigestSHA1.cpp \
DigestSHA256.cpp \
Except.h \
ha_config.h \
IDeviceMonitorListener.hpp \
Log.cpp \
Log.hpp \
MarshallerCfg.h \
Marshaller.cpp \
Marshaller.h \
MarshallerUtil.cpp \
MarshallerUtil.h \
md5.h \
MiniDriverAuthentication.cpp \
MiniDriverAuthentication.hpp \
MiniDriverCardCacheFile.cpp \
MiniDriverCardCacheFile.hpp \
MiniDriverContainer.cpp \
MiniDriverContainer.hpp \
MiniDriverContainerMapFile.cpp \
MiniDriverContainerMapFile.hpp \
MiniDriver.cpp \
MiniDriverException.hpp \
MiniDriverFiles.cpp \
MiniDriverFiles.hpp \
MiniDriver.hpp \
MiniDriverPinPolicy.cpp \
MiniDriverPinPolicy.hpp \
Module.cpp \
pbbase.h \
PCSC.cpp \
PCSC.h \
PKCS11.cpp \
PKCS11Exception.hpp \
PCSCMissing.h \
pkcs11f.h \
pkcs11.h \
Pkcs11ObjectCertificate.cpp \
Pkcs11ObjectCertificate.hpp \
Pkcs11ObjectCertificateX509PublicKey.cpp \
Pkcs11ObjectCertificateX509PublicKey.hpp \
Pkcs11ObjectData.cpp \
Pkcs11ObjectData.hpp \
Pkcs11ObjectKey.cpp \
Pkcs11ObjectKey.hpp \
Pkcs11ObjectKeyPrivate.cpp \
Pkcs11ObjectKeyPrivate.hpp \
Pkcs11ObjectKeyPrivateRSA.cpp \
Pkcs11ObjectKeyPrivateRSA.hpp \
Pkcs11ObjectKeyPublic.cpp \
Pkcs11ObjectKeyPublic.hpp \
Pkcs11ObjectKeyPublicRSA.cpp \
Pkcs11ObjectKeyPublicRSA.hpp \
Pkcs11ObjectStorage.cpp \
Pkcs11ObjectStorage.hpp \
pkcs11t.h \
pkcs-11v2-20a3.h \
Session.cpp \
Session.hpp \
sha1.h \
sha256.h \
Slot.cpp \
Slot.hpp \
SmartCardReader.cpp \
SmartCardReaderException.hpp \
SmartCardReader.hpp \
symmalgo.cpp \
symmalgo.h \
tdes.cpp \
tdes.h \
Template.cpp \
Template.hpp \
Timer.cpp \
Timer.hpp \
Token.cpp \
Token.hpp \
util.cpp \
util.h \
version.hpp \
x509cert.cpp \
x509cert.h
AM_CPPFLAGS = -DCRYPTOKI_EXPORTS=1 \
-DUNIX $(PTHREAD_CFLAGS) \
-Wall \
-Wextra \
-pedantic
if ENABLE_SYSTEM_BOOST
else
BOOST_INCLUDES = -I../boost_1_46_1
BOOST_LIB = -L../boost_1_46_1/stage/lib
endif
INCLUDES = \
$(BOOST_INCLUDES) \
$(PCSC_CFLAGS)
LIBS = \
$(PCSC_LIBS) \
-lz \
$(BOOST_LIB) \
-lboost_date_time \
-lboost_filesystem \
-lboost_serialization \
-lboost_system \
-lboost_thread \
-lpthread
EXTRA_DIST = autogen.sh c-mac.sh ./docs/LGPL-2.1 ./config/Gemalto.NET.PKCS11.ini
# see http://wiki.cacert.org/wiki/Pkcs11TaskForce
install-exec-hook:
$(MKDIR_P) $(DESTDIR)/$(prefix)/lib/pkcs11
cd $(DESTDIR)/$(prefix)/lib/pkcs11 ; rm -f libgtop11dotnet.@DYN_LIB_EXT@ ; $(LN_S) ../libgtop11dotnet.@DYN_LIB_EXT@