ya.make 752 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. # Generated by devtools/yamaker from nixpkgs 22.11.
  2. DEFAULT(USE_IDN ${_USE_IDN})
  3. LIBRARY()
  4. WITHOUT_LICENSE_TEXTS()
  5. VERSION(1.42)
  6. ORIGINAL_SOURCE(mirror://gnu/libidn/libidn-1.42.tar.gz)
  7. LICENSE(Service-Dll-Harness)
  8. NO_RUNTIME()
  9. IF (EXPORT_CMAKE)
  10. OPENSOURCE_EXPORT_REPLACEMENT(
  11. CMAKE
  12. IDN
  13. CMAKE_TARGET
  14. IDN::IDN
  15. )
  16. ELSEIF (USE_IDN == "dynamic")
  17. PEERDIR(
  18. contrib/libs/libidn/dynamic
  19. )
  20. ELSEIF (USE_IDN == "local")
  21. GLOBAL_CFLAGS(${USE_LOCAL_IDN_CFLAGS})
  22. DEFAULT(USE_LOCAL_IDN_LDFLAGS -lidn)
  23. LDFLAGS(${USE_LOCAL_IDN_LDFLAGS})
  24. ELSE()
  25. PEERDIR(
  26. contrib/libs/libidn/static
  27. )
  28. ENDIF()
  29. END()
  30. IF (USE_IDN != "local")
  31. RECURSE(
  32. dynamic
  33. static
  34. )
  35. ENDIF()