include.am 1.2 KB

123456789101112131415161718192021222324252627282930
  1. # vim:ft=automake
  2. # All paths should be given relative to the root
  3. if BUILD_WOLFCRYPT_TESTS
  4. if BUILD_BENCHMARK
  5. noinst_PROGRAMS += wolfcrypt/benchmark/benchmark
  6. wolfcrypt_benchmark_benchmark_SOURCES = wolfcrypt/benchmark/benchmark.c
  7. wolfcrypt_benchmark_benchmark_LDADD = src/libwolfssl@LIBSUFFIX@.la $(LIB_STATIC_ADD)
  8. wolfcrypt_benchmark_benchmark_DEPENDENCIES = src/libwolfssl@LIBSUFFIX@.la
  9. noinst_HEADERS += wolfcrypt/benchmark/benchmark.h
  10. endif
  11. endif
  12. if BUILD_WOLFCRYPT_TESTS_LIBS
  13. lib_LTLIBRARIES += wolfcrypt/benchmark/libwolfcryptbench.la
  14. wolfcrypt_benchmark_libwolfcryptbench_la_SOURCES = wolfcrypt/benchmark/benchmark.c
  15. wolfcrypt_benchmark_libwolfcryptbench_la_CPPFLAGS = -DNO_MAIN_DRIVER
  16. wolfcrypt_benchmark_libwolfcryptbench_la_LIBADD = src/libwolfssl@LIBSUFFIX@.la
  17. wolfcrypt_benchmark_libwolfcryptbench_la_DEPENDENCIES = src/libwolfssl@LIBSUFFIX@.la
  18. endif
  19. EXTRA_DIST += wolfcrypt/benchmark/benchmark.sln
  20. EXTRA_DIST += wolfcrypt/benchmark/benchmark.vcproj
  21. EXTRA_DIST += wolfcrypt/benchmark/benchmark-VS2022.sln
  22. EXTRA_DIST += wolfcrypt/benchmark/benchmark-VS2022.vcxproj
  23. EXTRA_DIST += wolfcrypt/benchmark/benchmark-VS2022.vcxproj.user
  24. EXTRA_DIST += wolfcrypt/benchmark/README.md
  25. DISTCLEANFILES+= wolfcrypt/benchmark/.libs/benchmark