@@ -67,13 +67,13 @@ .PHONY: run run-on-ios run-on-android run: rm -f libobjfw.so.${OBJFW_LIB_MAJOR} rm -f libobjfw.so.${OBJFW_LIB_MAJOR_MINOR} rm -f libobjfw.dll libobjfw.${OBJFW_LIB_MAJOR}.dylib - rm -f libobjfw-rt.so.${OBJFW_RT_LIB_MAJOR} - rm -f libobjfw-rt.so.${OBJFW_RT_LIB_MAJOR_MINOR} - rm -f libobjfw-rt.dll libobjfw-rt.${OBJFW_RT_LIB_MAJOR}.dylib + rm -f libobjfw_rt.so.${OBJFW_RT_LIB_MAJOR} + rm -f libobjfw_rt.so.${OBJFW_RT_LIB_MAJOR_MINOR} + rm -f libobjfw_rt.dll libobjfw_rt.${OBJFW_RT_LIB_MAJOR}.dylib 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 \ @@ -85,36 +85,36 @@ fi if test -f ../src/libobjfw.dylib; then \ ${LN_S} ../src/libobjfw.dylib \ libobjfw.${OBJFW_LIB_MAJOR}.dylib; \ fi - if test -f ../src/runtime/libobjfw-rt.so; then \ - ${LN_S} ../src/runtime/libobjfw-rt.so \ - libobjfw-rt.so.${OBJFW_RT_LIB_MAJOR}; \ - ${LN_S} ../src/runtime/libobjfw-rt.so \ - libobjfw-rt.so.${OBJFW_RT_LIB_MAJOR_MINOR}; \ - elif test -f ../src/runtime/libobjfw-rt.so.${OBJFW_RT_LIB_MAJOR_MINOR}; then \ - ${LN_S} ../src/runtime/libobjfw-rt.so.${OBJFW_RT_LIB_MAJOR_MINOR} libobjfw-rt.so.${OBJFW_RT_LIB_MAJOR_MINOR}; \ - fi - if test -f ../src/runtime/libobjfw-rt.dll; then \ - ${LN_S} ../src/runtime/libobjfw-rt.dll libobjfw-rt.dll; \ - fi - if test -f ../src/runtime/libobjfw-rt.dylib; then \ - ${LN_S} ../src/runtime/libobjfw-rt.dylib \ - libobjfw-rt.${OBJFW_RT_LIB_MAJOR}.dylib; \ + if test -f ../src/runtime/libobjfw_rt.so; then \ + ${LN_S} ../src/runtime/libobjfw_rt.so \ + libobjfw_rt.so.${OBJFW_RT_LIB_MAJOR}; \ + ${LN_S} ../src/runtime/libobjfw_rt.so \ + libobjfw_rt.so.${OBJFW_RT_LIB_MAJOR_MINOR}; \ + elif test -f ../src/runtime/libobjfw_rt.so.${OBJFW_RT_LIB_MAJOR_MINOR}; then \ + ${LN_S} ../src/runtime/libobjfw_rt.so.${OBJFW_RT_LIB_MAJOR_MINOR} libobjfw_rt.so.${OBJFW_RT_LIB_MAJOR_MINOR}; \ + fi + if test -f ../src/runtime/libobjfw_rt.dll; then \ + ${LN_S} ../src/runtime/libobjfw_rt.dll libobjfw_rt.dll; \ + fi + if test -f ../src/runtime/libobjfw_rt.dylib; then \ + ${LN_S} ../src/runtime/libobjfw_rt.dylib \ + libobjfw_rt.${OBJFW_RT_LIB_MAJOR}.dylib; \ fi LD_LIBRARY_PATH=.$${LD_LIBRARY_PATH+:}$$LD_LIBRARY_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 libobjfw.so.${OBJFW_LIB_MAJOR_MINOR} libobjfw.dll; \ rm -f libobjfw.${OBJFW_LIB_MAJOR}.dylib; \ - rm -f libobjfw-rt.so.${OBJFW_RT_LIB_MAJOR}; \ - rm -f libobjfw-rt.so.${OBJFW_RT_LIB_MAJOR_MINOR} libobjfw-rt.dll; \ - rm -f libobjfw-rt.${OBJFW_RT_LIB_MAJOR}.dylib; \ + rm -f libobjfw_rt.so.${OBJFW_RT_LIB_MAJOR}; \ + rm -f libobjfw_rt.so.${OBJFW_RT_LIB_MAJOR_MINOR} libobjfw_rt.dll; \ + rm -f libobjfw_rt.${OBJFW_RT_LIB_MAJOR}.dylib; \ exit $$EXIT run-on-ios: all if [ -z "${IOS_HOST}" ]; then \ echo "Please set IOS_HOST to the hostname of your iOS host!"; \ @@ -138,13 +138,13 @@ echo "Uploading files to Android device..." if test -f ../src/libobjfw.so; then \ adb push ../src/libobjfw.so \ /data/local/tmp/objfw/libobjfw.so.${OBJFW_LIB_MAJOR}; \ fi - if test -f ../src/runtime/libobjfw-rt.so; then \ - adb push ../src/runtime/libobjfw-rt.so \ - /data/local/tmp/objfw/libobjfw-rt.so.${OBJFW_RT_LIB_MAJOR}; \ + if test -f ../src/runtime/libobjfw_rt.so; then \ + adb push ../src/runtime/libobjfw_rt.so \ + /data/local/tmp/objfw/libobjfw_rt.so.${OBJFW_RT_LIB_MAJOR}; \ fi adb push tests /data/local/tmp/objfw/tests adb push testfile.bin /data/local/tmp/objfw/testfile.bin adb push testfile.txt /data/local/tmp/objfw/testfile.txt adb push testfile.ini /data/local/tmp/objfw/testfile.ini