EXTRA_CFLAGS += -Idrivers/infiniband/include

obj-$(CONFIG_INFINIBAND_SPTS)		+= ib_spts.o
ib_spts-y				:= spts.o

obj-$(CONFIG_INFINIBAND_SPTS)		+= ib_cm_spts.o
ib_cm_spts-y				:= cm_spts.o

obj-$(CONFIG_INFINIBAND_SPTS)		+= ib_cm_spts_client.o
ib_cm_spts_client-y			:= client_start.o

obj-$(CONFIG_INFINIBAND_SPTS)		+= spts_fast.o
spts_fast-y				:= fast.o

all:
	make -C $(BUILDDIR) SUBDIRS=$(PWD) modules

clean:
	rm -rf .tmp_versions
	rm -f *.o *.ko .*.o.cmd .*.o.d .*.ko.cmd *.mod.c

mytest:
	/root/bin/make_and_copy_modules.pl 
	./restart_spts.pl
