| 1 |
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in |
| 2 |
|
| 3 |
AM_CPPFLAGS = -I$(srcdir)/../../lib/crypto \ |
| 4 |
@CRYPTO_INCLUDES@ |
| 5 |
|
| 6 |
dist_man_MANS = softhsm2-keyconv.1 |
| 7 |
|
| 8 |
bin_PROGRAMS = softhsm2-keyconv |
| 9 |
|
| 10 |
softhsm2_keyconv_SOURCES = softhsm2-keyconv.cpp \ |
| 11 |
base64.c |
| 12 |
softhsm2_keyconv_LDADD = @CRYPTO_LIBS@ |
| 13 |
|
| 14 |
# Compile with OpenSSL support |
| 15 |
if WITH_OPENSSL |
| 16 |
softhsm2_keyconv_SOURCES += softhsm2-keyconv-ossl.cpp \ |
| 17 |
../../lib/crypto/OSSLComp.cpp |
| 18 |
endif |
| 19 |
|
| 20 |
# Compile with Botan support |
| 21 |
if WITH_BOTAN |
| 22 |
softhsm2_keyconv_SOURCES += softhsm2-keyconv-botan.cpp |
| 23 |
endif |
| 24 |
|
| 25 |
EXTRA_DIST = $(srcdir)/CMakeLists.txt \ |
| 26 |
$(srcdir)/*.h \ |
| 27 |
$(srcdir)/*.cpp |