blob: e48d35dc05e756a8c64e541ca8ac94e46137089e (
plain)
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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
|
# prefix
include $(PRO_DIR)/prefix.mak
# module name
NAMES = tbox
# module type
tbox_TYPE = LIB
# config
tbox_CONFIG = n
# core files
tbox_C_FILES += \
tbox/src/tbox/tbox \
tbox/src/tbox/hash/md5 \
tbox/src/tbox/hash/bkdr \
tbox/src/tbox/hash/fnv32 \
tbox/src/tbox/hash/adler32 \
tbox/src/tbox/math/impl/math \
tbox/src/tbox/math/random/linear \
tbox/src/tbox/math/random/random \
tbox/src/tbox/libc/impl/libc \
tbox/src/tbox/libc/misc/time/gmmktime \
tbox/src/tbox/libc/misc/time/gmtime \
tbox/src/tbox/libc/misc/time/localtime \
tbox/src/tbox/libc/misc/time/mktime \
tbox/src/tbox/libc/misc/time/time \
tbox/src/tbox/libc/stdio/printf \
tbox/src/tbox/libc/stdio/printf_object \
tbox/src/tbox/libc/stdio/puts \
tbox/src/tbox/libc/stdio/snprintf \
tbox/src/tbox/libc/stdio/sprintf \
tbox/src/tbox/libc/stdio/swprintf \
tbox/src/tbox/libc/stdio/vsnprintf \
tbox/src/tbox/libc/stdio/vswprintf \
tbox/src/tbox/libc/stdio/wprintf \
tbox/src/tbox/libc/stdio/wputs \
tbox/src/tbox/libc/stdlib/mbstowcs \
tbox/src/tbox/libc/stdlib/random \
tbox/src/tbox/libc/stdlib/stdlib \
tbox/src/tbox/libc/stdlib/wcstombs \
tbox/src/tbox/libc/string/memcmp \
tbox/src/tbox/libc/string/memcpy \
tbox/src/tbox/libc/string/memdup \
tbox/src/tbox/libc/string/memmem \
tbox/src/tbox/libc/string/memmov \
tbox/src/tbox/libc/string/memset \
tbox/src/tbox/libc/string/strcat \
tbox/src/tbox/libc/string/strchr \
tbox/src/tbox/libc/string/strnchr \
tbox/src/tbox/libc/string/strcmp \
tbox/src/tbox/libc/string/strcpy \
tbox/src/tbox/libc/string/strdup \
tbox/src/tbox/libc/string/strichr \
tbox/src/tbox/libc/string/stricmp \
tbox/src/tbox/libc/string/strirchr \
tbox/src/tbox/libc/string/strirstr \
tbox/src/tbox/libc/string/stristr \
tbox/src/tbox/libc/string/strlcpy \
tbox/src/tbox/libc/string/strlen \
tbox/src/tbox/libc/string/strncat \
tbox/src/tbox/libc/string/strncmp \
tbox/src/tbox/libc/string/strncpy \
tbox/src/tbox/libc/string/strndup \
tbox/src/tbox/libc/string/strnicmp \
tbox/src/tbox/libc/string/strnirchr \
tbox/src/tbox/libc/string/strnirstr \
tbox/src/tbox/libc/string/strnistr \
tbox/src/tbox/libc/string/strnlen \
tbox/src/tbox/libc/string/strnrchr \
tbox/src/tbox/libc/string/strnrstr \
tbox/src/tbox/libc/string/strnstr \
tbox/src/tbox/libc/string/strrchr \
tbox/src/tbox/libc/string/strrstr \
tbox/src/tbox/libc/string/strstr \
tbox/src/tbox/libc/string/wcscat \
tbox/src/tbox/libc/string/wcschr \
tbox/src/tbox/libc/string/wcscmp \
tbox/src/tbox/libc/string/wcscpy \
tbox/src/tbox/libc/string/wcsdup \
tbox/src/tbox/libc/string/wcsichr \
tbox/src/tbox/libc/string/wcsicmp \
tbox/src/tbox/libc/string/wcsirchr \
tbox/src/tbox/libc/string/wcsirstr \
tbox/src/tbox/libc/string/wcsistr \
tbox/src/tbox/libc/string/wcslcpy \
tbox/src/tbox/libc/string/wcslen \
tbox/src/tbox/libc/string/wcsncat \
tbox/src/tbox/libc/string/wcsncmp \
tbox/src/tbox/libc/string/wcsncpy \
tbox/src/tbox/libc/string/wcsndup \
tbox/src/tbox/libc/string/wcsnicmp \
tbox/src/tbox/libc/string/wcsnirchr \
tbox/src/tbox/libc/string/wcsnirstr \
tbox/src/tbox/libc/string/wcsnlen \
tbox/src/tbox/libc/string/wcsnrchr \
tbox/src/tbox/libc/string/wcsnrstr \
tbox/src/tbox/libc/string/wcsrchr \
tbox/src/tbox/libc/string/wcsrstr \
tbox/src/tbox/libc/string/wcsstr \
tbox/src/tbox/utils/base32 \
tbox/src/tbox/utils/base64 \
tbox/src/tbox/utils/bits \
tbox/src/tbox/utils/dump \
tbox/src/tbox/utils/lock_profiler \
tbox/src/tbox/utils/singleton \
tbox/src/tbox/utils/trace \
tbox/src/tbox/utils/url \
tbox/src/tbox/utils/used \
tbox/src/tbox/prefix/state \
tbox/src/tbox/memory/allocator \
tbox/src/tbox/memory/buffer \
tbox/src/tbox/memory/default_allocator \
tbox/src/tbox/memory/fixed_pool \
tbox/src/tbox/memory/impl/memory \
tbox/src/tbox/memory/impl/native_large_allocator \
tbox/src/tbox/memory/impl/prefix \
tbox/src/tbox/memory/impl/static_fixed_pool \
tbox/src/tbox/memory/impl/static_large_allocator \
tbox/src/tbox/memory/large_allocator \
tbox/src/tbox/memory/native_allocator \
tbox/src/tbox/memory/queue_buffer \
tbox/src/tbox/memory/small_allocator \
tbox/src/tbox/memory/static_allocator \
tbox/src/tbox/memory/static_buffer \
tbox/src/tbox/memory/string_pool \
tbox/src/tbox/string/static_string \
tbox/src/tbox/string/string \
tbox/src/tbox/stream/filter \
tbox/src/tbox/stream/impl/filter/cache \
tbox/src/tbox/stream/impl/filter/chunked \
tbox/src/tbox/stream/impl/filter/charset \
tbox/src/tbox/stream/impl/stream/data \
tbox/src/tbox/stream/impl/stream/file \
tbox/src/tbox/stream/impl/stream/filter \
tbox/src/tbox/stream/impl/stream/http \
tbox/src/tbox/stream/impl/stream/sock \
tbox/src/tbox/stream/static_stream \
tbox/src/tbox/stream/stream \
tbox/src/tbox/stream/transfer \
tbox/src/tbox/network/cookies \
tbox/src/tbox/network/dns/cache \
tbox/src/tbox/network/dns/looker \
tbox/src/tbox/network/dns/server \
tbox/src/tbox/network/http \
tbox/src/tbox/network/hwaddr \
tbox/src/tbox/network/impl/http/date \
tbox/src/tbox/network/impl/http/method \
tbox/src/tbox/network/impl/http/option \
tbox/src/tbox/network/impl/http/status \
tbox/src/tbox/network/impl/network \
tbox/src/tbox/network/unixaddr \
tbox/src/tbox/network/ipaddr \
tbox/src/tbox/network/ipv4 \
tbox/src/tbox/network/ipv6 \
tbox/src/tbox/network/url \
tbox/src/tbox/algorithm/binary_find \
tbox/src/tbox/algorithm/binary_find_if \
tbox/src/tbox/algorithm/bubble_sort \
tbox/src/tbox/algorithm/count \
tbox/src/tbox/algorithm/count_if \
tbox/src/tbox/algorithm/distance \
tbox/src/tbox/algorithm/find \
tbox/src/tbox/algorithm/find_if \
tbox/src/tbox/algorithm/heap_sort \
tbox/src/tbox/algorithm/insert_sort \
tbox/src/tbox/algorithm/predicate \
tbox/src/tbox/algorithm/quick_sort \
tbox/src/tbox/algorithm/remove \
tbox/src/tbox/algorithm/remove_first \
tbox/src/tbox/algorithm/remove_first_if \
tbox/src/tbox/algorithm/remove_if \
tbox/src/tbox/algorithm/rfind \
tbox/src/tbox/algorithm/rfind_if \
tbox/src/tbox/algorithm/rwalk \
tbox/src/tbox/algorithm/sort \
tbox/src/tbox/algorithm/walk \
tbox/src/tbox/container/bloom_filter \
tbox/src/tbox/container/circle_queue \
tbox/src/tbox/container/element/hash \
tbox/src/tbox/container/element/long \
tbox/src/tbox/container/element/mem \
tbox/src/tbox/container/element/null \
tbox/src/tbox/container/element/ptr \
tbox/src/tbox/container/element/size \
tbox/src/tbox/container/element/str \
tbox/src/tbox/container/element/true \
tbox/src/tbox/container/element/uint16 \
tbox/src/tbox/container/element/uint32 \
tbox/src/tbox/container/element/uint8 \
tbox/src/tbox/container/hash_map \
tbox/src/tbox/container/hash_set \
tbox/src/tbox/container/heap \
tbox/src/tbox/container/array_iterator \
tbox/src/tbox/container/iterator \
tbox/src/tbox/container/list \
tbox/src/tbox/container/list_entry \
tbox/src/tbox/container/priority_queue \
tbox/src/tbox/container/queue \
tbox/src/tbox/container/single_list \
tbox/src/tbox/container/single_list_entry \
tbox/src/tbox/container/stack \
tbox/src/tbox/container/vector \
tbox/src/tbox/libm/impl/libm \
tbox/src/tbox/libm/exp \
tbox/src/tbox/libm/ilog2i \
tbox/src/tbox/libm/isqrti \
tbox/src/tbox/libm/idivi8 \
tbox/src/tbox/platform/addrinfo \
tbox/src/tbox/platform/atomic64 \
tbox/src/tbox/platform/backtrace \
tbox/src/tbox/platform/cache_time \
tbox/src/tbox/platform/directory \
tbox/src/tbox/platform/dynamic \
tbox/src/tbox/platform/environment \
tbox/src/tbox/platform/event \
tbox/src/tbox/platform/file \
tbox/src/tbox/platform/filelock \
tbox/src/tbox/platform/hostname \
tbox/src/tbox/platform/ifaddrs \
tbox/src/tbox/platform/ltimer \
tbox/src/tbox/platform/native_memory \
tbox/src/tbox/platform/virtual_memory \
tbox/src/tbox/platform/mutex \
tbox/src/tbox/platform/page \
tbox/src/tbox/platform/path \
tbox/src/tbox/platform/poller \
tbox/src/tbox/platform/print \
tbox/src/tbox/platform/stdfile \
tbox/src/tbox/platform/process \
tbox/src/tbox/platform/cpu \
tbox/src/tbox/platform/sched \
tbox/src/tbox/platform/semaphore \
tbox/src/tbox/platform/pipe \
tbox/src/tbox/platform/socket \
tbox/src/tbox/platform/syserror \
tbox/src/tbox/platform/thread \
tbox/src/tbox/platform/thread_local \
tbox/src/tbox/platform/time \
tbox/src/tbox/platform/timer \
tbox/src/tbox/platform/impl/charset \
tbox/src/tbox/platform/impl/pollerdata \
tbox/src/tbox/platform/impl/dns \
tbox/src/tbox/platform/impl/platform \
tbox/src/tbox/libm/isfin \
tbox/src/tbox/libm/isfinf \
tbox/src/tbox/libm/isinf \
tbox/src/tbox/libm/isinff \
tbox/src/tbox/libm/isnan \
tbox/src/tbox/libm/isnanf \
tbox/src/tbox/libm/pow \
tbox/src/tbox/libm/cos \
tbox/src/tbox/libm/cosf \
tbox/src/tbox/libm/sqrtf \
tbox/src/tbox/hash/sha \
tbox/src/tbox/hash/uuid \
tbox/src/tbox/charset/charset \
tbox/src/tbox/charset/ascii \
tbox/src/tbox/charset/gb2312 \
tbox/src/tbox/charset/utf8 \
tbox/src/tbox/charset/utf16 \
tbox/src/tbox/charset/utf32 \
tbox/src/tbox/charset/ucs2 \
tbox/src/tbox/charset/ucs4 \
tbox/src/tbox/charset/iso8859
iswin =
ifeq ($(PLAT),windows)
iswin = yes
endif
ifeq ($(PLAT),msys)
iswin = yes
endif
ifeq ($(PLAT),cygwin)
iswin = yes
endif
ifdef iswin
tbox_C_FILES += \
tbox/src/tbox/platform/windows/windows \
tbox/src/tbox/platform/windows/iocp_object \
tbox/src/tbox/platform/windows/socket_pool \
tbox/src/tbox/platform/windows/interface/ws2_32 \
tbox/src/tbox/platform/windows/interface/shell32 \
tbox/src/tbox/platform/windows/interface/dbghelp \
tbox/src/tbox/platform/windows/interface/mswsock \
tbox/src/tbox/platform/windows/interface/kernel32 \
tbox/src/tbox/platform/windows/interface/iphlpapi \
tbox/src/tbox/platform/windows/interface/interface
endif
# includes
tbox_INC_DIRS += \
tbox/src \
inc/$(PLAT)
# suffix
include $(PRO_DIR)/suffix.mak
|