Remove win32 support in SoftHSMv2
[aaf/sshsm.git] / SoftHSMv2 / src / lib / Makefile.am
1 MAINTAINERCLEANFILES =          $(srcdir)/Makefile.in
2
3 AM_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 \
11                                 @CRYPTO_INCLUDES@
12
13 lib_LTLIBRARIES =               libsofthsm2.la
14
15 libsofthsm2_la_SOURCES =        access.cpp \
16                                 main.cpp \
17                                 P11Attributes.cpp \
18                                 P11Objects.cpp \
19                                 SoftHSM.cpp
20 libsofthsm2_la_LIBADD =         common/libsofthsm_common.la \
21                                 crypto/libsofthsm_crypto.la \
22                                 data_mgr/libsofthsm_datamgr.la \
23                                 handle_mgr/libsofthsm_handlemgr.la \
24                                 object_store/libsofthsm_objectstore.la \
25                                 session_mgr/libsofthsm_sessionmgr.la \
26                                 slot_mgr/libsofthsm_slotmgr.la
27 libsofthsm2_la_LDFLAGS =        -version-info @VERSION_INFO@ \
28                                 -avoid-version -module
29
30 # Create a convenience library from all the other convenience library; this is
31 # necessary to resolve circular dependencies when statically linking the test
32 # executables
33 noinst_LTLIBRARIES =            libsofthsm_convarch.la
34
35 libsofthsm_convarch_la_SOURCES =
36
37 libsofthsm_convarch_la_LIBADD = $(libsofthsm2_la_LIBADD)
38
39 SUBDIRS =                       common \
40                                 crypto \
41                                 data_mgr \
42                                 object_store \
43                                 session_mgr \
44                                 slot_mgr \
45                                 handle_mgr \
46                                 test
47
48 EXTRA_DIST =                    $(srcdir)/*.h \
49                                 $(srcdir)/pkcs11/*.h