#
# Makefile for the kernel software RAID and LVM drivers.
#

EXTRA_CFLAGS += -Wunused

O_TARGET	:= emddev.o

list-multi	:= emd.o

# Note: link order is important.  All raid personalities
# and xor.o must come before md.o, as they each initialise 
# themselves, and md.o may use the personalities when it 
# auto-initialised.

obj-$(CONFIG_BLK_DEV_EMD)	+= emd.o

obj-emd	= md_metadata_adaptec.o md_metadata_ddf.o
obj-emd	+= raid0.o raid1.o
obj-emd += md.o

include $(TOPDIR)/Rules.make

emd.o: $(obj-emd)
	$(LD) -r -o $@ $(obj-emd)
