| 1 |
MAINTAINERCLEANFILES = $(srcdir)/Makefile.in |
| 2 |
|
| 3 |
AM_CPPFLAGS = -I$(srcdir)/.. \ |
| 4 |
-I$(srcdir)/../.. \ |
| 5 |
-I$(srcdir)/../../common \ |
| 6 |
-I$(srcdir)/../../crypto \ |
| 7 |
-I$(srcdir)/../../data_mgr \ |
| 8 |
-I$(srcdir)/../../pkcs11 \ |
| 9 |
-I$(srcdir)/../../session_mgr \ |
| 10 |
-I$(srcdir)/../../slot_mgr \ |
| 11 |
@CPPUNIT_CFLAGS@ \ |
| 12 |
@CRYPTO_INCLUDES@ |
| 13 |
|
| 14 |
check_PROGRAMS = objstoretest |
| 15 |
|
| 16 |
objstoretest_SOURCES = objstoretest.cpp \ |
| 17 |
DirectoryTests.cpp \ |
| 18 |
UUIDTests.cpp \ |
| 19 |
FileTests.cpp \ |
| 20 |
ObjectFileTests.cpp \ |
| 21 |
OSTokenTests.cpp \ |
| 22 |
ObjectStoreTests.cpp \ |
| 23 |
SessionObjectTests.cpp \ |
| 24 |
SessionObjectStoreTests.cpp |
| 25 |
|
| 26 |
if BUILD_OBJECTSTORE_BACKEND_DB |
| 27 |
objstoretest_SOURCES += DBTests.cpp \ |
| 28 |
DBObjectTests.cpp \ |
| 29 |
DBTokenTests.cpp \ |
| 30 |
DBObjectStoreTests.cpp |
| 31 |
endif |
| 32 |
|
| 33 |
objstoretest_LDADD = ../../libsofthsm_convarch.la |
| 34 |
|
| 35 |
objstoretest_LDFLAGS = @CRYPTO_LIBS@ @CPPUNIT_LIBS@ -no-install -pthread |
| 36 |
|
| 37 |
TESTS = objstoretest |
| 38 |
|
| 39 |
EXTRA_DIST = $(srcdir)/CMakeLists.txt \ |
| 40 |
$(srcdir)/*.h |