Audio plugin host https://kx.studio/carla
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.

28 lines
676B

  1. #!/bin/bash
  2. set -e
  3. # Preparation
  4. _FLAGS="-I/opt/kxstudio/include -Werror"
  5. export CFLAGS="${_FLAGS}"
  6. export CXXFLAGS="${_FLAGS}"
  7. export LDFLAGS="-L/opt/kxstudio/lib"
  8. export PATH=/opt/kxstudio/bin:${PATH}
  9. export PKG_CONFIG_PATH=/opt/kxstudio/lib/pkgconfig:${PKG_CONFIG_PATH}
  10. # Start clean
  11. make distclean >/dev/null
  12. # Print available features
  13. make features
  14. # Build native stuff
  15. make all posix32 posix64
  16. # Build wine bridges
  17. make wine32 wine64
  18. # Build windows binaries for bridges
  19. env PATH=/opt/mingw32/bin:${PATH} make win32 CC=i686-w64-mingw32-gcc CXX=i686-w64-mingw32-g++
  20. env PATH=/opt/mingw64/bin:${PATH} make win64 CC=x86_64-w64-mingw32-gcc CXX=x86_64-w64-mingw32-g++