Overview
| Comment: | Move Unicode table generator to a subdirectory |
|---|---|
| Downloads: | Tarball | ZIP archive | SQL archive |
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
21053d6a02161601d25cfea597f32545 |
| User & Date: | js on 2020-12-25 21:03:52 |
| Other Links: | manifest | tags |
Context
|
2020-12-26
| ||
| 19:09 | Fix compiling in ObjC++ mode (check-in: 17d0bee29c user: js tags: trunk) | |
|
2020-12-25
| ||
| 21:03 | Move Unicode table generator to a subdirectory (check-in: 21053d6a02 user: js tags: trunk) | |
| 20:39 | Remove superfluous parenthesis (check-in: 06349e3d84 user: js tags: trunk) | |
Changes
Renamed and modified generators/Makefile [0e25880b06] to generators/unicode/Makefile [1d508bcb51].
|
| | | | | | | | | | | | | | | | | | | | | | | | | 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 |
include ../../extra.mk
PROG_NOINST = gen_tables${PROG_SUFFIX}
SRCS = TableGenerator.m
.PHONY: run
run: all
rm -f libobjfw.so.${OBJFW_LIB_MAJOR}
rm -f libobjfw.so.${OBJFW_LIB_MAJOR_MINOR}
rm -f objfw.dll libobjfw.${OBJFW_LIB_MAJOR}.dylib
rm -f libobjfwrt.so.${OBJFWRT_LIB_MAJOR}
rm -f libobjfwrt.so.${OBJFWRT_LIB_MAJOR_MINOR}
rm -f objfwrt.dll libobjfwrt.${OBJFWRT_LIB_MAJOR}.dylib
rm -f ${OBJFWRT_AMIGA_LIB}
if test -f ../../src/libobjfw.so; then \
${LN_S} ../../src/libobjfw.so libobjfw.so.${OBJFW_LIB_MAJOR}; \
${LN_S} ../../src/libobjfw.so \
libobjfw.so.${OBJFW_LIB_MAJOR_MINOR}; \
elif test -f ../../src/libobjfw.so.${OBJFW_LIB_MAJOR_MINOR}; then \
${LN_S} ../../src/libobjfw.so.${OBJFW_LIB_MAJOR_MINOR} \
libobjfw.so.${OBJFW_LIB_MAJOR_MINOR}; \
fi
if test -f ../../src/objfw.dll; then \
${LN_S} ../src/objfw.dll objfw.dll; \
fi
if test -f ../../src/libobjfw.dylib; then \
${LN_S} ../src/libobjfw.dylib \
libobjfw.${OBJFW_LIB_MAJOR}.dylib; \
fi
if test -f ../../src/runtime/libobjfwrt.so; then \
${LN_S} ../../src/runtime/libobjfwrt.so \
libobjfwrt.so.${OBJFWRT_LIB_MAJOR}; \
${LN_S} ../../src/runtime/libobjfwrt.so \
libobjfwrt.so.${OBJFWRT_LIB_MAJOR_MINOR}; \
elif test -f ../../src/runtime/libobjfwrt.so.${OBJFWRT_LIB_MAJOR_MINOR}; then \
${LN_S} ../../src/runtime/libobjfwrt.so.${OBJFWRT_LIB_MAJOR_MINOR} libobjfwrt.so.${OBJFWRT_LIB_MAJOR_MINOR}; \
fi
if test -f ../../src/runtime/objfwrt.dll; then \
${LN_S} ../../src/runtime/objfwrt.dll objfwrt.dll; \
fi
if test -f ../../src/runtime/libobjfwrt.dylib; then \
${LN_S} ../../src/runtime/libobjfwrt.dylib \
libobjfwrt.${OBJFWRT_LIB_MAJOR}.dylib; \
fi
if test -f ../../src/runtime/${OBJFWRT_AMIGA_LIB}; then \
${LN_S} ../../src/runtime/${OBJFWRT_AMIGA_LIB} \
${OBJFWRT_AMIGA_LIB}; \
fi
LD_LIBRARY_PATH=.$${LD_LIBRARY_PATH+:}$$LD_LIBRARY_PATH \
DYLD_FRAMEWORK_PATH=../../src:../../src/runtime$${DYLD_FRAMEWORK_PATH+:}$$DYLD_FRAMEWORK_PATH \
DYLD_LIBRARY_PATH=.$${DYLD_LIBRARY_PATH+:}$$DYLD_LIBRARY_PATH \
LIBRARY_PATH=.$${LIBRARY_PATH+:}$$LIBRARY_PATH \
ASAN_OPTIONS=allocator_may_return_null=1 \
${WRAPPER} ./${PROG_NOINST}; EXIT=$$?; \
rm -f libobjfw.so.${OBJFW_LIB_MAJOR}; \
rm -f objfw.so.${OBJFW_LIB_MAJOR_MINOR} objfw.dll; \
rm -f libobjfw.${OBJFW_LIB_MAJOR}.dylib; \
rm -f libobjfwrt.so.${OBJFWRT_LIB_MAJOR}; \
rm -f objfwrt.so.${OBJFWRT_LIB_MAJOR_MINOR} objfwrt.dll; \
rm -f libobjfwrt.${OBJFWRT_LIB_MAJOR}.dylib; \
exit $$EXIT
include ../../buildsys.mk
CPPFLAGS += -I../../src -I../../src/exceptions -I../../src/runtime -I../..
LIBS := -L../../src -lobjfw -L../../src/runtime ${RUNTIME_LIBS} ${LIBS}
LD = ${OBJC}
|
Name change from generators/TableGenerator.h to generators/unicode/TableGenerator.h.
| ︙ | ︙ |
Renamed and modified generators/TableGenerator.m [e134a30212] to generators/unicode/TableGenerator.m [dce8205ead].
| ︙ | ︙ | |||
272 273 274 275 276 277 278 |
- (void)writeFiles
{
OFURL *URL;
[of_stdout writeString: @"Writing files…"];
| | | | 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 |
- (void)writeFiles
{
OFURL *URL;
[of_stdout writeString: @"Writing files…"];
URL = [OFURL fileURLWithPath: @"../../src/unicode.m"];
[self writeTablesToFile: URL.fileSystemRepresentation];
URL = [OFURL fileURLWithPath: @"../../src/unicode.h"];
[self writeHeaderToFile: URL.fileSystemRepresentation];
[of_stdout writeLine: @" done"];
[OFApplication terminate];
}
|
| ︙ | ︙ |
Name change from generators/copyright.h to generators/unicode/copyright.h.
| ︙ | ︙ |