2
0

include.am 1.1 KB

123456789101112131415161718192021222324252627282930
  1. # vim:ft=automake
  2. # All paths should be given relative to the root
  3. if BUILD_WOLFCRYPT_TESTS
  4. if !BUILD_LINUXKM
  5. noinst_PROGRAMS+= wolfcrypt/test/testwolfcrypt
  6. if BUILD_CRYPTONLY
  7. check_PROGRAMS+= wolfcrypt/test/testwolfcrypt
  8. endif
  9. noinst_PROGRAMS+= wolfcrypt/test/testwolfcrypt
  10. wolfcrypt_test_testwolfcrypt_SOURCES = wolfcrypt/test/test.c
  11. wolfcrypt_test_testwolfcrypt_LDADD = src/libwolfssl@LIBSUFFIX@.la $(LIB_STATIC_ADD)
  12. wolfcrypt_test_testwolfcrypt_DEPENDENCIES = src/libwolfssl@LIBSUFFIX@.la
  13. noinst_HEADERS += wolfcrypt/test/test.h wolfcrypt/test/test_paths.h.in
  14. endif
  15. endif
  16. if BUILD_WOLFCRYPT_TESTS_LIBS
  17. lib_LTLIBRARIES += wolfcrypt/test/libwolfcrypttest.la
  18. wolfcrypt_test_libwolfcrypttest_la_SOURCES = wolfcrypt/test/test.c
  19. wolfcrypt_test_libwolfcrypttest_la_CPPFLAGS = -DNO_MAIN_DRIVER
  20. wolfcrypt_test_libwolfcrypttest_la_LIBADD = src/libwolfssl@LIBSUFFIX@.la
  21. wolfcrypt_test_libwolfcrypttest_la_DEPENDENCIES = src/libwolfssl@LIBSUFFIX@.la
  22. endif
  23. EXTRA_DIST += wolfcrypt/test/test.sln
  24. EXTRA_DIST += wolfcrypt/test/test.vcproj
  25. EXTRA_DIST += wolfcrypt/test/README.md
  26. DISTCLEANFILES+= wolfcrypt/test/.libs/testwolfcrypt