]> git.saurik.com Git - apple/dyld.git/blob - unit-tests/test-cases/dlopen-RTLD_LOCAL-weak/Makefile
dyld-551.4.tar.gz
[apple/dyld.git] / unit-tests / test-cases / dlopen-RTLD_LOCAL-weak / Makefile
1
2
3
4 TESTROOT = ../..
5 include ${TESTROOT}/include/common.makefile
6
7 #
8 # verifes that RTLD_LOCAL suppresses weak symbol coalescing
9 #
10
11
12
13 all-check: all check
14
15 check:
16 ./main
17
18 all: main libfoo.dylib libbar.dylib
19
20 main : main.c
21 ${CC} ${CCFLAGS} -I${TESTROOT}/include -o main main.c
22
23 libfoo.dylib : foo.c
24 ${CC} ${CCFLAGS} -dynamiclib foo.c -o libfoo.dylib
25
26 libbar.dylib : bar.c
27 ${CC} ${CCFLAGS} -dynamiclib bar.c -o libbar.dylib
28
29 clean:
30 ${RM} ${RMFLAGS} *~ main libfoo.dylib libbar.dylib
31