Makefile 9.7 KB

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