1
2
3
4
5
6
7
8
9
10
|
include ../extra.mk
SUBDIRS = ${TESTPLUGIN}
CLEAN = testfile_bin.m
PROG_NOINST = tests${PROG_SUFFIX}
SRCS = OFArrayTests.m \
OFCharacterSetTests.m \
OFColorTests.m \
|
|
|
1
2
3
4
5
6
7
8
9
10
|
include ../extra.mk
SUBDIRS = ${TESTPLUGIN} ${SUBPROCESS}
CLEAN = testfile_bin.m
PROG_NOINST = tests${PROG_SUFFIX}
SRCS = OFArrayTests.m \
OFCharacterSetTests.m \
OFColorTests.m \
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
OFMutableArrayTests.m \
OFNumberTests.m \
OFPBKDF2Tests.m \
OFPropertyListTests.m \
OFScryptTests.m \
${USE_SRCS_PLUGINS} \
${USE_SRCS_SOCKETS} \
testfile_bin.m
SRCS_PLUGINS = OFPluginTests.m
SRCS_SOCKETS = OFSocketTests.m
include ../buildsys.mk
testfile_bin.m: testfile.bin
${SHELL} ../utils/objfw-embed testfile.bin testfile.bin $@
.PHONY: run run-on-ios run-on-android
|
>
>
|
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
OFMutableArrayTests.m \
OFNumberTests.m \
OFPBKDF2Tests.m \
OFPropertyListTests.m \
OFScryptTests.m \
${USE_SRCS_PLUGINS} \
${USE_SRCS_SOCKETS} \
${USE_SRCS_SUBPROCESSES} \
testfile_bin.m
SRCS_PLUGINS = OFPluginTests.m
SRCS_SOCKETS = OFSocketTests.m
SRCS_SUBPROCESSES = OFSubprocessTests.m
include ../buildsys.mk
testfile_bin.m: testfile.bin
${SHELL} ../utils/objfw-embed testfile.bin testfile.bin $@
.PHONY: run run-on-ios run-on-android
|
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
|
elf2rpl $< $@
CPPFLAGS += -I../src \
-I../src/exceptions \
-I../src/runtime \
-I../src/test \
-I.. \
-DOBJFWTEST_LOCAL_INCLUDES
# Repetition is required for Wii U, as otherwise it cannot find main. Just
# moving -lobjfwtest later doesn't work either, as then the linker cannot find
# ObjFW symbols. So the only solution is to list everything twice.
LIBS := -L../src/test \
-lobjfwtest \
${TESTS_LIBS} \
${LIBS} \
-lobjfwtest \
${TESTS_LIBS} \
${LIBS}
LDFLAGS += ${MAP_LDFLAGS}
LD = ${OBJC}
|
|
>
|
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
|
elf2rpl $< $@
CPPFLAGS += -I../src \
-I../src/exceptions \
-I../src/runtime \
-I../src/test \
-I.. \
-DOBJFWTEST_LOCAL_INCLUDES \
-DPROG_SUFFIX=\"${PROG_SUFFIX}\"
# Repetition is required for Wii U, as otherwise it cannot find main. Just
# moving -lobjfwtest later doesn't work either, as then the linker cannot find
# ObjFW symbols. So the only solution is to list everything twice.
LIBS := -L../src/test \
-lobjfwtest \
${TESTS_LIBS} \
${LIBS} \
-lobjfwtest \
${TESTS_LIBS} \
${LIBS}
LDFLAGS += ${MAP_LDFLAGS}
LD = ${OBJC}
|