4 include ${TESTROOT}/include/common.makefile
8 # <rdar://problem/6369189> flat_namespace and weak binding conflict
10 # Note that libfoo.dylib is built flat-namespace
20 main: main.c libfoo.dylib
21 ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c libfoo.dylib
23 libfoo.dylib: foo.c libbar.dylib
24 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libfoo.dylib foo.c libbar.dylib -flat_namespace
26 libbar.dylib: bar.c libbaz.dylib
27 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libbar.dylib bar.c libbaz.dylib
30 ${CC} ${CCFLAGS} -I${TESTROOT}/include -dynamiclib -o libbaz.dylib baz.c
33 ${RM} ${RMFLAGS} *~ main libfoo.dylib libbar.dylib libbaz.dylib