mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-14 01:01:27 +00:00
Since RHEL 5 and kernel versions before 2.6.26 rely on procfs support, this patch removes support for RHEL 5.x and also for kernel versions before 2.6.26. git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@7829 d57e44dd-8a1f-0410-8b47-8ef2f437770f
78 lines
2.1 KiB
Makefile
78 lines
2.1 KiB
Makefile
#
|
|
# Common makefile for SCSI target mid-level and its drivers
|
|
#
|
|
# Copyright (C) 2015 - 2018 Vladislav Bolkhovitin <vst@vlnb.net>
|
|
# Copyright (C) 2004 - 2005 Leonid Stoljar
|
|
# Copyright (C) 2007 - 2018 Western Digital 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) $@
|
|
|
|
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
|