include.am 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  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/test-VS2022.sln
  26. EXTRA_DIST += wolfcrypt/test/test-VS2022.vcxproj
  27. EXTRA_DIST += wolfcrypt/test/test-VS2022.vcxproj.user
  28. EXTRA_DIST += wolfcrypt/test/README.md
  29. DISTCLEANFILES+= wolfcrypt/test/.libs/testwolfcrypt