You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

42 lines
2.1 KiB

  1. # Copyright (c) 2006, 2014, Oracle and/or its affiliates. All rights reserved.
  2. #
  3. # This program is free software; you can redistribute it and/or modify
  4. # it under the terms of the GNU General Public License as published by
  5. # the Free Software Foundation; version 2 of the License.
  6. #
  7. # This program is distributed in the hope that it will be useful,
  8. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  10. # GNU General Public License for more details.
  11. #
  12. # You should have received a copy of the GNU General Public License
  13. # along with this program; if not, write to the Free Software
  14. # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  15. INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/extra/yassl/taocrypt/mySTL
  16. ${CMAKE_SOURCE_DIR}/extra/yassl/taocrypt/include)
  17. INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
  18. ADD_DEFINITIONS(${SSL_DEFINES})
  19. SET(TAOCRYPT_SOURCES src/aes.cpp src/aestables.cpp src/algebra.cpp src/arc4.cpp src/asn.cpp src/coding.cpp
  20. src/des.cpp src/dh.cpp src/dsa.cpp src/file.cpp src/hash.cpp src/integer.cpp src/md2.cpp
  21. src/md4.cpp src/md5.cpp src/misc.cpp src/random.cpp src/ripemd.cpp src/rsa.cpp src/sha.cpp
  22. src/rabbit.cpp src/hc128.cpp
  23. include/aes.hpp include/algebra.hpp include/arc4.hpp include/asn.hpp include/block.hpp
  24. include/coding.hpp include/des.hpp include/dh.hpp include/dsa.hpp include/dsa.hpp
  25. include/error.hpp include/file.hpp include/hash.hpp include/hmac.hpp include/integer.hpp
  26. include/md2.hpp include/md5.hpp include/misc.hpp include/modarith.hpp include/modes.hpp
  27. include/random.hpp include/ripemd.hpp include/rsa.hpp include/sha.hpp
  28. include/rabbit.hpp include/hc128.hpp)
  29. IF(HAVE_EXPLICIT_TEMPLATE_INSTANTIATION)
  30. SET(TAOCRYPT_SOURCES ${TAOCRYPT_SOURCES} src/template_instnt.cpp)
  31. ENDIF()
  32. ADD_CONVENIENCE_LIBRARY(taocrypt ${TAOCRYPT_SOURCES})
  33. RESTRICT_SYMBOL_EXPORTS(taocrypt)
  34. IF(MSVC)
  35. INSTALL_DEBUG_TARGET(taocrypt DESTINATION ${INSTALL_LIBDIR}/debug)
  36. ENDIF()