Makefile 7.92 KB
Newer Older
boklm's avatar
boklm committed
1
2
3
4
5
6
7
rbm=./rbm/rbm

all: release

release: submodule-update
	$(rbm) build release --target release --target torbrowser-all

8
9
10
release-android: submodule-update
	$(rbm) build release --target release --target torbrowser-all-android

11
12
13
release-android-armv7: submodule-update
	$(rbm) build release --target release --target torbrowser-android-armv7

14
15
16
release-android-x86: submodule-update
	$(rbm) build release --target release --target torbrowser-android-x86

17
18
19
release-android-x86_64: submodule-update
	$(rbm) build release --target release --target torbrowser-android-x86_64

20
21
22
release-android-aarch64: submodule-update
	$(rbm) build release --target release --target torbrowser-android-aarch64

boklm's avatar
boklm committed
23
24
25
release-linux-x86_64: submodule-update
	$(rbm) build release --target release --target torbrowser-linux-x86_64

boklm's avatar
boklm committed
26
27
28
release-linux-x86_64-debug: submodule-update
	$(rbm) build release --target release --target torbrowser-linux-x86_64-debug

boklm's avatar
boklm committed
29
30
31
32
33
34
release-linux-i686: submodule-update
	$(rbm) build release --target release --target torbrowser-linux-i686

release-windows-i686: submodule-update
	$(rbm) build release --target release --target torbrowser-windows-i686

35
36
37
release-windows-x86_64: submodule-update
	$(rbm) build release --target release --target torbrowser-windows-x86_64

boklm's avatar
boklm committed
38
39
40
release-osx-x86_64: submodule-update
	$(rbm) build release --target release --target torbrowser-osx-x86_64

41
42
43
release-src: submodule-update
	$(rbm) build release --target release --target torbrowser-src

boklm's avatar
boklm committed
44
45
46
alpha: submodule-update
	$(rbm) build release --target alpha --target torbrowser-all

47
48
49
alpha-android: submodule-update
	$(rbm) build release --target alpha --target torbrowser-all-android

50
51
52
alpha-android-armv7: submodule-update
	$(rbm) build release --target alpha --target torbrowser-android-armv7

53
54
55
alpha-android-x86: submodule-update
	$(rbm) build release --target alpha --target torbrowser-android-x86

56
57
58
alpha-android-x86_64: submodule-update
	$(rbm) build release --target alpha --target torbrowser-android-x86_64

59
60
61
alpha-android-aarch64: submodule-update
	$(rbm) build release --target alpha --target torbrowser-android-aarch64

boklm's avatar
boklm committed
62
63
64
alpha-linux-x86_64: submodule-update
	$(rbm) build release --target alpha --target torbrowser-linux-x86_64

boklm's avatar
boklm committed
65
66
67
alpha-linux-x86_64-debug: submodule-update
	$(rbm) build release --target alpha --target torbrowser-linux-x86_64-debug

boklm's avatar
boklm committed
68
69
70
71
72
73
alpha-linux-i686: submodule-update
	$(rbm) build release --target alpha --target torbrowser-linux-i686

alpha-windows-i686: submodule-update
	$(rbm) build release --target alpha --target torbrowser-windows-i686

74
75
76
alpha-windows-x86_64: submodule-update
	$(rbm) build release --target alpha --target torbrowser-windows-x86_64

boklm's avatar
boklm committed
77
78
79
alpha-osx-x86_64: submodule-update
	$(rbm) build release --target alpha --target torbrowser-osx-x86_64

80
81
82
alpha-src: submodule-update
	$(rbm) build release --target alpha --target torbrowser-src

boklm's avatar
boklm committed
83
nightly: submodule-update
84
	$(rbm) build release --target nightly --target torbrowser-all-desktop
boklm's avatar
boklm committed
85

86
87
88
nightly-android: submodule-update
	$(rbm) build release --target nightly --target torbrowser-all-android

89
90
91
nightly-android-armv7: submodule-update
	$(rbm) build release --target nightly --target torbrowser-android-armv7

92
93
94
nightly-android-x86: submodule-update
	$(rbm) build release --target nightly --target torbrowser-android-x86

95
96
97
nightly-android-x86_64: submodule-update
	$(rbm) build release --target nightly --target torbrowser-android-x86_64

98
99
100
nightly-android-aarch64: submodule-update
	$(rbm) build release --target nightly --target torbrowser-android-aarch64

boklm's avatar
boklm committed
101
102
103
nightly-linux-x86_64: submodule-update
	$(rbm) build release --target nightly --target torbrowser-linux-x86_64

boklm's avatar
boklm committed
104
105
106
nightly-linux-x86_64-debug: submodule-update
	$(rbm) build release --target nightly --target torbrowser-linux-x86_64-debug

boklm's avatar
boklm committed
107
108
109
110
111
112
nightly-linux-i686: submodule-update
	$(rbm) build release --target nightly --target torbrowser-linux-i686

nightly-windows-i686: submodule-update
	$(rbm) build release --target nightly --target torbrowser-windows-i686

113
114
115
nightly-windows-x86_64: submodule-update
	$(rbm) build release --target nightly --target torbrowser-windows-x86_64

boklm's avatar
boklm committed
116
117
118
nightly-osx-x86_64: submodule-update
	$(rbm) build release --target nightly --target torbrowser-osx-x86_64

119
120
121
nightly-src: submodule-update
	$(rbm) build release --target nightly --target torbrowser-src

boklm's avatar
boklm committed
122
123
124
testbuild: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-all

125
126
127
testbuild-android: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-all-android

128
129
130
testbuild-android-armv7: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-android-armv7

131
132
133
testbuild-android-x86: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-android-x86

134
135
136
testbuild-android-x86_64: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-android-x86_64

137
138
139
testbuild-android-aarch64: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-android-aarch64

boklm's avatar
boklm committed
140
141
142
testbuild-linux-x86_64: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-linux-x86_64

boklm's avatar
boklm committed
143
144
145
testbuild-linux-x86_64-debug: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-linux-x86_64-debug

boklm's avatar
boklm committed
146
147
148
testbuild-linux-i686: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-linux-i686

149
150
151
testbuild-windows-x86_64: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-windows-x86_64

boklm's avatar
boklm committed
152
153
154
155
156
157
testbuild-windows-i686: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-windows-i686

testbuild-osx-x86_64: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-osx-x86_64

158
159
160
testbuild-src: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-src-testbuild

boklm's avatar
boklm committed
161
162
163
164
165
166
signtag-release: submodule-update
	$(rbm) build release --step signtag --target release

signtag-alpha: submodule-update
	$(rbm) build release --step signtag --target alpha

167
incrementals-release: submodule-update
168
	$(rbm) build release --step update_responses_config --target release --target create_unsigned_incrementals
169
	tools/update-responses/download_missing_versions release
170
	tools/update-responses/gen_incrementals release
171
172
173
	$(rbm) build release --step hash_incrementals --target release

incrementals-alpha: submodule-update
174
	$(rbm) build release --step update_responses_config --target alpha --target create_unsigned_incrementals
175
	tools/update-responses/download_missing_versions alpha
176
	tools/update-responses/gen_incrementals alpha
177
178
	$(rbm) build release --step hash_incrementals --target alpha

179
180
181
182
183
incrementals-nightly: submodule-update
	$(rbm) build release --step update_responses_config --target nightly
	NO_CODESIGNATURE=1 tools/update-responses/gen_incrementals nightly
	$(rbm) build release --step hash_incrementals --target nightly

184
185
update_responses-release: submodule-update
	$(rbm) build release --step update_responses_config --target release --target signed
186
	$(rbm) build release --step create_update_responses_tar --target release --target signed
187
188
189

update_responses-alpha: submodule-update
	$(rbm) build release --step update_responses_config --target alpha --target signed
190
	$(rbm) build release --step create_update_responses_tar --target alpha --target signed
191

boklm's avatar
boklm committed
192
193
dmg2mar-release: submodule-update
	$(rbm) build release --step update_responses_config --target release --target signed
194
	$(rbm) build release --step dmg2mar --target release --target signed
boklm's avatar
boklm committed
195
	tools/update-responses/download_missing_versions release
196
	CHECK_CODESIGNATURE_EXISTS=1 MAR_SKIP_EXISTING=1 tools/update-responses/gen_incrementals release
boklm's avatar
boklm committed
197
198
199

dmg2mar-alpha: submodule-update
	$(rbm) build release --step update_responses_config --target alpha --target signed
200
	$(rbm) build release --step dmg2mar --target alpha --target signed
boklm's avatar
boklm committed
201
	tools/update-responses/download_missing_versions alpha
202
	CHECK_CODESIGNATURE_EXISTS=1 MAR_SKIP_EXISTING=1 tools/update-responses/gen_incrementals alpha
boklm's avatar
boklm committed
203

boklm's avatar
boklm committed
204
205
206
207
208
209
submodule-update:
	git submodule update --init

fetch: submodule-update
	$(rbm) fetch

210
clean: submodule-update
boklm's avatar
boklm committed
211
212
	./tools/clean-old

213
214
215
clean-dry-run: submodule-update
	./tools/clean-old --dry-run