Files
scst/usr/Makefile
Vladislav Bolkhovitin fa2f54ac9e Copyrights updated
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@6787 d57e44dd-8a1f-0410-8b47-8ef2f437770f
2016-01-22 04:04:43 +00:00

88 lines
2.3 KiB
Makefile

#
# Common makefile for SCSI target mid-level and its drivers
#
# Copyright (C) 2004 - 2016 Vladislav Bolkhovitin <vst@vlnb.net>
# Copyright (C) 2004 - 2005 Leonid Stoljar
# Copyright (C) 2007 - 2016 SanDisk Corporation
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation, version 2
# of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#
SHELL=/bin/bash
FILEIO_DIR=fileio
STPGD_DIR=stpgd
EVENTS_DIR=events
all:
cd $(FILEIO_DIR) && $(MAKE) $@
cd $(STPGD_DIR) && $(MAKE) $@
# cd $(EVENTS_DIR) && $(MAKE) $@
install:
cd $(FILEIO_DIR) && $(MAKE) $@
cd $(STPGD_DIR) && $(MAKE) $@
# cd $(EVENTS_DIR) && $(MAKE) $@
uninstall:
cd $(FILEIO_DIR) && $(MAKE) $@
cd $(STPGD_DIR) && $(MAKE) $@
cd $(EVENTS_DIR) && $(MAKE) $@
clean:
cd $(FILEIO_DIR) && $(MAKE) $@
cd $(STPGD_DIR) && $(MAKE) $@
cd $(EVENTS_DIR) && $(MAKE) $@
extraclean:
cd $(FILEIO_DIR) && $(MAKE) $@
cd $(STPGD_DIR) && $(MAKE) $@
cd $(EVENTS_DIR) && $(MAKE) $@
2release:
cd $(FILEIO_DIR) && $(MAKE) $@
cd $(STPGD_DIR) && $(MAKE) $@
cd $(EVENTS_DIR) && $(MAKE) $@
2debug:
cd $(FILEIO_DIR) && $(MAKE) $@
cd $(STPGD_DIR) && $(MAKE) $@
cd $(EVENTS_DIR) && $(MAKE) $@
2perf:
cd $(FILEIO_DIR) && $(MAKE) $@
cd $(STPGD_DIR) && $(MAKE) $@
cd $(EVENTS_DIR) && $(MAKE) $@
disable_proc:
cd $(FILEIO_DIR) && $(MAKE) $@
cd $(STPGD_DIR) && $(MAKE) $@
cd $(EVENTS_DIR) && $(MAKE) $@
enable_proc:
cd $(FILEIO_DIR) && $(MAKE) $@
cd $(STPGD_DIR) && $(MAKE) $@
cd $(EVENTS_DIR) && $(MAKE) $@
help:
@echo " all (the default) : make all"
@echo " clean : clean files"
@echo " extraclean : clean + clean dependencies"
@echo " install : install"
@echo " uninstall : uninstall"
@echo " Notes :"
@echo " - install and uninstall must be made as root."
@echo " - be sure to compile qla against the correct initiator"
@echo " driver. Read its README for details."
.PHONY: all install uninstall clean extraclean help 2release 2debug 2perf disable_proc enable_proc