2 SOURCE[../../libcrypto]=\
3 cbc128.c ctr128.c cts128.c cfb128.c ofb128.c gcm128.c \
4 ccm128.c xts128.c wrap128.c ocb128.c \
5 {- $target{modes_asm_src} -}
8 {- $builddir -}/ghash-ia64.s: {- $sourcedir -}/asm/ghash-ia64.pl
9 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-ia64.pl $@ $(CFLAGS)
10 {- $builddir -}/ghash-x86.s: {- $sourcedir -}/asm/ghash-x86.pl
11 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-x86.pl $(PERLASM_SCHEME) $(CFLAGS) $(PROCESSOR) > $@
12 {- $builddir -}/ghash-x86_64.s: {- $sourcedir -}/asm/ghash-x86_64.pl
13 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-x86_64.pl $(PERLASM_SCHEME) > $@
14 {- $builddir -}/aesni-gcm-x86_64.s: {- $sourcedir -}/asm/aesni-gcm-x86_64.pl
15 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/aesni-gcm-x86_64.pl $(PERLASM_SCHEME) > $@
16 {- $builddir -}/ghash-sparcv9.S: {- $sourcedir -}/asm/ghash-sparcv9.pl
17 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-sparcv9.pl $(PERLASM_SCHEME) $@
18 {- $builddir -}/ghash-alpha.s: {- $sourcedir -}/asm/ghash-alpha.pl
19 (preproc=$$$$.$@.S; trap "rm $$preproc" INT; \
20 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-alpha.pl > $$preproc && \
21 $(CC) -E -P $$preproc > $@ && rm $$preproc)
22 {- $builddir -}/ghash-parisc.s: {- $sourcedir -}/asm/ghash-parisc.pl
23 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghash-parisc.pl $(PERLASM_SCHEME) $@
24 {- $builddir -}/ghashv8-armx.S: {- $sourcedir -}/asm/ghashv8-armx.pl
25 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghashv8-armx.pl $(PERLASM_SCHEME) $@
26 {- $builddir -}/ghashp8-ppc.s: {- $sourcedir -}/asm/ghashp8-ppc.pl
27 CC="$(CC)" $(PERL) {- $sourcedir -}/asm/ghashp8-ppc.pl $(PERLASM_SCHEME) $@
29 # GNU make "catch all"
30 {- $builddir -}/ghash-%.S: {- $sourcedir -}/asm/ghash-%.pl
31 CC="$(CC)" $(PERL) $< $(PERLASM_SCHEME) $@