| 1 |
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in |
| 2 |
|
| 3 |
AM_CPPFLAGS = -I$(srcdir)/.. \ |
| 4 |
-I$(srcdir)/../crypto \ |
| 5 |
-I$(srcdir)/../data_mgr \ |
| 6 |
-I$(srcdir)/../pkcs11 |
| 7 |
|
| 8 |
noinst_LTLIBRARIES = libsofthsm_common.la |
| 9 |
libsofthsm_common_la_SOURCES = Configuration.cpp \ |
| 10 |
fatal.cpp \ |
| 11 |
log.cpp \ |
| 12 |
osmutex.cpp \ |
| 13 |
SimpleConfigLoader.cpp \ |
| 14 |
MutexFactory.cpp |
| 15 |
|
| 16 |
man_MANS = softhsm2.conf.5 |
| 17 |
|
| 18 |
EXTRA_DIST = $(srcdir)/CMakeLists.txt \ |
| 19 |
$(srcdir)/*.h \ |
| 20 |
$(srcdir)/softhsm2.conf.5.in |
| 21 |
|
| 22 |
install-data-hook: |
| 23 |
test -d ${DESTDIR}${sysconfdir} || \ |
| 24 |
${INSTALL} -d ${DESTDIR}${sysconfdir} |
| 25 |
test -f ${DESTDIR}${sysconfdir}/softhsm2.conf || \ |
| 26 |
${INSTALL_DATA} ${top_builddir}/src/lib/common/softhsm2.conf ${DESTDIR}${sysconfdir} |
| 27 |
${INSTALL_DATA} ${top_builddir}/src/lib/common/softhsm2.conf ${DESTDIR}${sysconfdir}/softhsm2.conf.sample |
| 28 |
test -d ${DESTDIR}${softhsmtokendir} || \ |
| 29 |
${INSTALL} -d -m 1777 ${DESTDIR}${softhsmtokendir} |