A local copy of OpenSSL from GitHub
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.

29 lines
1.2 KiB

  1. %targets = (
  2. "haiku-common" => {
  3. template => 1,
  4. cc => "cc",
  5. cflags => add_before(picker(default => "-DL_ENDIAN -Wall -include \$(SRCDIR)/os-dep/haiku.h",
  6. debug => "-g -O0",
  7. release => "-O2"),
  8. threads("-D_REENTRANT")),
  9. sys_id => "HAIKU",
  10. ex_libs => "-lnetwork",
  11. perlasm_scheme => "elf",
  12. thread_scheme => "pthreads",
  13. dso_scheme => "dlfcn",
  14. shared_target => "gnu-shared",
  15. shared_cflag => "-fPIC",
  16. shared_ldflag => "-shared",
  17. shared_extension => ".so.\$(SHLIB_MAJOR).\$(SHLIB_MINOR)",
  18. },
  19. "haiku-x86" => {
  20. inherit_from => [ "haiku-common", asm("x86_elf_asm") ],
  21. cflags => add(picker(release => "-fomit-frame-pointer")),
  22. bn_ops => "BN_LLONG",
  23. },
  24. "haiku-x86_64" => {
  25. inherit_from => [ "haiku-common" ],
  26. cflags => add("-m64"),
  27. bn_ops => "SIXTY_FOUR_BIT_LONG",
  28. },
  29. );