]> git.saurik.com Git - apple/xnu.git/blob - bsd/crypto/aes/test/makeoptx86.sh
xnu-1699.22.81.tar.gz
[apple/xnu.git] / bsd / crypto / aes / test / makeoptx86.sh
1 #!/bin/ksh
2
3 cc -c -Os -arch i386 -arch x86_64 ../i386/AES.s -o AES.o
4 cc -c -Os -arch i386 -arch x86_64 ../i386/aes_crypt_hw.s -o aes_crypt_hw.o
5 cc -c -Os -arch i386 -arch x86_64 ../i386/aes_key_hw.s -o aes_key_hw.o
6 cc -c -Os -arch i386 -arch x86_64 ../i386/aes_modes_asm.s -o aes_modes_asm.o
7 cc -c -Os -arch i386 -arch x86_64 ../i386/aes_modes_hw.s -o aes_modes_hw.o
8
9 cc -Os -arch i386 -arch x86_64 tstaes.c AES.o aes_crypt_hw.o aes_key_hw.o aes_modes_asm.o aes_modes_hw.o -o tstaesoptx86
10 rm -fr AES.o aes_crypt_hw.o aes_key_hw.o aes_modes_asm.o aes_modes_hw.o