Tue, 26 Aug 2025 21:55:19 +0200
implement kv-list to a point where it correctly behaves like a list
that means no lookup-map aspects are implemented just yet
relates to #461
753
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
1 | # Copyright 2023 Mike Becker. All rights reserved. |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
2 | # |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
3 | # Redistribution and use in source and binary forms, with or without |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
4 | # modification, are permitted provided that the following conditions are met: |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
5 | # |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
6 | # 1. Redistributions of source code must retain the above copyright |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
7 | # notice, this list of conditions and the following disclaimer. |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
8 | # |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
9 | # 2. Redistributions in binary form must reproduce the above copyright |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
10 | # notice, this list of conditions and the following disclaimer in the |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
11 | # documentation and/or other materials provided with the distribution. |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
12 | # |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
13 | # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
14 | # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
15 | # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
16 | # DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
17 | # FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
18 | # DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
19 | # SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
20 | # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
21 | # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
22 | # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
23 | |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
24 | include ../config.mk |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
25 | |
754
4bc7d966c9db
add an uwproj based install target
Mike Becker <universe@uap-core.de>
parents:
753
diff
changeset
|
26 | TEST_DIR=$(build_dir)/tests |
753
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
27 | |
970 | 28 | SRC = util_allocator.c \ |
971
cc204fc56c9c
rename utils.h to streams.h
Mike Becker <universe@uap-core.de>
parents:
970
diff
changeset
|
29 | test_szmul.c test_allocator.c \ |
970 | 30 | test_compare.c \ |
31 | test_string.c test_buffer.c \ | |
32 | test_hash_key.c test_hash_map.c \ | |
33 | test_iterator.c test_list.c test_tree.c \ | |
1350
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
34 | test_kv_list.c \ |
970 | 35 | test_properties.c test_json.c \ |
971
cc204fc56c9c
rename utils.h to streams.h
Mike Becker <universe@uap-core.de>
parents:
970
diff
changeset
|
36 | test_printf.c test_streams.c \ |
970 | 37 | test_mempool.c \ |
38 | ucxtest.c | |
766
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
39 | |
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
40 | OBJ_EXT=.o |
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
41 | OBJ=$(SRC:%.c=$(TEST_DIR)/%$(OBJ_EXT)) |
753
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
42 | |
766
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
43 | all: $(TEST_DIR) $(TEST_DIR)/ucxtest |
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
44 | |
767
d31f4d4075dc
migrate utils tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
766
diff
changeset
|
45 | $(TEST_DIR)/ucxtest: $(OBJ) $(build_dir)/libucx_static.a |
773
bbf2f18b3818
fix missing LDFLAGS when linking ucxtest
Mike Becker <universe@uap-core.de>
parents:
770
diff
changeset
|
46 | $(CC) -o $@ $(LDFLAGS) $+ |
766
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
47 | |
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
48 | $(build_dir)/libucx_static.a: |
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
49 | test -f "$@" |
753
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
50 | |
24dc84788dee
replace most of the build system with uwproj
Mike Becker <universe@uap-core.de>
parents:
diff
changeset
|
51 | $(TEST_DIR): |
766
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
52 | $(MKDIR) $@ |
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
53 | |
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
54 | FORCE: |
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
55 | |
782
74d777455e96
migrate allocator tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
781
diff
changeset
|
56 | $(TEST_DIR)/test_allocator$(OBJ_EXT): test_allocator.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
57 | ../src/cx/common.h ../src/cx/allocator.h |
782
74d777455e96
migrate allocator tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
781
diff
changeset
|
58 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
59 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
782
74d777455e96
migrate allocator tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
781
diff
changeset
|
60 | |
789
9b2f5661bebd
begin migration of buffer tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
787
diff
changeset
|
61 | $(TEST_DIR)/test_buffer$(OBJ_EXT): test_buffer.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
62 | ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
798
7644da6e2d35
migrate low level linked list tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
789
diff
changeset
|
63 | ../src/cx/buffer.h ../src/cx/allocator.h |
789
9b2f5661bebd
begin migration of buffer tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
787
diff
changeset
|
64 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
65 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
789
9b2f5661bebd
begin migration of buffer tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
787
diff
changeset
|
66 | |
787
d0f02310aa47
migrate compare tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
785
diff
changeset
|
67 | $(TEST_DIR)/test_compare$(OBJ_EXT): test_compare.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
68 | ../src/cx/common.h ../src/cx/compare.h |
787
d0f02310aa47
migrate compare tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
785
diff
changeset
|
69 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
70 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
787
d0f02310aa47
migrate compare tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
785
diff
changeset
|
71 | |
768
0e1cf2cd500e
migrate hash_key tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
767
diff
changeset
|
72 | $(TEST_DIR)/test_hash_key$(OBJ_EXT): test_hash_key.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
73 | ../src/cx/common.h ../src/cx/hash_key.h ../src/cx/string.h \ |
1050
3df63e95921a
make cx_strcast() also support cxstring
Mike Becker <universe@uap-core.de>
parents:
1031
diff
changeset
|
74 | ../src/cx/allocator.h ../src/cx/string.h |
768
0e1cf2cd500e
migrate hash_key tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
767
diff
changeset
|
75 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
76 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
768
0e1cf2cd500e
migrate hash_key tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
767
diff
changeset
|
77 | |
785
bb18daa62d5f
migrate map tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
782
diff
changeset
|
78 | $(TEST_DIR)/test_hash_map$(OBJ_EXT): test_hash_map.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
79 | ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
785
bb18daa62d5f
migrate map tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
782
diff
changeset
|
80 | ../src/cx/hash_map.h ../src/cx/map.h ../src/cx/collection.h \ |
854
fe0d69d72bcd
fix members inherited by macro or include are not documented
Mike Becker <universe@uap-core.de>
parents:
850
diff
changeset
|
81 | ../src/cx/allocator.h ../src/cx/iterator.h ../src/cx/compare.h \ |
fe0d69d72bcd
fix members inherited by macro or include are not documented
Mike Becker <universe@uap-core.de>
parents:
850
diff
changeset
|
82 | ../src/cx/string.h ../src/cx/hash_key.h |
766
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
83 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
84 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
766
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
85 | |
850
b2bc48c2b251
add iterator over raw C arrays - closes #389
Mike Becker <universe@uap-core.de>
parents:
846
diff
changeset
|
86 | $(TEST_DIR)/test_iterator$(OBJ_EXT): test_iterator.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
87 | ../src/cx/common.h ../src/cx/iterator.h |
850
b2bc48c2b251
add iterator over raw C arrays - closes #389
Mike Becker <universe@uap-core.de>
parents:
846
diff
changeset
|
88 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
89 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
850
b2bc48c2b251
add iterator over raw C arrays - closes #389
Mike Becker <universe@uap-core.de>
parents:
846
diff
changeset
|
90 | |
1000
1aecddf7e209
simplify how the json parser works
Mike Becker <universe@uap-core.de>
parents:
988
diff
changeset
|
91 | $(TEST_DIR)/test_json$(OBJ_EXT): test_json.c util_allocator.h \ |
1aecddf7e209
simplify how the json parser works
Mike Becker <universe@uap-core.de>
parents:
988
diff
changeset
|
92 | ../src/cx/allocator.h ../src/cx/common.h ../src/cx/test.h \ |
1aecddf7e209
simplify how the json parser works
Mike Becker <universe@uap-core.de>
parents:
988
diff
changeset
|
93 | ../src/cx/json.h ../src/cx/allocator.h ../src/cx/string.h \ |
1007
81b2986d2b04
fix that cxBufferSeek() cannot move pos past the end - fixes #523
Mike Becker <universe@uap-core.de>
parents:
1000
diff
changeset
|
94 | ../src/cx/buffer.h ../src/cx/array_list.h ../src/cx/list.h \ |
81b2986d2b04
fix that cxBufferSeek() cannot move pos past the end - fixes #523
Mike Becker <universe@uap-core.de>
parents:
1000
diff
changeset
|
95 | ../src/cx/collection.h ../src/cx/iterator.h ../src/cx/compare.h \ |
1063
e453e717876e
implement floating point string to number conversions
Mike Becker <universe@uap-core.de>
parents:
1050
diff
changeset
|
96 | ../src/cx/compare.h |
937
10123f4d5618
add first draft of json implementation - relates to #431
Mike Becker <universe@uap-core.de>
parents:
936
diff
changeset
|
97 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
98 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
937
10123f4d5618
add first draft of json implementation - relates to #431
Mike Becker <universe@uap-core.de>
parents:
936
diff
changeset
|
99 | |
1350
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
100 | $(TEST_DIR)/test_kv_list$(OBJ_EXT): test_kv_list.c ../src/cx/test.h \ |
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
101 | ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
102 | ../src/cx/kv_list.h ../src/cx/list.h ../src/cx/collection.h \ |
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
103 | ../src/cx/allocator.h ../src/cx/iterator.h ../src/cx/compare.h \ |
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
104 | ../src/cx/map.h ../src/cx/string.h ../src/cx/hash_key.h |
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
105 | @echo "Compiling $<" |
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
106 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
107 | |
798
7644da6e2d35
migrate low level linked list tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
789
diff
changeset
|
108 | $(TEST_DIR)/test_list$(OBJ_EXT): test_list.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
109 | ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
962
cd418898af5c
remove cx_for_n() macro - fixes #467
Mike Becker <universe@uap-core.de>
parents:
959
diff
changeset
|
110 | ../src/cx/compare.h ../src/cx/array_list.h ../src/cx/list.h \ |
cd418898af5c
remove cx_for_n() macro - fixes #467
Mike Becker <universe@uap-core.de>
parents:
959
diff
changeset
|
111 | ../src/cx/collection.h ../src/cx/allocator.h ../src/cx/iterator.h \ |
1350
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
112 | ../src/cx/compare.h ../src/cx/linked_list.h ../src/cx/kv_list.h \ |
189756516eaa
implement kv-list to a point where it correctly behaves like a list
Mike Becker <universe@uap-core.de>
parents:
1319
diff
changeset
|
113 | ../src/cx/map.h ../src/cx/string.h ../src/cx/hash_key.h |
798
7644da6e2d35
migrate low level linked list tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
789
diff
changeset
|
114 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
115 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
798
7644da6e2d35
migrate low level linked list tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
789
diff
changeset
|
116 | |
781
a786b0a89b37
migrate mempool tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
780
diff
changeset
|
117 | $(TEST_DIR)/test_mempool$(OBJ_EXT): test_mempool.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
118 | ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
781
a786b0a89b37
migrate mempool tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
780
diff
changeset
|
119 | ../src/cx/mempool.h ../src/cx/allocator.h |
a786b0a89b37
migrate mempool tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
780
diff
changeset
|
120 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
121 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
781
a786b0a89b37
migrate mempool tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
780
diff
changeset
|
122 | |
780
9965df621652
migrate printf tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
778
diff
changeset
|
123 | $(TEST_DIR)/test_printf$(OBJ_EXT): test_printf.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
124 | ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
780
9965df621652
migrate printf tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
778
diff
changeset
|
125 | ../src/cx/printf.h ../src/cx/string.h ../src/cx/allocator.h \ |
9965df621652
migrate printf tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
778
diff
changeset
|
126 | ../src/cx/buffer.h |
9965df621652
migrate printf tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
778
diff
changeset
|
127 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
128 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
780
9965df621652
migrate printf tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
778
diff
changeset
|
129 | |
924
3c90dfc35f06
add implementation for the properties parser
Mike Becker <universe@uap-core.de>
parents:
899
diff
changeset
|
130 | $(TEST_DIR)/test_properties$(OBJ_EXT): test_properties.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
131 | ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
936
9b9385fcdfd5
add missing dependencies for test_properties.o
Mike Becker <universe@uap-core.de>
parents:
924
diff
changeset
|
132 | ../src/cx/properties.h ../src/cx/string.h ../src/cx/allocator.h \ |
9b9385fcdfd5
add missing dependencies for test_properties.o
Mike Becker <universe@uap-core.de>
parents:
924
diff
changeset
|
133 | ../src/cx/map.h ../src/cx/collection.h ../src/cx/iterator.h \ |
1031
8a90552bba29
rework of properties parser - fixes #529 and resolves #458
Mike Becker <universe@uap-core.de>
parents:
1007
diff
changeset
|
134 | ../src/cx/compare.h ../src/cx/hash_key.h ../src/cx/buffer.h \ |
8a90552bba29
rework of properties parser - fixes #529 and resolves #458
Mike Becker <universe@uap-core.de>
parents:
1007
diff
changeset
|
135 | ../src/cx/hash_map.h |
924
3c90dfc35f06
add implementation for the properties parser
Mike Becker <universe@uap-core.de>
parents:
899
diff
changeset
|
136 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
137 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
924
3c90dfc35f06
add implementation for the properties parser
Mike Becker <universe@uap-core.de>
parents:
899
diff
changeset
|
138 | |
971
cc204fc56c9c
rename utils.h to streams.h
Mike Becker <universe@uap-core.de>
parents:
970
diff
changeset
|
139 | $(TEST_DIR)/test_streams$(OBJ_EXT): test_streams.c ../src/cx/test.h \ |
cc204fc56c9c
rename utils.h to streams.h
Mike Becker <universe@uap-core.de>
parents:
970
diff
changeset
|
140 | ../src/cx/common.h ../src/cx/streams.h ../src/cx/buffer.h \ |
cc204fc56c9c
rename utils.h to streams.h
Mike Becker <universe@uap-core.de>
parents:
970
diff
changeset
|
141 | ../src/cx/allocator.h |
cc204fc56c9c
rename utils.h to streams.h
Mike Becker <universe@uap-core.de>
parents:
970
diff
changeset
|
142 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
143 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
971
cc204fc56c9c
rename utils.h to streams.h
Mike Becker <universe@uap-core.de>
parents:
970
diff
changeset
|
144 | |
778
4a72bc4f09f4
fix missing dependencies for test_string.c
Mike Becker <universe@uap-core.de>
parents:
777
diff
changeset
|
145 | $(TEST_DIR)/test_string$(OBJ_EXT): test_string.c ../src/cx/test.h \ |
959
0e1bf3c199bf
add common.h include to test.h - fixes #464
Mike Becker <universe@uap-core.de>
parents:
937
diff
changeset
|
146 | ../src/cx/common.h util_allocator.h ../src/cx/allocator.h \ |
1063
e453e717876e
implement floating point string to number conversions
Mike Becker <universe@uap-core.de>
parents:
1050
diff
changeset
|
147 | ../src/cx/string.h ../src/cx/allocator.h ../src/cx/compare.h |
777
e5b29e6f0615
migrate string tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
773
diff
changeset
|
148 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
149 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
777
e5b29e6f0615
migrate string tests - relates to #342
Mike Becker <universe@uap-core.de>
parents:
773
diff
changeset
|
150 | |
970 | 151 | $(TEST_DIR)/test_szmul$(OBJ_EXT): test_szmul.c ../src/cx/test.h \ |
971
cc204fc56c9c
rename utils.h to streams.h
Mike Becker <universe@uap-core.de>
parents:
970
diff
changeset
|
152 | ../src/cx/common.h ../src/szmul.c ../src/cx/common.h |
970 | 153 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
154 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
970 | 155 | |
816
425234b05dff
add first basic low level tree functions
Mike Becker <universe@uap-core.de>
parents:
814
diff
changeset
|
156 | $(TEST_DIR)/test_tree$(OBJ_EXT): test_tree.c ../src/cx/tree.h \ |
899
303a981e6834
more prototypes for tree functions
Mike Becker <universe@uap-core.de>
parents:
854
diff
changeset
|
157 | ../src/cx/common.h ../src/cx/collection.h ../src/cx/allocator.h \ |
303a981e6834
more prototypes for tree functions
Mike Becker <universe@uap-core.de>
parents:
854
diff
changeset
|
158 | ../src/cx/iterator.h ../src/cx/compare.h ../src/cx/test.h \ |
846
71f4e0a13bb0
add missing header dependencies
Mike Becker <universe@uap-core.de>
parents:
833
diff
changeset
|
159 | util_allocator.h ../src/cx/allocator.h |
816
425234b05dff
add first basic low level tree functions
Mike Becker <universe@uap-core.de>
parents:
814
diff
changeset
|
160 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
161 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
816
425234b05dff
add first basic low level tree functions
Mike Becker <universe@uap-core.de>
parents:
814
diff
changeset
|
162 | |
1319
aa1f580f8f59
add convenience macros for using the default allocator - relates to #669
Mike Becker <universe@uap-core.de>
parents:
1063
diff
changeset
|
163 | $(TEST_DIR)/ucxtest$(OBJ_EXT): ucxtest.c util_allocator.h \ |
aa1f580f8f59
add convenience macros for using the default allocator - relates to #669
Mike Becker <universe@uap-core.de>
parents:
1063
diff
changeset
|
164 | ../src/cx/allocator.h ../src/cx/common.h ../src/cx/common.h \ |
aa1f580f8f59
add convenience macros for using the default allocator - relates to #669
Mike Becker <universe@uap-core.de>
parents:
1063
diff
changeset
|
165 | ../src/cx/test.h |
766
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
166 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
167 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
766
e59b76889f00
bring back UCX test - fixes #341
Mike Becker <universe@uap-core.de>
parents:
756
diff
changeset
|
168 | |
770
ed710122af44
migrates self-test for testing allocator - relates to #342
Mike Becker <universe@uap-core.de>
parents:
768
diff
changeset
|
169 | $(TEST_DIR)/util_allocator$(OBJ_EXT): util_allocator.c util_allocator.h \ |
ed710122af44
migrates self-test for testing allocator - relates to #342
Mike Becker <universe@uap-core.de>
parents:
768
diff
changeset
|
170 | ../src/cx/allocator.h ../src/cx/common.h ../src/cx/test.h |
ed710122af44
migrates self-test for testing allocator - relates to #342
Mike Becker <universe@uap-core.de>
parents:
768
diff
changeset
|
171 | @echo "Compiling $<" |
988
15b3ca7ee33f
make ucx C++ compatible again (and add tests for it) - fixes #486
Mike Becker <universe@uap-core.de>
parents:
971
diff
changeset
|
172 | $(CC) -o $@ $(CFLAGS) -I../src -c $< |
770
ed710122af44
migrates self-test for testing allocator - relates to #342
Mike Becker <universe@uap-core.de>
parents:
768
diff
changeset
|
173 |