1
0

config-defaults.mk 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. ifeq ($(HOST),unix)
  2. ifeq ($(HOST_FLAVOUR),MACOSX)
  3. NO_PULSEAUDIO?=1
  4. include build/make/config-clang.mk
  5. # Mac OS X overrides
  6. DYNLINK=0
  7. SHARED_SONAME=0
  8. else ifeq ($(HOST_FLAVOUR),MSYS2)
  9. ifeq ($(MSYSTEM),MINGW64)
  10. WINDOWS_ARCH=amd64
  11. include build/make/config-mingw-w64.mk
  12. else ifeq ($(MSYSTEM),MINGW32)
  13. WINDOWS_ARCH=x86
  14. include build/make/config-mingw-w64.mk
  15. else ifeq ($(MSYSTEM),UCRT64)
  16. WINDOWS_ARCH=amd64
  17. include build/make/config-mingw-w64.mk
  18. else ifeq ($(MSYSTEM),CLANG64)
  19. WINDOWS_ARCH=amd64
  20. MINGW_COMPILER=clang
  21. include build/make/config-mingw-w64.mk
  22. else
  23. WINDOWS_ARCH=x86
  24. include build/make/config-mingw-w64.mk
  25. endif
  26. else ifeq ($(HOST_FLAVOUR),LINUX)
  27. include build/make/config-gcc.mk
  28. else ifeq ($(HOST_FLAVOUR),FREEBSD)
  29. include build/make/config-clang.mk
  30. NO_LTDL?=1
  31. NO_PORTAUDIOCPP?=1
  32. else ifeq ($(HOST_FLAVOUR),OPENBSD)
  33. NO_PORTAUDIOCPP?=1
  34. NO_PULSEAUDIO?=1
  35. include build/make/config-clang.mk
  36. else ifeq ($(HOST_FLAVOUR),HAIKU)
  37. # In Haiku x86 32bit (but not 64bit),
  38. # modern compilers need a -x86 suffix.
  39. UNAME_P:=$(shell uname -p)
  40. ifeq ($(UNAME_P),x86)
  41. TOOLCHAIN_SUFFIX=-x86
  42. endif
  43. include build/make/config-gcc.mk
  44. else
  45. include build/make/config-generic.mk
  46. endif
  47. else
  48. include build/make/config-generic.mk
  49. endif