NingSun | 0c89b3c | 2018-02-08 08:34:03 -0800 | [diff] [blame^] | 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)/*.h \ |
| 19 | $(srcdir)/softhsm2.conf.5.in |
| 20 | |
| 21 | install-data-hook: |
| 22 | test -d ${DESTDIR}${sysconfdir} || \ |
| 23 | ${INSTALL} -d ${DESTDIR}${sysconfdir} |
| 24 | test -f ${DESTDIR}${sysconfdir}/softhsm2.conf || \ |
| 25 | ${INSTALL_DATA} ${top_builddir}/src/lib/common/softhsm2.conf ${DESTDIR}${sysconfdir} |
| 26 | ${INSTALL_DATA} ${top_builddir}/src/lib/common/softhsm2.conf ${DESTDIR}${sysconfdir}/softhsm2.conf.sample |
| 27 | test -d ${DESTDIR}${softhsmtokendir} || \ |
| 28 | ${INSTALL} -d -m 1777 ${DESTDIR}${softhsmtokendir} |