]> git.saurik.com Git - apple/ld64.git/blame - ld64-134.9/unit-tests/test-cases/check-init-no-rebase/Makefile
ld64-134.9.tar.gz
[apple/ld64.git] / ld64-134.9 / unit-tests / test-cases / check-init-no-rebase / Makefile
CommitLineData
b1f7435d
A
1
2TESTROOT = ../..
3include ${TESTROOT}/include/common.makefile
4
5SHELL = bash # use bash shell so we can redirect just stderr
6
7#
8# Verify machochecker catchs init routines in slidable images that are missing rebasing info
9#
10
11run: all
12
13all:
14 ${CC} ${CCFLAGS} main.c init.s -Wl,-pie -o init.exe
15 ${FAIL_IF_SUCCESS} ${MACHOCHECK} init.exe 2>/dev/null
16 ${CC} ${CCFLAGS} main.c term.s -Wl,-pie -o term.exe
17 ${FAIL_IF_SUCCESS} ${MACHOCHECK} term.exe 2>/dev/null
18 ${PASS_IFF} /usr/bin/true
19
20clean:
21 rm -f init.exe term.exe