Differences From Artifact [f4bd961875]:
- File
generators/library/Makefile
— part of check-in
[eeba79d088]
at
2020-12-27 18:50:37
on branch trunk
— Add a generator for the linklib
This will eventually also generate the glue code and the function list
and make sfdc & cvinclude.pl entirely obsolete. It will also reduce the
maintenance burden because once everything is generated from
library.xml, there is a single file in which a function needs to be
added / changed instead of 5. (user: js, size: 2686) [annotate] [blame] [check-ins using]
To Artifact [1ffdf44043]:
- File generators/library/Makefile — part of check-in [a9e0972112] at 2020-12-29 13:53:00 on branch trunk — generators/library: Restructure the code a little (user: js, size: 2720) [annotate] [blame] [check-ins using]
1 2 3 |
include ../../extra.mk
PROG_NOINST = gen_libraries${PROG_SUFFIX}
| | > | | | 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 |
include ../../extra.mk
PROG_NOINST = gen_libraries${PROG_SUFFIX}
SRCS = LibraryGenerator.m \
LinkLibGenerator.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}; \
|
| ︙ | ︙ |