]> git.saurik.com Git - apple/dyld.git/blobdiff - unit-tests/test-cases/read-only-import-shared-cache-override/Makefile
dyld-132.13.tar.gz
[apple/dyld.git] / unit-tests / test-cases / read-only-import-shared-cache-override / Makefile
index c8b934604f8ccc16a4f925c39bce392afbc32cfa..e0e6bcb33054be3a28d2fadd31a96e3c51d69fef 100644 (file)
@@ -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: