X-Git-Url: https://git.saurik.com/apple/dyld.git/blobdiff_plain/bac542e65c0030c0d819c7ff1dcfc25892a61844..39a8cd101b922f08058746122efff58c14b57605:/unit-tests/test-cases/read-only-import-shared-cache-override/Makefile?ds=sidebyside diff --git a/unit-tests/test-cases/read-only-import-shared-cache-override/Makefile b/unit-tests/test-cases/read-only-import-shared-cache-override/Makefile index c8b9346..e0e6bcb 100644 --- a/unit-tests/test-cases/read-only-import-shared-cache-override/Makefile +++ b/unit-tests/test-cases/read-only-import-shared-cache-override/Makefile @@ -24,19 +24,20 @@ TESTROOT = ../.. include ${TESTROOT}/include/common.makefile -run: all +all-check: all check + +check: + cp /usr/lib/libSystem.B.dylib ./libSystem.B.dylib export DYLD_LIBRARY_PATH=`pwd` && ./main -all: main libSystem.B.dylib +all: main main: main.c libfoo.dylib - ${CC} ${CCFLAGS} -o main main.c + ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c libfoo.dylib : foo.c - ${CC} ${CCFLAGS} -dynamiclib -I${TESTROOT}/include -o libfoo.dylib foo.c -framework Cocoa + ${CC} ${CCFLAGS} -dynamiclib -I${TESTROOT}/include -o libfoo.dylib foo.c -framework CoreFoundation -libSystem.B.dylib: /usr/lib/libSystem.B.dylib - cp /usr/lib/libSystem.B.dylib ./libSystem.B.dylib clean: