1 CFLAGS=-O3 -fomit-frame-pointer -D__KERNEL__ -Wall -Wcast-qual $(EXTRA_CFLAGS)
7 ASM_X86:=$(ASM-i586)$(ASM-i686)
8 ifneq ($(strip $(ASM_X86)),)
9 AES_CORE_OBJ:= asm/aes-i586.o
12 LIBOBJ := aes_xcbc_mac.o aes_cbc.o $(AES_CORE_OBJ)
21 $(CC) $(CPPFLAGS) $(CFLAGS) $(INC) -c $< -o $@
24 $(CC) $(AFLAGS) -c $< -o $@
28 ar cr $(BLIB) $(LIBOBJ)
29 -if test -s /bin/ranlib; then /bin/ranlib $(BLIB); \
30 else if test -s /usr/bin/ranlib; then /usr/bin/ranlib $(BLIB); \
33 testx: test_main_mac.o $(BLIB)
36 test: test_main.o $(BLIB)
40 rm -f *.[oa] asm/*.o core $(TARGET) test testx