]> git.saurik.com Git - apple/xnu.git/blob - bsd/crypto/aes/i386/Data.mk
xnu-1699.24.23.tar.gz
[apple/xnu.git] / bsd / crypto / aes / i386 / Data.mk
1 default:
2 @echo "This makefile builds Data.s, which contains constant data for the"
3 @echo "AES implementation. This file does not normally need to be rebuilt,"
4 @echo "so it is checked into the source code repository. It should be"
5 @echo "changed only when the implementation changes and needs data in a"
6 @echo "different format. (This file can also build a C version, Data.c,"
7 @echo "but that is not currently in use.)"
8 @echo ""
9 @echo "To rebuild the file(s), execute \"make -f Data.mk all\"."
10
11 .PHONY: all clean
12 Targets = Data.s
13 all: $(Targets)
14
15 CFLAGS += -O3 -std=c99 -Wmost -Werror
16
17 .INTERMEDIATE: MakeData
18 MakeData: MakeData.c
19
20 # Do not leave bad output files if the build fails.
21 .DELETE_ON_ERROR: $(Targets)
22
23 Data.c: MakeData
24 ./$< >$@ C
25
26 Data.s: MakeData
27 ./$< >$@ Intel
28
29 clean:
30 -rm $(Targets)