-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathMakefile
189 lines (161 loc) · 6.21 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
all : avro avro-libcxx boost boost-libcxx catch2 clang clang-runtime cmake cppzmq fmt fmt-libcxx json jsoncons jwt-cpp libarchive mungefs nanodbc nanodbc-libcxx qpid-proton qpid-proton-libcxx redis spdlog spdlog-libcxx zeromq4-1 zeromq4-1-libcxx
server-libstdcxx : avro boost catch2 clang cppzmq fmt json jsoncons libarchive nanodbc spdlog zeromq4-1
server-libcxx : avro-libcxx boost-libcxx catch2 clang clang-runtime cppzmq fmt-libcxx json jsoncons libarchive nanodbc-libcxx spdlog-libcxx zeromq4-1-libcxx
server : server-libstdcxx server-libcxx
.PHONY : all server-libstdcxx server-libcxx server clean $(all)
BUILD_OPTIONS=-v
packages.mk : Makefile versions.json build.py
./build.py packagesfile
-include packages.mk
$(all) : packages.mk
$(AVRO_PACKAGE) : $(BOOST_PACKAGE) $(CMAKE_PACKAGE) $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) avro > avro.log 2>&1
avro : $(AVRO_PACKAGE)
$(AVRO-LIBCXX_PACKAGE) : $(BOOST-LIBCXX_PACKAGE) $(CMAKE_PACKAGE) $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) avro-libcxx > avro-libcxx.log 2>&1
avro-libcxx : $(AVRO-LIBCXX_PACKAGE)
avro_clean :
@echo "Cleaning avro..."
@rm -rf avro*
@rm -rf $(AVRO_PACKAGE) $(AVRO-LIBCXX_PACKAGE)
$(BOOST_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) boost > boost.log 2>&1
boost : $(BOOST_PACKAGE)
$(BOOST-LIBCXX_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) boost-libcxx > boost-libcxx.log 2>&1
boost-libcxx : $(BOOST-LIBCXX_PACKAGE)
boost_clean :
@echo "Cleaning boost..."
@rm -rf boost*
@rm -rf $(BOOST_PACKAGE) $(BOOST-LIBCXX_PACKAGE)
$(CATCH2_PACKAGE) : $(CMAKE_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) : $(ZEROMQ4-1_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)
$(FMT_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) fmt > fmt.log 2>&1
fmt : $(FMT_PACKAGE)
$(FMT-LIBCXX_PACKAGE) : $(CLANG_P*/6*/0ACKAGE)
./build.py $(BUILD_OPTIONS) fmt-libcxx > fmt-libcxx.log 2>&1
fmt-libcxx : $(FMT-LIBCXX_PACKAGE)
fmt_clean :
@echo "Cleaning fmt..."
@rm -rf fmt*
@rm -rf $(FMT_PACKAGE) $(FMT-LIBCXX_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)
$(JSONCONS_PACKAGE) : $(CMAKE_PACKAGE)
./build.py $(BUILD_OPTIONS) jsoncons > jsoncons.log 2>&1
jsoncons : $(JSONCONS_PACKAGE)
jsoncons_clean :
@echo "Cleaning jsoncons..."
@rm -rf jsoncons*
@rm -rf $(JSONCONS_PACKAGE)
$(JWT-CPP_PACKAGE) : $(CMAKE_PACKAGE) $(JSON_PACKAGE)
./build.py $(BUILD_OPTIONS) jwt-cpp > jwt-cpp.log 2>&1
jwt-cpp : $(JWT-CPP_PACKAGE)
jwt-cpp_clean :
@echo "Cleaning jwt-cpp..."
@rm -rf jwt-cpp*
@rm -rf $(JWT-CPP_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)
$(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-LIBCXX_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) nanodbc-libcxx > nanodbc-libcxx.log 2>&1
nanodbc-libcxx : $(NANODBC-LIBCXX_PACKAGE)
nanodbc_clean :
@echo "Cleaning nanodbc..."
@rm -rf nanodbc*
@rm -rf $(NANODBC_PACKAGE) $(NANODBC-LIBCXX_PACKAGE)
$(QPID-PROTON_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) qpid-proton > qpid-proton.log 2>&1
qpid-proton : $(QPID-PROTON_PACKAGE)
$(QPID-PROTON-LIBCXX_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) qpid-proton-libcxx > qpid-proton-libcxx.log 2>&1
qpid-proton-libcxx : $(QPID-PROTON-LIBCXX_PACKAGE)
qpid-proton_clean :
@echo "Cleaning qpid-proton..."
@rm -rf qpid-proton*
@rm -rf $(QPID-PROTON_PACKAGE) $(QPID-PROTON-LIBCXX_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) : $(FMT_PACKAGE)
./build.py $(BUILD_OPTIONS) spdlog > spdlog.log 2>&1
spdlog : $(SPDLOG_PACKAGE)
$(SPDLOG-LIBCXX_PACKAGE) : $(FMT-LIBCXX_PACKAGE)
./build.py $(BUILD_OPTIONS) spdlog-libcxx > spdlog-libcxx.log 2>&1
spdlog-libcxx : $(SPDLOG-LIBCXX_PACKAGE)
spdlog_clean :
@echo "Cleaning spdlog..."
@rm -rf spdlog*
@rm -rf $(SPDLOG_PACKAGE) $(SPDLOG-LIBCXX_PACKAGE)
$(ZEROMQ4-1_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) zeromq4-1 > zeromq4-1.log 2>&1
zeromq4-1 : $(ZEROMQ4-1_PACKAGE)
$(ZEROMQ4-1-LIBCXX_PACKAGE) : $(CLANG_PACKAGE)
./build.py $(BUILD_OPTIONS) zeromq4-1-libcxx > zeromq4-1-libcxx.log 2>&1
zeromq4-1-libcxx : $(ZEROMQ4-1-LIBCXX_PACKAGE)
zeromq4-1_clean :
@echo "Cleaning zeromq4-1..."
@rm -rf zeromq4-1*
@rm -rf $(ZEROMQ4-1_PACKAGE) $(ZEROMQ4-1-LIBCXX_PACKAGE)
clean : avro_clean boost_clean catch2_clean clang_clean clang-runtime_clean cmake_clean cppzmq_clean fmt_clean json_clean jsoncons_clean jwt-cpp_clean libarchive_clean mungefs_clean nanodbc_clean qpid-proton_clean redis_clean spdlog_clean zeromq4-1_clean
@echo "Cleaning generated files..."
@rm -rf packages.mk
@echo "Done."