#
# Makefile for misc devices that really don't fit anywhere else.
#
# Note! Dependencies are done automagically by 'make dep', which also
# removes any old dependencies. DON'T put your own dependencies here
# unless it's something special (ie not a .c file).
#
# Note 2! The CFLAGS definitions are now inherited from the
# parent makes..
#

.S.o:
	$(CC) $(AFLAGS) -c $< -o $*.o

O_TARGET := misc.o

ifeq ($(CONFIG_BLK_DEV_LOOP_AES),y)
AES_PENTIUM_ASM=n
ifeq ($(CONFIG_X86),y)
ifneq ($(CONFIG_M386),y)
ifneq ($(CONFIG_M486),y)
  AES_PENTIUM_ASM=y
endif
endif
endif
ifeq ($(AES_PENTIUM_ASM),y)
  export-objs	+= aes-i586-ksym.o
  obj-y 	+= aes-i586.o aes-i586-ksym.o
else
  export-objs	+= aes.o
  obj-y 	+= aes.o
endif
endif

include $(TOPDIR)/Rules.make

fastdep:
