mirror of
https://github.com/SCST-project/scst.git
synced 2026-05-17 18:51:27 +00:00
git-svn-id: http://svn.code.sf.net/p/scst/svn/trunk@166 d57e44dd-8a1f-0410-8b47-8ef2f437770f
39 lines
1.2 KiB
Makefile
39 lines
1.2 KiB
Makefile
#
|
|
# Makefile for the kernel part of iSCSI-SCST.
|
|
#
|
|
# Copyright (C) 2007 Vladislav Bolkhovitin
|
|
# Copyright (C) 2007 CMS Distribution Limited
|
|
#
|
|
# 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.
|
|
#
|
|
# Note! Dependencies are done automagically by 'make dep', which also
|
|
# removes any old dependencies. DON'T put your own dependencies here
|
|
# unless it's something special (not a .c file).
|
|
#
|
|
# Note 2! The CFLAGS definitions are now in the main makefile.
|
|
|
|
#SCST_INC_DIR := /usr/local/include/scst
|
|
SCST_INC_DIR := $(SUBDIRS)/../../scst/include
|
|
|
|
EXTRA_CFLAGS += -I$(src)/../include -I$(SCST_INC_DIR)
|
|
# -Wextra -Wno-unused-parameter
|
|
|
|
EXTRA_CFLAGS += -DEXTRACHECKS
|
|
#EXTRA_CFLAGS += -DTRACING
|
|
EXTRA_CFLAGS += -DDEBUG -g
|
|
|
|
#EXTRA_CFLAGS += -DDEBUG_DIGEST_FAILURES
|
|
|
|
obj-m += iscsi-scst.o
|
|
iscsi-scst-objs := iscsi.o nthread.o config.o digest.o \
|
|
conn.o session.o target.o event.o param.o
|
|
|