#
# Makefile for the Linux kernel device drivers.
#
# 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 (not a .c file).
#
# Note 2! The CFLAGS definitions are now in the main makefile.

list-multi	:= iscsi_trgt.o
iscsi_trgt-objs	:= target_cmnd.o target_device.o iscsi.o iscsi_proc.o workerthread.o \
			conn.o session.o target.o lun.o iotype.o daemon.o iscsi_syms.o

export-objs := iscsi_syms.o

obj-m += iscsi_trgt.o 
obj-m += file-io.o
obj-m += block-io.o

iscsi_trgt.o: $(iscsi_trgt-objs)
	$(LD) -r -o $@ $(iscsi_trgt-objs)

-include $(TOPDIR)/Rules.make
