]>
Commit | Line | Data |
---|---|---|
a645023d A |
1 | |
2 | TESTROOT = ../.. | |
3 | include ${TESTROOT}/include/common.makefile | |
4 | ||
5 | ||
6 | # | |
7 | # Verify an Objective-C object file when run through ld -r is unaltered. | |
8 | # | |
9 | # | |
10 | ||
11 | run: all | |
12 | ||
13 | all: | |
14 | ${CC} ${CCFLAGS} test.m -dynamiclib -framework Foundation -o libtest.dylib | |
15 | ${CC} ${CCFLAGS} test.m -dynamiclib -framework Foundation -o libtest.dylib -Wl,-no_compact_linkedit -ldylib1.o | |
16 | ${PASS_IFF_GOOD_MACHO} libtest.dylib | |
17 | ||
18 | clean: | |
19 | rm -rf libtest.dylib |