Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. all: linux windows macos freebsd openbsd netbsd solaris arm5 arm6 arm7 arm8 mips64 mips64le mips
  2. update:
  3. go get -v -u github.com/elico/icap
  4. go get -v -u gopkg.in/redis.v3
  5. go get -v -u github.com/patrickmn/go-cache
  6. go get -v -u github.com/elico/go-linux-tproxy
  7. clean:
  8. echo "cleaning"
  9. rm ./bin/*
  10. rmdir ./bin
  11. rm bgu-icap-example.tar.xz
  12. linux: linux64 linux86
  13. linux64:
  14. ./build.sh "linux" "amd64"
  15. linux86:
  16. ./build.sh "linux" "386"
  17. windows:
  18. ./build.sh "windows" "386"
  19. ./build.sh "windows" "amd64"
  20. macos:
  21. ./build.sh "darwin" "amd64"
  22. ./build.sh "darwin" "386"
  23. freebsd:
  24. ./build.sh "freebsd" "386"
  25. ./build.sh "freebsd" "amd64"
  26. openbsd:
  27. ./build.sh "openbsd" "386"
  28. ./build.sh "openbsd" "amd64"
  29. netbsd:
  30. ./build.sh "netbsd" "386"
  31. ./build.sh "netbsd" "amd64"
  32. solaris:
  33. ./build.sh "solaris" "amd64"
  34. arm5:
  35. ./build.sh "linux" "arm" "5"
  36. arm6:
  37. ./build.sh "linux" "arm" "6"
  38. arm7:
  39. ./build.sh "linux" "arm" "7"
  40. arm8:
  41. ./build.sh "linux" "arm64"
  42. mips:
  43. ./build.sh "linux" "mips"
  44. mips64:
  45. ./build.sh "linux" "mips64"
  46. mips64le:
  47. ./build.sh "linux" "mips64le"
  48. pack:
  49. ./pack.sh