forked from irods/externals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
228 lines (194 loc) · 6.54 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
all : autoconf avro aws-sdk-cpp boost catch2 clang clang-runtime cmake cppzmq cpr elasticlient fmt imagemagick json libarchive libs3 mungefs nanodbc pistache qpid qpid-proton qpid-with-proton redis spdlog zeromq4-1
server : avro boost catch2 clang-runtime cppzmq fmt json libarchive nanodbc spdlog zeromq4-1
.PHONY : all server clean $(all)
BUILD_OPTIONS=-v
packages.mk : Makefile versions.json build.py
./build.py packagesfile
-include packages.mk
$(all) : packages.mk
$(AUTOCONF_PACKAGE) :
./build.py $(BUILD_OPTIONS) autoconf > autoconf.log 2>&1
autoconf : $(AUTOCONF_PACKAGE)
autoconf_clean :
@echo "Cleaning autoconf..."
@rm -rf autoconf*
@rm -rf $(AUTOCONF_PACKAGE)
$(AVRO_PACKAGE) : $(BOOST_PACKAGE) $(CMAKE_PACKAGE) $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) avro > avro.log 2>&1
avro : $(AVRO_PACKAGE)
avro_clean :
@echo "Cleaning avro..."
@rm -rf avro*
@rm -rf $(AVRO_PACKAGE)
$(AWS-SDK-CPP_PACKAGE) : $(CMAKE_PACKAGE) $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) aws-sdk-cpp > aws-sdk-cpp.log 2>&1
aws-sdk-cpp : $(AWS-SDK-CPP_PACKAGE)
aws-sdk-cpp_clean :
@echo "Cleaning aws-sdk-cpp..."
@rm -rf aws-sdk-cpp*
@rm -rf $(AWS-SDK-CPP_PACKAGE)
$(BOOST_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) boost > boost.log 2>&1
boost : $(BOOST_PACKAGE)
boost_clean :
@echo "Cleaning boost..."
@rm -rf boost*
@rm -rf $(BOOST_PACKAGE)
$(CATCH2_PACKAGE) :
./build.py $(BUILD_OPTIONS) catch2 > catch2.log 2>&1
catch2 : $(CATCH2_PACKAGE)
catch2_clean :
@echo "Cleaning catch2..."
@rm -rf catch2*
@rm -rf $(CATCH2_PACKAGE)
$(CLANG_PACKAGE) : $(CMAKE_PACKAGE)
./build.py $(BUILD_OPTIONS) clang > clang.log 2>&1
clang : $(CLANG_PACKAGE)
clang_clean :
@echo "Cleaning clang..."
@rm -rf clang*
@rm -rf $(CLANG_PACKAGE)
$(CLANG-RUNTIME_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) clang-runtime > clang-runtime.log 2>&1
clang-runtime : $(CLANG-RUNTIME_PACKAGE)
clang-runtime_clean :
@echo "Cleaning clang-runtime..."
@rm -rf clang-runtime*
@rm -rf $(CLANG-RUNTIME_PACKAGE)
$(CMAKE_PACKAGE) :
./build.py $(BUILD_OPTIONS) cmake > cmake.log 2>&1
cmake : $(CMAKE_PACKAGE)
cmake_clean :
@echo "Cleaning cmake..."
@rm -rf cmake*
@rm -rf $(CMAKE_PACKAGE)
$(CPPZMQ_PACKAGE) :
./build.py $(BUILD_OPTIONS) cppzmq > cppzmq.log 2>&1
cppzmq : $(CPPZMQ_PACKAGE)
cppzmq_clean :
@echo "Cleaning cppzmq..."
@rm -rf cppzmq*
@rm -rf $(CPPZMQ_PACKAGE)
$(CPR_PACKAGE) : $(ELASTICLIENT_PACKAGE)
./build.py $(BUILD_OPTIONS) cpr > cpr.log 2>&1
cpr : $(CPR_PACKAGE)
cpr_clean :
@echo "Cleaning cpr..."
@rm -rf cpr*
@rm -rf $(CPR_PACKAGE)
$(ELASTICLIENT_PACKAGE) : $(CLANG_PACKAGE) $(BOOST_PACKAGE)
./build.py $(BUILD_OPTIONS) elasticlient > elasticlient.log 2>&1
elasticlient : $(ELASTICLIENT_PACKAGE)
elasticlient_clean :
@echo "Cleaning elasticlient..."
@rm -rf elasticlient*
@rm -rf $(ELASTICLIENT_PACKAGE)
$(FMT_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) fmt > fmt.log 2>&1
fmt : $(FMT_PACKAGE)
fmt_clean :
@echo "Cleaning fmt..."
@rm -rf fmt*
@rm -rf $(FMT_PACKAGE)
$(IMAGEMAGICK_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) imagemagick > imagemagick.log 2>&1
imagemagick : $(IMAGEMAGICK_PACKAGE)
imagemagick_clean :
@echo "Cleaning imagemagick..."
@rm -rf imagemagick*
@rm -rf $(IMAGEMAGICK_PACKAGE)
$(JANSSON_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) jansson > jansson.log 2>&1
jansson : $(JANSSON_PACKAGE)
jansson_clean :
@echo "Cleaning jansson..."
@rm -rf jansson*
@rm -rf $(JANSSON_PACKAGE)
$(JSON_PACKAGE) : $(CMAKE_PACKAGE)
./build.py $(BUILD_OPTIONS) json > json.log 2>&1
json : $(JSON_PACKAGE)
json_clean :
@echo "Cleaning json..."
@rm -rf json*
@rm -rf $(JSON_PACKAGE)
$(LIBARCHIVE_PACKAGE) : $(CMAKE_PACKAGE) $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) libarchive > libarchive.log 2>&1
libarchive : $(LIBARCHIVE_PACKAGE)
libarchive_clean :
@echo "Cleaning libarchive..."
@rm -rf libarchive*
@rm -rf $(LIBARCHIVE_PACKAGE)
$(LIBS3_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) libs3 > libs3.log 2>&1
libs3 : $(LIBS3_PACKAGE)
libs3_clean :
@echo "Cleaning libs3..."
@rm -rf libs3*
@rm -rf $(LIBS3_PACKAGE)
$(MUNGEFS_PACKAGE) : $(CPPZMQ_PACKAGE) $(LIBARCHIVE_PACKAGE) $(AVRO_PACKAGE) $(CLANG-RUNTIME_PACKAGE) $(ZEROMQ4-1_PACKAGE)
./build.py $(BUILD_OPTIONS) mungefs > mungefs.log 2>&1
mungefs : $(MUNGEFS_PACKAGE)
mungefs_clean :
@echo "Cleaning mungefs..."
@rm -rf mungefs*
@rm -rf $(MUNGEFS_PACKAGE)
$(NANODBC_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) nanodbc > nanodbc.log 2>&1
nanodbc : $(NANODBC_PACKAGE)
nanodbc_clean :
@echo "Cleaning nanodbc..."
@rm -rf nanodbc*
@rm -rf $(NANODBC_PACKAGE)
$(PISTACHE_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) pistache > pistache.log 2>&1
pistache : $(PISTACHE_PACKAGE)
pistache_clean :
@echo "Cleaning pistache..."
@rm -rf pistache*
@rm -rf $(PISTACHE_PACKAGE)
$(QPID_PACKAGE) : $(CLANG_PACKAGE) $(BOOST_PACKAGE) $(QPID-PROTON_PACKAGE)
./build.py $(BUILD_OPTIONS) qpid > qpid.log 2>&1
qpid : $(QPID_PACKAGE)
qpid_clean :
@echo "Cleaning qpid..."
@rm -rf qpid*
@rm -rf $(QPID_PACKAGE)
$(QPID-PROTON_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) qpid-proton > qpid-proton.log 2>&1
qpid-proton : $(QPID-PROTON_PACKAGE)
qpid-proton_clean :
@echo "Cleaning qpid-proton..."
@rm -rf qpid-proton*
@rm -rf $(QPID-PROTON_PACKAGE)
$(QPID-WITH-PROTON_PACKAGE) : $(QPID_PACKAGE)
./build.py $(BUILD_OPTIONS) qpid-with-proton > qpid-with-proton.log 2>&1
qpid-with-proton : $(QPID-WITH-PROTON_PACKAGE)
qpid-with-proton_clean :
@echo "Cleaning qpid-with-proton..."
@rm -rf qpid-with-proton*
@rm -rf $(QPID-WITH-PROTON_PACKAGE)
$(REDIS_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) redis > redis.log 2>&1
redis : $(REDIS_PACKAGE)
redis_clean :
@echo "Cleaning redis..."
@rm -rf redis*
@rm -rf $(REDIS_PACKAGE)
$(SPDLOG_PACKAGE) :
./build.py $(BUILD_OPTIONS) spdlog > spdlog.log 2>&1
spdlog : $(SPDLOG_PACKAGE)
spdlog_clean :
@echo "Cleaning spdlog..."
@rm -rf spdlog*
@rm -rf $(SPDLOG_PACKAGE)
$(ZEROMQ4-1_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) zeromq4-1 > zeromq4-1.log 2>&1
zeromq4-1 : $(ZEROMQ4-1_PACKAGE)
zeromq4-1_clean :
@echo "Cleaning zeromq4-1..."
@rm -rf zeromq4-1*
@rm -rf $(ZEROMQ4-1_PACKAGE)
clean : autoconf_clean avro_clean aws-sdk-cpp_clean boost_clean catch2_clean clang_clean clang-runtime_clean cmake_clean cppzmq_clean cpr_clean elasticlient_clean fmt_clean imagemagick_clean jansson_clean json_clean libarchive_clean libs3_clean mungefs_clean nanodbc_clean pistache_clean qpid_clean redis_clean spdlog_clean zeromq4-1_clean
@echo "Cleaning generated files..."
@rm -rf packages.mk
@echo "Done."