blob: eac170424959f1e91369f4f77f9207201a3f3039 [file] [log] [blame]
NingSun0c89b3c2018-02-08 08:34:03 -08001MAINTAINERCLEANFILES = $(srcdir)/Makefile.in
2
3AM_CPPFLAGS = -I$(srcdir)/common \
4 -I$(srcdir)/crypto \
5 -I$(srcdir)/data_mgr \
6 -I$(srcdir)/handle_mgr \
7 -I$(srcdir)/object_store \
8 -I$(srcdir)/pkcs11 \
9 -I$(srcdir)/session_mgr \
10 -I$(srcdir)/slot_mgr \
Pramod Raghavendra Jayathirth4ba28822018-03-27 09:24:56 -070011 -I$(srcdir)/HwInfra \
NingSun0c89b3c2018-02-08 08:34:03 -080012 @CRYPTO_INCLUDES@
13
14lib_LTLIBRARIES = libsofthsm2.la
15
16libsofthsm2_la_SOURCES = access.cpp \
17 main.cpp \
18 P11Attributes.cpp \
19 P11Objects.cpp \
20 SoftHSM.cpp
21libsofthsm2_la_LIBADD = common/libsofthsm_common.la \
22 crypto/libsofthsm_crypto.la \
23 data_mgr/libsofthsm_datamgr.la \
24 handle_mgr/libsofthsm_handlemgr.la \
25 object_store/libsofthsm_objectstore.la \
26 session_mgr/libsofthsm_sessionmgr.la \
Pramod Raghavendra Jayathirth4ba28822018-03-27 09:24:56 -070027 slot_mgr/libsofthsm_slotmgr.la \
28 HwInfra/libsofthsm_hwinfra.la
NingSun0c89b3c2018-02-08 08:34:03 -080029libsofthsm2_la_LDFLAGS = -version-info @VERSION_INFO@ \
30 -avoid-version -module
31
32# Create a convenience library from all the other convenience library; this is
33# necessary to resolve circular dependencies when statically linking the test
34# executables
35noinst_LTLIBRARIES = libsofthsm_convarch.la
36
37libsofthsm_convarch_la_SOURCES =
38
39libsofthsm_convarch_la_LIBADD = $(libsofthsm2_la_LIBADD)
40
41SUBDIRS = common \
42 crypto \
43 data_mgr \
44 object_store \
45 session_mgr \
46 slot_mgr \
Pramod Raghavendra Jayathirth4ba28822018-03-27 09:24:56 -070047 HwInfra \
NingSun0c89b3c2018-02-08 08:34:03 -080048 handle_mgr \
49 test
50
51EXTRA_DIST = $(srcdir)/*.h \
Pramod Raghavendra Jayathirth4ba28822018-03-27 09:24:56 -070052 $(srcdir)/pkcs11/*.h