]> git.saurik.com Git - apple/ld64.git/blame_incremental - unit-tests/test-cases/symbol-resolver-hidden/Makefile
ld64-123.2.tar.gz
[apple/ld64.git] / unit-tests / test-cases / symbol-resolver-hidden / Makefile
... / ...
CommitLineData
1
2TESTROOT = ../..
3include ${TESTROOT}/include/common.makefile
4
5#
6# Test a simple symbol resolver function
7#
8TARGET = all
9ifeq (${ARCH},ppc)
10 TARGET = all-ppc
11endif
12
13
14run: ${TARGET}
15
16all:
17 ${CC} ${CCFLAGS} foo.c -dynamiclib -o libfoo.dylib -Wl,-w
18 ${DYLDINFO} -lazy_bind libfoo.dylib | grep _a | ${FAIL_IF_STDIN}
19 ${PASS_IFF_GOOD_MACHO} libfoo.dylib
20
21all-ppc:
22 echo "PASS"
23
24clean:
25 rm -f libfoo.dylib