Makefile 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. rbm=./rbm/rbm
  2. all: release
  3. release: submodule-update
  4. $(rbm) build release --target release --target torbrowser-all
  5. release-android-armv7: submodule-update
  6. $(rbm) build release --target release --target torbrowser-android-armv7
  7. release-android-x86: submodule-update
  8. $(rbm) build release --target release --target torbrowser-android-x86
  9. release-android-aarch64: submodule-update
  10. $(rbm) build release --target release --target torbrowser-android-aarch64
  11. release-linux-x86_64: submodule-update
  12. $(rbm) build release --target release --target torbrowser-linux-x86_64
  13. release-linux-x86_64-debug: submodule-update
  14. $(rbm) build release --target release --target torbrowser-linux-x86_64-debug
  15. release-linux-i686: submodule-update
  16. $(rbm) build release --target release --target torbrowser-linux-i686
  17. release-linux-arm: submodule-update
  18. $(rbm) build release --target release --target torbrowser-linux-arm
  19. release-windows-i686: submodule-update
  20. $(rbm) build release --target release --target torbrowser-windows-i686
  21. release-windows-x86_64: submodule-update
  22. $(rbm) build release --target release --target torbrowser-windows-x86_64
  23. release-osx-x86_64: submodule-update
  24. $(rbm) build release --target release --target torbrowser-osx-x86_64
  25. release-src: submodule-update
  26. $(rbm) build release --target release --target torbrowser-src
  27. alpha: submodule-update
  28. $(rbm) build release --target alpha --target torbrowser-all
  29. alpha-android-armv7: submodule-update
  30. $(rbm) build release --target alpha --target torbrowser-android-armv7
  31. alpha-android-x86: submodule-update
  32. $(rbm) build release --target alpha --target torbrowser-android-x86
  33. alpha-android-aarch64: submodule-update
  34. $(rbm) build release --target alpha --target torbrowser-android-aarch64
  35. alpha-linux-x86_64: submodule-update
  36. $(rbm) build release --target alpha --target torbrowser-linux-x86_64
  37. alpha-linux-x86_64-debug: submodule-update
  38. $(rbm) build release --target alpha --target torbrowser-linux-x86_64-debug
  39. alpha-linux-i686: submodule-update
  40. $(rbm) build release --target alpha --target torbrowser-linux-i686
  41. alpha-linux-arm: submodule-update
  42. $(rbm) build release --target alpha --target torbrowser-linux-arm
  43. alpha-windows-i686: submodule-update
  44. $(rbm) build release --target alpha --target torbrowser-windows-i686
  45. alpha-windows-x86_64: submodule-update
  46. $(rbm) build release --target alpha --target torbrowser-windows-x86_64
  47. alpha-osx-x86_64: submodule-update
  48. $(rbm) build release --target alpha --target torbrowser-osx-x86_64
  49. alpha-src: submodule-update
  50. $(rbm) build release --target alpha --target torbrowser-src
  51. nightly: submodule-update
  52. $(rbm) build release --target nightly --target torbrowser-all
  53. nightly-android-armv7: submodule-update
  54. $(rbm) build release --target nightly --target torbrowser-android-armv7
  55. nightly-android-x86: submodule-update
  56. $(rbm) build release --target nightly --target torbrowser-android-x86
  57. nightly-android-aarch64: submodule-update
  58. $(rbm) build release --target nightly --target torbrowser-android-aarch64
  59. nightly-linux-x86_64: submodule-update
  60. $(rbm) build release --target nightly --target torbrowser-linux-x86_64
  61. nightly-linux-x86_64-debug: submodule-update
  62. $(rbm) build release --target nightly --target torbrowser-linux-x86_64-debug
  63. nightly-linux-i686: submodule-update
  64. $(rbm) build release --target nightly --target torbrowser-linux-i686
  65. nightly-linux-arm: submodule-update
  66. $(rbm) build release --target nightly --target torbrowser-linux-arm
  67. nightly-windows-i686: submodule-update
  68. $(rbm) build release --target nightly --target torbrowser-windows-i686
  69. nightly-windows-x86_64: submodule-update
  70. $(rbm) build release --target nightly --target torbrowser-windows-x86_64
  71. nightly-osx-x86_64: submodule-update
  72. $(rbm) build release --target nightly --target torbrowser-osx-x86_64
  73. nightly-src: submodule-update
  74. $(rbm) build release --target nightly --target torbrowser-src
  75. alpha_nightly: submodule-update
  76. $(rbm) build release --target alpha_nightly --target torbrowser-all
  77. alpha_nightly-android-armv7: submodule-update
  78. $(rbm) build release --target alpha_nightly --target torbrowser-android-armv7
  79. alpha_nightly-android-x86: submodule-update
  80. $(rbm) build release --target alpha_nightly --target torbrowser-android-x86
  81. alpha_nightly-android-aarch64: submodule-update
  82. $(rbm) build release --target alpha_nightly --target torbrowser-android-aarch64
  83. alpha_nightly-linux-x86_64: submodule-update
  84. $(rbm) build release --target alpha_nightly --target torbrowser-linux-x86_64
  85. alpha_nightly-linux-i686: submodule-update
  86. $(rbm) build release --target alpha_nightly --target torbrowser-linux-i686
  87. alpha_nightly-linux-arm: submodule-update
  88. $(rbm) build release --target alpha_nightly --target torbrowser-linux-arm
  89. alpha_nightly-windows-i686: submodule-update
  90. $(rbm) build release --target alpha_nightly --target torbrowser-windows-i686
  91. alpha_nightly-windows-x86_64: submodule-update
  92. $(rbm) build release --target alpha_nightly --target torbrowser-windows-x86_64
  93. alpha_nightly-osx-x86_64: submodule-update
  94. $(rbm) build release --target alpha_nightly --target torbrowser-osx-x86_64
  95. alpha_nightly-src: submodule-update
  96. $(rbm) build release --target alpha_nightly --target torbrowser-src
  97. testbuild: submodule-update
  98. $(rbm) build release --target testbuild --target torbrowser-all
  99. testbuild-android-armv7: submodule-update
  100. $(rbm) build release --target testbuild --target torbrowser-android-armv7
  101. testbuild-android-x86: submodule-update
  102. $(rbm) build release --target testbuild --target torbrowser-android-x86
  103. testbuild-android-aarch64: submodule-update
  104. $(rbm) build release --target testbuild --target torbrowser-android-aarch64
  105. testbuild-linux-x86_64: submodule-update
  106. $(rbm) build release --target testbuild --target torbrowser-linux-x86_64
  107. testbuild-linux-x86_64-debug: submodule-update
  108. $(rbm) build release --target testbuild --target torbrowser-linux-x86_64-debug
  109. testbuild-linux-i686: submodule-update
  110. $(rbm) build release --target testbuild --target torbrowser-linux-i686
  111. testbuild-linux-arm: submodule-update
  112. $(rbm) build release --target testbuild --target torbrowser-linux-arm
  113. testbuild-windows-x86_64: submodule-update
  114. $(rbm) build release --target testbuild --target torbrowser-windows-x86_64
  115. testbuild-windows-i686: submodule-update
  116. $(rbm) build release --target testbuild --target torbrowser-windows-i686
  117. testbuild-osx-x86_64: submodule-update
  118. $(rbm) build release --target testbuild --target torbrowser-osx-x86_64
  119. testbuild-src: submodule-update
  120. $(rbm) build release --target testbuild --target torbrowser-src-testbuild
  121. signtag-release: submodule-update
  122. $(rbm) build release --step signtag --target release
  123. signtag-alpha: submodule-update
  124. $(rbm) build release --step signtag --target alpha
  125. incrementals-release: submodule-update
  126. $(rbm) build release --step update_responses_config --target release --target create_unsigned_incrementals
  127. tools/update-responses/download_missing_versions release
  128. tools/update-responses/gen_incrementals release
  129. $(rbm) build release --step hash_incrementals --target release
  130. incrementals-alpha: submodule-update
  131. $(rbm) build release --step update_responses_config --target alpha --target create_unsigned_incrementals
  132. tools/update-responses/download_missing_versions alpha
  133. tools/update-responses/gen_incrementals alpha
  134. $(rbm) build release --step hash_incrementals --target alpha
  135. update_responses-release: submodule-update
  136. $(rbm) build release --step update_responses_config --target release --target signed
  137. $(rbm) build release --step create_update_responses_tar --target release --target signed
  138. update_responses-alpha: submodule-update
  139. $(rbm) build release --step update_responses_config --target alpha --target signed
  140. $(rbm) build release --step create_update_responses_tar --target alpha --target signed
  141. dmg2mar-release: submodule-update
  142. $(rbm) build release --step update_responses_config --target release --target signed
  143. $(rbm) build release --step dmg2mar --target release --target signed
  144. tools/update-responses/download_missing_versions release
  145. CHECK_CODESIGNATURE_EXISTS=1 MAR_SKIP_EXISTING=1 tools/update-responses/gen_incrementals release
  146. dmg2mar-alpha: submodule-update
  147. $(rbm) build release --step update_responses_config --target alpha --target signed
  148. $(rbm) build release --step dmg2mar --target alpha --target signed
  149. tools/update-responses/download_missing_versions alpha
  150. CHECK_CODESIGNATURE_EXISTS=1 MAR_SKIP_EXISTING=1 tools/update-responses/gen_incrementals alpha
  151. submodule-update:
  152. git submodule update --init
  153. fetch: submodule-update
  154. $(rbm) fetch
  155. clean: submodule-update
  156. ./tools/clean-old
  157. clean-dry-run: submodule-update
  158. ./tools/clean-old --dry-run