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

all: release

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

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

boklm's avatar
boklm committed
11
12
13
release-linux-x86_64-debug: submodule-update
	$(rbm) build release --target release --target torbrowser-linux-x86_64-debug

boklm's avatar
boklm committed
14
15
16
17
18
19
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

20
21
22
release-windows-x86_64: submodule-update
	$(rbm) build release --target release --target torbrowser-windows-x86_64

boklm's avatar
boklm committed
23
24
25
26
27
28
29
30
31
release-osx-x86_64: submodule-update
	$(rbm) build release --target release --target torbrowser-osx-x86_64

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

alpha-linux-x86_64: submodule-update
	$(rbm) build release --target alpha --target torbrowser-linux-x86_64

boklm's avatar
boklm committed
32
33
34
alpha-linux-x86_64-debug: submodule-update
	$(rbm) build release --target alpha --target torbrowser-linux-x86_64-debug

boklm's avatar
boklm committed
35
36
37
38
39
40
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

41
42
43
alpha-windows-x86_64: submodule-update
	$(rbm) build release --target alpha --target torbrowser-windows-x86_64

boklm's avatar
boklm committed
44
45
46
47
48
49
50
51
52
alpha-osx-x86_64: submodule-update
	$(rbm) build release --target alpha --target torbrowser-osx-x86_64

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

nightly-linux-x86_64: submodule-update
	$(rbm) build release --target nightly --target torbrowser-linux-x86_64

boklm's avatar
boklm committed
53
54
55
nightly-linux-x86_64-debug: submodule-update
	$(rbm) build release --target nightly --target torbrowser-linux-x86_64-debug

boklm's avatar
boklm committed
56
57
58
59
60
61
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

62
63
64
nightly-windows-x86_64: submodule-update
	$(rbm) build release --target nightly --target torbrowser-windows-x86_64

boklm's avatar
boklm committed
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
nightly-osx-x86_64: submodule-update
	$(rbm) build release --target nightly --target torbrowser-osx-x86_64

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

alpha_nightly-linux-x86_64: submodule-update
	$(rbm) build release --target alpha_nightly --target torbrowser-linux-x86_64

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

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

80
81
82
alpha_nightly-windows-x86_64: submodule-update
	$(rbm) build release --target alpha_nightly --target torbrowser-windows-x86_64

boklm's avatar
boklm committed
83
84
85
alpha_nightly-osx-x86_64: submodule-update
	$(rbm) build release --target alpha_nightly --target torbrowser-osx-x86_64

boklm's avatar
boklm committed
86
87
88
89
90
91
testbuild: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-all

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

boklm's avatar
boklm committed
92
93
94
testbuild-linux-x86_64-debug: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-linux-x86_64-debug

boklm's avatar
boklm committed
95
96
97
testbuild-linux-i686: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-linux-i686

98
99
100
testbuild-windows-x86_64: submodule-update
	$(rbm) build release --target testbuild --target torbrowser-windows-x86_64

boklm's avatar
boklm committed
101
102
103
104
105
106
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

boklm's avatar
boklm committed
107
108
109
110
111
112
signtag-release: submodule-update
	$(rbm) build release --step signtag --target release

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

113
incrementals-release: submodule-update
114
	$(rbm) build release --step update_responses_config --target release --target create_unsigned_incrementals
115
	tools/update-responses/download_missing_versions release
116
	MAR_OLD_FORMAT=1 tools/update-responses/gen_incrementals release
117
118
119
	$(rbm) build release --step hash_incrementals --target release

incrementals-alpha: submodule-update
120
	$(rbm) build release --step update_responses_config --target alpha --target create_unsigned_incrementals
121
	tools/update-responses/download_missing_versions alpha
122
	tools/update-responses/gen_incrementals alpha
123
124
125
126
	$(rbm) build release --step hash_incrementals --target alpha

update_responses-release: submodule-update
	$(rbm) build release --step update_responses_config --target release --target signed
127
	$(rbm) build release --step create_update_responses_tar --target release --target signed
128
129
130

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

boklm's avatar
boklm committed
133
134
dmg2mar-release: submodule-update
	$(rbm) build release --step update_responses_config --target release --target signed
135
	MAR_OLD_FORMAT=1 $(rbm) build release --step dmg2mar --target release --target signed
boklm's avatar
boklm committed
136
	tools/update-responses/download_missing_versions release
137
	CHECK_CODESIGNATURE_EXISTS=1 MAR_SKIP_EXISTING=1 MAR_OLD_FORMAT=1 tools/update-responses/gen_incrementals release
boklm's avatar
boklm committed
138
139
140

dmg2mar-alpha: submodule-update
	$(rbm) build release --step update_responses_config --target alpha --target signed
141
	$(rbm) build release --step dmg2mar --target alpha --target signed
boklm's avatar
boklm committed
142
	tools/update-responses/download_missing_versions alpha
143
	CHECK_CODESIGNATURE_EXISTS=1 MAR_SKIP_EXISTING=1 tools/update-responses/gen_incrementals alpha
boklm's avatar
boklm committed
144

boklm's avatar
boklm committed
145
146
147
148
149
150
submodule-update:
	git submodule update --init

fetch: submodule-update
	$(rbm) fetch

151
clean: submodule-update
boklm's avatar
boklm committed
152
153
	./tools/clean-old

154
155
156
clean-dry-run: submodule-update
	./tools/clean-old --dry-run