X-Git-Url: https://git.saurik.com/apple/ld64.git/blobdiff_plain/b1f7435d66a93f03b77932b3a9ad8a83ce5e1ebc..d425e3882ca60fabae080ddb890789ef2e73a66b:/ld64-134.9/unit-tests/test-cases/code-signed-object-file/Makefile diff --git a/ld64-134.9/unit-tests/test-cases/code-signed-object-file/Makefile b/ld64-134.9/unit-tests/test-cases/code-signed-object-file/Makefile deleted file mode 100644 index 4871de3..0000000 --- a/ld64-134.9/unit-tests/test-cases/code-signed-object-file/Makefile +++ /dev/null @@ -1,26 +0,0 @@ - -TESTROOT = ../.. -include ${TESTROOT}/include/common.makefile - -# -# Test that an object file can be code signed -# -# when linking a kext the static linker should leave a pad in the headers to allow code signing -# - -CODE_SIGN_ARCH = ${ARCH} -ifeq (${ARCH},ppc) - CODE_SIGN_ARCH = ppc7400 -endif - - -run: all - -all: - ${CC} foo.c -c -o foo.o - ${LD} -r foo.o -o foo2.o - codesign_allocate -i foo2.o -a ${CODE_SIGN_ARCH} 256 -o foo3.o - ${PASS_IFF} true - -clean: - rm foo.o foo2.o foo3.o