X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/0959b6d4289bd106fddb7fe7d84a346159895fdd..197008ea33f135c7c4f94a67a2f75a9df7b7771d:/unit-tests/test-cases/image-suffix/Makefile diff --git a/unit-tests/test-cases/image-suffix/Makefile b/unit-tests/test-cases/image-suffix/Makefile index 3c39e98..4317204 100644 --- a/unit-tests/test-cases/image-suffix/Makefile +++ b/unit-tests/test-cases/image-suffix/Makefile @@ -28,7 +28,7 @@ run : check1 check2 check3 check4 check5 check6 check7 check8 all : main1 main2 main3 main4 main5 main6 main7 main8 main : main.c libfoo.dylib - ${CC} -I${TESTROOT}/include main.c -o main libfoo.dylib + ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main libfoo.dylib libfoo.dylib : foo.c ${CC} -I${TESTROOT}/include foo.c -dynamiclib -o $$PWD/libfoo.dylib @@ -68,7 +68,7 @@ clean: # (fails on 10.3) # main1 : main.c libfoo.dylib - ${CC} -I${TESTROOT}/include main.c -o main1 libfoo.dylib + ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main1 libfoo.dylib check1: main1 DYLD_IMAGE_SUFFIX=_debug && export DYLD_IMAGE_SUFFIX && ./main1 libfoo.dylib @@ -79,7 +79,7 @@ check1: main1 # check2: main links with libfoo_debug.dylib and dynamically loads libfoo.dylib # main2 : main.c libfoo_debug.dylib - ${CC} -I${TESTROOT}/include main.c -o main2 libfoo_debug.dylib + ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main2 libfoo_debug.dylib check2: main2 echo "pwd-1 is ${PWD}" @@ -92,7 +92,7 @@ check2: main2 # check3: main links with libfoo.dylib sets DYLD_LIBRARY_PATH=hide and dynamically loads libfoo.dylib # main3 : main.c libfoo.dylib - ${CC} -I${TESTROOT}/include main.c -o main3 libfoo.dylib + ${CC} -Wno-deprecated-declarations -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main3 libfoo.dylib check3: main3 DYLD_LIBRARY_PATH=$$PWD/hide && export DYLD_LIBRARY_PATH && ./main3 $$PWD/libfoo.dylib @@ -103,7 +103,7 @@ check3: main3 # (fails on 10.3) # main4 : main.c libfoo.dylib - ${CC} -I${TESTROOT}/include main.c -o main4 libfoo.dylib + ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main4 libfoo.dylib check4: main4 DYLD_LIBRARY_PATH=$$PWD/hide && export DYLD_LIBRARY_PATH && DYLD_IMAGE_SUFFIX=_debug && export DYLD_IMAGE_SUFFIX && ./main4 $$PWD/libfoo.dylib @@ -114,7 +114,7 @@ check4: main4 # (fails on 10.3) # main5 : main.c libbar.dylib libbar_debug.dylib - ${CC} -I${TESTROOT}/include main.c -o main5 libbar.dylib + ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main5 libbar.dylib check5: main5 DYLD_IMAGE_SUFFIX=_debug && export DYLD_IMAGE_SUFFIX && ./main5 $$PWD/libbar.dylib @@ -125,7 +125,7 @@ check5: main5 # (fails on 10.3) # main6 : main.c libbar_debug.dylib - ${CC} -I${TESTROOT}/include main.c -o main6 libbar_debug.dylib + ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main6 libbar_debug.dylib check6: main6 DYLD_IMAGE_SUFFIX=_debug && export DYLD_IMAGE_SUFFIX && ./main6 $$PWD/libbar.dylib @@ -135,7 +135,7 @@ check6: main6 # check7: main links with libbar.dylib sets DYLD_LIBRARY_PATH=hide and dynamically loads libbar.dylib # main7 : main.c libbar.dylib - ${CC} -I${TESTROOT}/include main.c -o main7 libbar.dylib + ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main7 libbar.dylib check7: main7 DYLD_LIBRARY_PATH=$$PWD/hide && export DYLD_LIBRARY_PATH && ./main7 $$PWD/libbar.dylib @@ -146,7 +146,7 @@ check7: main7 # (fails on 10.3) # main8 : main.c libbar.dylib - ${CC} -I${TESTROOT}/include main.c -o main8 libbar.dylib + ${CC} -Wno-deprecated-declarations -I${TESTROOT}/include main.c -o main8 libbar.dylib check8: main8 DYLD_LIBRARY_PATH=$$PWD/hide && export DYLD_LIBRARY_PATH && DYLD_IMAGE_SUFFIX=_debug && export DYLD_IMAGE_SUFFIX && ./main8 $$PWD/libbar.dylib