]> git.saurik.com Git - apple/ld64.git/blob - ld64-134.9/unit-tests/test-cases/check-init-abs/Makefile
ld64-134.9.tar.gz
[apple/ld64.git] / ld64-134.9 / unit-tests / test-cases / check-init-abs / Makefile
1
2 TESTROOT = ../..
3 include ${TESTROOT}/include/common.makefile
4
5 SHELL = bash # use bash shell so we can redirect just stderr
6
7 #
8 # Verify machochecker catchs init routines to abolute addresses outside image
9 #
10
11 run: all
12
13 all:
14 ${CC} ${CCFLAGS} main.c init.s -o init.exe
15 ${FAIL_IF_SUCCESS} ${MACHOCHECK} init.exe 2>/dev/null
16 ${CC} ${CCFLAGS} main.c term.s -o term.exe
17 ${FAIL_IF_SUCCESS} ${MACHOCHECK} term.exe 2>/dev/null
18 ${PASS_IFF} /usr/bin/true
19
20 clean:
21 rm -f init.exe term.exe