summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile25
1 files changed, 13 insertions, 12 deletions
diff --git a/Makefile b/Makefile
index ca4fd14..d181ab1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,18 +1,19 @@
#
-# Makefile for the Linux Kernel iSCSI Initiator
+# Makefile for the Open-iSCSI Initiator
#
-EXTRA_CFLAGS += -I$(obj)
-
-obj-m = iscsi.o
-iscsi-y = iscsi_control.o iscsi_tcp.o
-
-#KSRC ?= /lib/modules/`uname -r`/build
-KSRC ?= /usr/src/linux-2.6.10-um
-KARCH ?= ARCH=um
-
all:
- make -C $(KSRC) SUBDIRS=`pwd` $(KARCH)
+ make -C usr
+ make -C kernel
+ @echo
+ @echo "Compilation complete Output file"
+ @echo "-------------------------------- ----------------"
+ @echo "Built iSCSI Linux kernel module: kernel/iscsi.ko"
+ @echo "Built iSCSI daemon: usr/iscsid"
+ @echo "Built mangement application: usr/iscsiadm"
+ @echo
+ @echo Read INSTALL file for detailed information.
clean:
- rm -f *.mod.c .*cmd *.o *.ko
+ make -C usr clean
+ make -C kernel clean