2 # Common makefile for SCSI target mid-level and its drivers
4 # Copyright (C) 2004 Vladislav Bolkhovitin <vst@vlnb.net>
7 # This program is free software; you can redistribute it and/or
8 # modify it under the terms of the GNU General Public License
9 # as published by the Free Software Foundation, version 2
12 # This program is distributed in the hope that it will be useful,
13 # but WITHOUT ANY WARRANTY; without even the implied warranty of
14 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 # GNU General Public License for more details.
19 # Decide to use which kernel src. If not specified, is current running kernel.
20 #export KDIR=/usr/src/linux-2.6
25 cd $(SCST_DIR) && $(MAKE) $@
28 cd $(SCST_DIR) && $(MAKE) $@
31 cd $(SCST_DIR) && $(MAKE) $@
34 cd $(SCST_DIR) && $(MAKE) $@
37 cd $(SCST_DIR) && $(MAKE) $@
40 @echo " all (the default) : make all"
41 @echo " clean : clean files"
42 @echo " extraclean : clean + clean dependencies"
43 @echo " install : install"
44 @echo " uninstall : uninstall"
46 @echo " - install and uninstall must be made as root."
47 @echo " - be sure to compile qla against the correct initiator"
48 @echo " driver. Read its README for details."
50 .PHONY: all install uninstall clean extraclean help